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

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: 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
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 9
10 declare_args() { 10 declare_args() {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 defines += [ "ENABLE_NOTIFICATIONS" ] 44 defines += [ "ENABLE_NOTIFICATIONS" ]
45 } 45 }
46 if (enable_pepper_cdms) { 46 if (enable_pepper_cdms) {
47 # TODO(brettw) should probably be "=1" 47 # TODO(brettw) should probably be "=1"
48 defines += [ "ENABLE_PEPPER_CDMS" ] 48 defines += [ "ENABLE_PEPPER_CDMS" ]
49 } 49 }
50 if (enable_browser_cdms) { 50 if (enable_browser_cdms) {
51 # TODO(brettw) should probably be "=1" 51 # TODO(brettw) should probably be "=1"
52 defines += [ "ENABLE_BROWSER_CDMS" ] 52 defines += [ "ENABLE_BROWSER_CDMS" ]
53 } 53 }
54 if (enable_widevine) {
55 defines += [ "ENABLE_WIDEVINE=1" ]
56 }
57 if (widevine_cdm_is_component) {
58 defines += [ "WIDEVINE_CDM_IS_COMPONENT=1" ]
59 }
54 if (enable_plugins) { 60 if (enable_plugins) {
55 defines += [ "ENABLE_PLUGINS=1" ] 61 defines += [ "ENABLE_PLUGINS=1" ]
56 } 62 }
57 if (enable_basic_printing || enable_print_preview) { 63 if (enable_basic_printing || enable_print_preview) {
58 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW. 64 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW.
59 defines += [ "ENABLE_PRINTING=1" ] 65 defines += [ "ENABLE_PRINTING=1" ]
60 if (enable_basic_printing) { 66 if (enable_basic_printing) {
61 # Enable basic printing support and UI. 67 # Enable basic printing support and UI.
62 defines += [ "ENABLE_BASIC_PRINTING=1" ] 68 defines += [ "ENABLE_BASIC_PRINTING=1" ]
63 } 69 }
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 "CoreFoundation.framework", 309 "CoreFoundation.framework",
304 "CoreGraphics.framework", 310 "CoreGraphics.framework",
305 "CoreText.framework", 311 "CoreText.framework",
306 "Foundation.framework", 312 "Foundation.framework",
307 "UIKit.framework", 313 "UIKit.framework",
308 ] 314 ]
309 } else if (is_linux) { 315 } else if (is_linux) {
310 libs = [ "dl" ] 316 libs = [ "dl" ]
311 } 317 }
312 } 318 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698