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 17 matching lines...) Expand all Loading... |
28 # | 28 # |
29 # For now we define these globally to match the current GYP build. | 29 # For now we define these globally to match the current GYP build. |
30 config("feature_flags") { | 30 config("feature_flags") { |
31 # TODO(brettw) most of these need to be parameterized. | 31 # TODO(brettw) most of these need to be parameterized. |
32 defines = [ | 32 defines = [ |
33 "CHROMIUM_BUILD", | 33 "CHROMIUM_BUILD", |
34 "ENABLE_ONE_CLICK_SIGNIN", | 34 "ENABLE_ONE_CLICK_SIGNIN", |
35 "ENABLE_NOTIFICATIONS", | 35 "ENABLE_NOTIFICATIONS", |
36 "ENABLE_EGLIMAGE=1", | 36 "ENABLE_EGLIMAGE=1", |
37 "ENABLE_BACKGROUND=1", | 37 "ENABLE_BACKGROUND=1", |
38 "USE_MOJO=1", | |
39 "V8_DEPRECATION_WARNINGS", # Don't use deprecated V8 APIs anywhere. | 38 "V8_DEPRECATION_WARNINGS", # Don't use deprecated V8 APIs anywhere. |
40 # Temporary suppression until Blink code can be removed. | 39 # Temporary suppression until Blink code can be removed. |
41 "BLINK_SCALE_FILTERS_AT_RECORD_TIME", | 40 "BLINK_SCALE_FILTERS_AT_RECORD_TIME", |
42 ] | 41 ] |
43 | 42 |
44 if (cld_version > 0) { | 43 if (cld_version > 0) { |
45 defines += [ "CLD_VERSION=$cld_version" ] | 44 defines += [ "CLD_VERSION=$cld_version" ] |
46 } | 45 } |
47 if (enable_mdns) { | 46 if (enable_mdns) { |
48 defines += [ "ENABLE_MDNS=1" ] | 47 defines += [ "ENABLE_MDNS=1" ] |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 "CoreText.framework", | 276 "CoreText.framework", |
278 "Foundation.framework", | 277 "Foundation.framework", |
279 "UIKit.framework", | 278 "UIKit.framework", |
280 ] | 279 ] |
281 } else if (is_linux) { | 280 } else if (is_linux) { |
282 libs = [ | 281 libs = [ |
283 "dl", | 282 "dl", |
284 ] | 283 ] |
285 } | 284 } |
286 } | 285 } |
OLD | NEW |