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 | 9 |
10 declare_args() { | 10 declare_args() { |
(...skipping 29 matching lines...) Expand all Loading... |
40 if (cld_version > 0) { | 40 if (cld_version > 0) { |
41 defines += [ "CLD_VERSION=$cld_version" ] | 41 defines += [ "CLD_VERSION=$cld_version" ] |
42 } | 42 } |
43 if (enable_mdns) { | 43 if (enable_mdns) { |
44 defines += [ "ENABLE_MDNS=1" ] | 44 defines += [ "ENABLE_MDNS=1" ] |
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) { |
| 51 # TODO(brettw) should probably be "=1" |
| 52 defines += [ "ENABLE_BROWSER_CDMS" ] |
| 53 } |
50 if (enable_plugins) { | 54 if (enable_plugins) { |
51 defines += [ "ENABLE_PLUGINS=1" ] | 55 defines += [ "ENABLE_PLUGINS=1" ] |
52 } | 56 } |
53 if (printing_mode > 0) { | 57 if (printing_mode > 0) { |
54 defines += [ "ENABLE_PRINTING=1" ] | 58 defines += [ "ENABLE_PRINTING=1" ] |
55 if (printing_mode < 2) { | 59 if (printing_mode < 2) { |
56 defines += [ "ENABLE_FULL_PRINTING=1" ] | 60 defines += [ "ENABLE_FULL_PRINTING=1" ] |
57 } | 61 } |
58 } | 62 } |
59 if (enable_spellcheck) { | 63 if (enable_spellcheck) { |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 "CoreText.framework", | 286 "CoreText.framework", |
283 "Foundation.framework", | 287 "Foundation.framework", |
284 "UIKit.framework", | 288 "UIKit.framework", |
285 ] | 289 ] |
286 } else if (is_linux) { | 290 } else if (is_linux) { |
287 libs = [ | 291 libs = [ |
288 "dl", | 292 "dl", |
289 ] | 293 ] |
290 } | 294 } |
291 } | 295 } |
OLD | NEW |