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

Side by Side Diff: build/config/BUILD.gn

Issue 772043004: Replace WIDEVINE_CDM_AVAILABLE with a gyp define 'enable_widevine_cdm'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix #endif Created 6 years 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 | « build/common.gypi ('k') | build/config/features.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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/allocator.gni") 5 import("//build/config/allocator.gni")
6 import("//build/config/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//build/module_args/v8.gni") 9 import("//build/module_args/v8.gni")
10 10
(...skipping 26 matching lines...) Expand all
37 37
38 if (cld_version > 0) { 38 if (cld_version > 0) {
39 defines += [ "CLD_VERSION=$cld_version" ] 39 defines += [ "CLD_VERSION=$cld_version" ]
40 } 40 }
41 if (enable_mdns) { 41 if (enable_mdns) {
42 defines += [ "ENABLE_MDNS=1" ] 42 defines += [ "ENABLE_MDNS=1" ]
43 } 43 }
44 if (enable_notifications) { 44 if (enable_notifications) {
45 defines += [ "ENABLE_NOTIFICATIONS" ] 45 defines += [ "ENABLE_NOTIFICATIONS" ]
46 } 46 }
47 if (enable_widevine_cdm) {
48 defines += [ "ENABLE_WIDEVINE_CDM=1" ]
49 }
50 if (widevine_cdm_is_component) {
51 defines += [ "WIDEVINE_CDM_IS_COMPONENT=1" ]
52 }
47 if (enable_pepper_cdms) { 53 if (enable_pepper_cdms) {
48 # TODO(brettw) should probably be "=1" 54 # TODO(brettw) should probably be "=1"
49 defines += [ "ENABLE_PEPPER_CDMS" ] 55 defines += [ "ENABLE_PEPPER_CDMS" ]
50 } 56 }
51 if (enable_browser_cdms) { 57 if (enable_browser_cdms) {
52 # TODO(brettw) should probably be "=1" 58 # TODO(brettw) should probably be "=1"
53 defines += [ "ENABLE_BROWSER_CDMS" ] 59 defines += [ "ENABLE_BROWSER_CDMS" ]
54 } 60 }
55 if (enable_plugins) { 61 if (enable_plugins) {
56 defines += [ "ENABLE_PLUGINS=1" ] 62 defines += [ "ENABLE_PLUGINS=1" ]
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 "CoreFoundation.framework", 313 "CoreFoundation.framework",
308 "CoreGraphics.framework", 314 "CoreGraphics.framework",
309 "CoreText.framework", 315 "CoreText.framework",
310 "Foundation.framework", 316 "Foundation.framework",
311 "UIKit.framework", 317 "UIKit.framework",
312 ] 318 ]
313 } else if (is_linux) { 319 } else if (is_linux) {
314 libs = [ "dl" ] 320 libs = [ "dl" ]
315 } 321 }
316 } 322 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | build/config/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698