| 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 | 10 |
| 10 declare_args() { | 11 declare_args() { |
| 11 # When set, turns off the (normally-on) iterator debugging and related stuff | 12 # When set, turns off the (normally-on) iterator debugging and related stuff |
| 12 # that is normally turned on for Debug builds. These are generally useful for | 13 # that is normally turned on for Debug builds. These are generally useful for |
| 13 # catching bugs but in some cases may cause conflicts or excessive slowness. | 14 # catching bugs but in some cases may cause conflicts or excessive slowness. |
| 14 disable_iterator_debugging = false | 15 disable_iterator_debugging = false |
| 15 | 16 |
| 16 # Set to true to not store any build metadata (this isn't working yet but | 17 # Set to true to not store any build metadata (this isn't working yet but |
| 17 # this flag will help us to get there). See http://crbug.com/314403. | 18 # this flag will help us to get there). See http://crbug.com/314403. |
| 18 # TODO(sebmarchand): Update this comment once this flag guarantee that | 19 # TODO(sebmarchand): Update this comment once this flag guarantee that |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 } | 201 } |
| 201 if (enable_hidpi) { | 202 if (enable_hidpi) { |
| 202 defines += [ "ENABLE_HIDPI=1" ] | 203 defines += [ "ENABLE_HIDPI=1" ] |
| 203 } | 204 } |
| 204 if (proprietary_codecs) { | 205 if (proprietary_codecs) { |
| 205 defines += [ "USE_PROPRIETARY_CODECS" ] | 206 defines += [ "USE_PROPRIETARY_CODECS" ] |
| 206 } | 207 } |
| 207 if (enable_hangout_services_extension) { | 208 if (enable_hangout_services_extension) { |
| 208 defines += [ "ENABLE_HANGOUT_SERVICES_EXTENSION=1" ] | 209 defines += [ "ENABLE_HANGOUT_SERVICES_EXTENSION=1" ] |
| 209 } | 210 } |
| 211 if (v8_use_external_startup_data) { |
| 212 defines += [ "V8_USE_EXTERNAL_STARTUP_DATA" ] |
| 213 } |
| 210 } | 214 } |
| 211 | 215 |
| 212 # Debug/release ---------------------------------------------------------------- | 216 # Debug/release ---------------------------------------------------------------- |
| 213 | 217 |
| 214 config("debug") { | 218 config("debug") { |
| 215 defines = [ | 219 defines = [ |
| 216 "_DEBUG", | 220 "_DEBUG", |
| 217 "DYNAMIC_ANNOTATIONS_ENABLED=1", | 221 "DYNAMIC_ANNOTATIONS_ENABLED=1", |
| 218 "WTF_USE_DYNAMIC_ANNOTATIONS=1", | 222 "WTF_USE_DYNAMIC_ANNOTATIONS=1", |
| 219 ] | 223 ] |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 "CoreFoundation.framework", | 307 "CoreFoundation.framework", |
| 304 "CoreGraphics.framework", | 308 "CoreGraphics.framework", |
| 305 "CoreText.framework", | 309 "CoreText.framework", |
| 306 "Foundation.framework", | 310 "Foundation.framework", |
| 307 "UIKit.framework", | 311 "UIKit.framework", |
| 308 ] | 312 ] |
| 309 } else if (is_linux) { | 313 } else if (is_linux) { |
| 310 libs = [ "dl" ] | 314 libs = [ "dl" ] |
| 311 } | 315 } |
| 312 } | 316 } |
| OLD | NEW |