| 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 |
| 11 declare_args() { | 11 declare_args() { |
| 12 # 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 |
| 13 # 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 |
| 14 # 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. |
| 15 disable_iterator_debugging = false | 15 disable_iterator_debugging = false |
| 16 | 16 |
| 17 # Set to true to not store any build metadata, e.g. ifdef out all __DATE__ | 17 # Set to true to not store any build metadata, e.g. ifdef out all __DATE__ |
| 18 # and __TIME__. Set to 0 to reenable the use of these macros in the code | 18 # and __TIME__. Set to 0 to reenable the use of these macros in the code |
| 19 # base. See http://crbug.com/314403. | 19 # base. See http://crbug.com/314403. |
| 20 # | 20 # |
| 21 # Continue to embed build meta data in Official builds, basically the | 21 # Continue to embed build meta data in Official builds, basically the |
| 22 # time it was built. | 22 # time it was built. |
| 23 # TODO(maruel): This decision should be revisited because having an | 23 # TODO(maruel): This decision should be revisited because having an |
| 24 # official deterministic build has high value too but MSVC toolset can't | 24 # official deterministic build has high value too but MSVC toolset can't |
| 25 # generate anything deterministic with WPO enabled AFAIK. | 25 # generate anything deterministic with WPO enabled AFAIK. |
| 26 dont_embed_build_metadata = is_official_build | 26 dont_embed_build_metadata = is_official_build |
| 27 | 27 |
| 28 # Set to true to enable dcheck in Release builds. | 28 # Set to true to enable dcheck in Release builds. |
| 29 dcheck_always_on = false | 29 dcheck_always_on = false |
| 30 |
| 31 # Set to true to compile with the OpenGL ES 2.0 conformance tests. |
| 32 internal_gles2_conform_tests = false |
| 30 } | 33 } |
| 31 | 34 |
| 32 # TODO(brettw) Most of these should be removed. Instead of global feature | 35 # TODO(brettw) Most of these should be removed. Instead of global feature |
| 33 # flags, we should have more modular flags that apply only to a target and its | 36 # flags, we should have more modular flags that apply only to a target and its |
| 34 # dependents. For example, depending on the "x11" meta-target should define | 37 # dependents. For example, depending on the "x11" meta-target should define |
| 35 # USE_X11 for all dependents so that everything that could use X11 gets the | 38 # USE_X11 for all dependents so that everything that could use X11 gets the |
| 36 # define, but anything that doesn't depend on X11 doesn't see it. | 39 # define, but anything that doesn't depend on X11 doesn't see it. |
| 37 # | 40 # |
| 38 # For now we define these globally to match the current GYP build. | 41 # For now we define these globally to match the current GYP build. |
| 39 config("feature_flags") { | 42 config("feature_flags") { |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 "CoreFoundation.framework", | 328 "CoreFoundation.framework", |
| 326 "CoreGraphics.framework", | 329 "CoreGraphics.framework", |
| 327 "CoreText.framework", | 330 "CoreText.framework", |
| 328 "Foundation.framework", | 331 "Foundation.framework", |
| 329 "UIKit.framework", | 332 "UIKit.framework", |
| 330 ] | 333 ] |
| 331 } else if (is_linux) { | 334 } else if (is_linux) { |
| 332 libs = [ "dl" ] | 335 libs = [ "dl" ] |
| 333 } | 336 } |
| 334 } | 337 } |
| OLD | NEW |