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_NOTIFICATIONS", | 34 "ENABLE_NOTIFICATIONS", |
35 "ENABLE_EGLIMAGE=1", | 35 "ENABLE_EGLIMAGE=1", |
36 "ENABLE_BACKGROUND=1", | 36 "ENABLE_BACKGROUND=1", |
37 "V8_DEPRECATION_WARNINGS", # Don't use deprecated V8 APIs anywhere. | 37 "V8_DEPRECATION_WARNINGS", # Don't use deprecated V8 APIs anywhere. |
38 # Temporary suppression until Blink code can be removed. | |
39 "BLINK_SCALE_FILTERS_AT_RECORD_TIME", | |
40 ] | 38 ] |
41 | 39 |
42 if (cld_version > 0) { | 40 if (cld_version > 0) { |
43 defines += [ "CLD_VERSION=$cld_version" ] | 41 defines += [ "CLD_VERSION=$cld_version" ] |
44 } | 42 } |
45 if (enable_mdns) { | 43 if (enable_mdns) { |
46 defines += [ "ENABLE_MDNS=1" ] | 44 defines += [ "ENABLE_MDNS=1" ] |
47 } | 45 } |
48 if (enable_pepper_cdms) { | 46 if (enable_pepper_cdms) { |
49 # TODO(brettw) should probably be "=1" | 47 # TODO(brettw) should probably be "=1" |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 "CoreText.framework", | 276 "CoreText.framework", |
279 "Foundation.framework", | 277 "Foundation.framework", |
280 "UIKit.framework", | 278 "UIKit.framework", |
281 ] | 279 ] |
282 } else if (is_linux) { | 280 } else if (is_linux) { |
283 libs = [ | 281 libs = [ |
284 "dl", | 282 "dl", |
285 ] | 283 ] |
286 } | 284 } |
287 } | 285 } |
OLD | NEW |