Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Side by Side Diff: third_party/widevine/cdm/BUILD.gn

Issue 1290663005: Rename is_chromeos in widevine/cdm. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//chrome/version.gni") # TODO layering violation 7 import("//chrome/version.gni") # TODO layering violation
8 import("//media/cdm/ppapi/cdm_adapter.gni") 8 import("//media/cdm/ppapi/cdm_adapter.gni")
9 import("//third_party/widevine/cdm/widevine.gni") 9 import("//third_party/widevine/cdm/widevine.gni")
10 10
11 widevine_arch = current_cpu 11 widevine_arch = current_cpu
12 if (widevine_arch == "x86") { 12 if (widevine_arch == "x86") {
13 widevine_arch = "ia32" 13 widevine_arch = "ia32"
14 } 14 }
15 15
16 if (is_android) { 16 if (is_android) {
17 # Always available on Android regardless of branding. 17 # Always available on Android regardless of branding.
18 widevine_cdm_version_h_file = "android/widevine_cdm_version.h" 18 widevine_cdm_version_h_file = "android/widevine_cdm_version.h"
19 widevine_cdm_binary_files = [] 19 widevine_cdm_binary_files = []
20 } else if (is_chrome_branded) { 20 } else if (is_chrome_branded) {
21 if (is_chromeos) { 21 if (is_chromeos_ui) {
22 widevine_cdm_version_h_file = 22 widevine_cdm_version_h_file =
23 "chromeos/$widevine_arch/widevine_cdm_version.h" 23 "chromeos/$widevine_arch/widevine_cdm_version.h"
24 widevine_cdm_binary_files = [ "chromeos/$widevine_arch/libwidevinecdm.so" ] 24 widevine_cdm_binary_files = [ "chromeos/$widevine_arch/libwidevinecdm.so" ]
25 } else if (is_linux) { 25 } else if (is_linux) {
26 widevine_cdm_version_h_file = "linux/$widevine_arch/widevine_cdm_version.h" 26 widevine_cdm_version_h_file = "linux/$widevine_arch/widevine_cdm_version.h"
27 widevine_cdm_binary_files = [ "linux/$widevine_arch/libwidevinecdm.so" ] 27 widevine_cdm_binary_files = [ "linux/$widevine_arch/libwidevinecdm.so" ]
28 } else if (is_win) { 28 } else if (is_win) {
29 widevine_cdm_version_h_file = "win/$widevine_arch/widevine_cdm_version.h" 29 widevine_cdm_version_h_file = "win/$widevine_arch/widevine_cdm_version.h"
30 widevine_cdm_binary_files = [ 30 widevine_cdm_binary_files = [
31 "win/$widevine_arch/widevinecdm.dll", 31 "win/$widevine_arch/widevinecdm.dll",
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 # on the license server. 150 # on the license server.
151 source_set("widevine_test_license_server") { 151 source_set("widevine_test_license_server") {
152 if (is_chrome_branded && is_linux) { 152 if (is_chrome_branded && is_linux) {
153 deps = [ 153 deps = [
154 # TODO(jrummell) 154 # TODO(jrummell)
155 # This target should be removed and targets should have datadeps on this t arget: 155 # This target should be removed and targets should have datadeps on this t arget:
156 #"//third_party/widevine/test/license_server/license_server.gyp:test_licen se_server" 156 #"//third_party/widevine/test/license_server/license_server.gyp:test_licen se_server"
157 ] 157 ]
158 } 158 }
159 } 159 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698