| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |