| 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/chrome_build.gni") | 6 import("//build/config/chrome_build.gni") |
| 7 import("//build/config/crypto.gni") | 7 import("//build/config/crypto.gni") |
| 8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
| 9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
| 10 import("//build/module_args/v8.gni") | 10 import("//build/module_args/v8.gni") |
| 11 | 11 |
| 12 declare_args() { | 12 declare_args() { |
| 13 # When set, turns off the (normally-on) iterator debugging and related stuff | 13 # When set, turns off the (normally-on) iterator debugging and related stuff |
| 14 # that is normally turned on for Debug builds. These are generally useful for | 14 # that is normally turned on for Debug builds. These are generally useful for |
| 15 # catching bugs but in some cases may cause conflicts or excessive slowness. | 15 # catching bugs but in some cases may cause conflicts or excessive slowness. |
| 16 disable_iterator_debugging = false | 16 disable_iterator_debugging = false |
| 17 | 17 |
| 18 # Set to true to not store any build metadata, e.g. ifdef out all __DATE__ | 18 # Set to true to not store any build metadata, e.g. ifdef out all __DATE__ |
| 19 # and __TIME__. Set to 0 to reenable the use of these macros in the code | 19 # and __TIME__. Set to 0 to reenable the use of these macros in the code |
| 20 # base. See http://crbug.com/314403. | 20 # base. See http://crbug.com/314403. |
| 21 # | 21 # |
| 22 # Continue to embed build meta data in Official builds, basically the | 22 # Continue to embed build meta data in Official builds, basically the |
| 23 # time it was built. | 23 # time it was built. |
| 24 # TODO(maruel): This decision should be revisited because having an | 24 # TODO(maruel): This decision should be revisited because having an |
| 25 # official deterministic build has high value too but MSVC toolset can't | 25 # official deterministic build has high value too but MSVC toolset can't |
| 26 # generate anything deterministic with WPO enabled AFAIK. | 26 # generate anything deterministic with WPO enabled AFAIK. |
| 27 dont_embed_build_metadata = is_official_build | 27 dont_embed_build_metadata = !is_official_build |
| 28 | 28 |
| 29 # Set to true to enable dcheck in Release builds. | 29 # Set to true to enable dcheck in Release builds. |
| 30 dcheck_always_on = false | 30 dcheck_always_on = false |
| 31 | 31 |
| 32 # Set to true to compile with the OpenGL ES 2.0 conformance tests. | 32 # Set to true to compile with the OpenGL ES 2.0 conformance tests. |
| 33 internal_gles2_conform_tests = false | 33 internal_gles2_conform_tests = false |
| 34 } | 34 } |
| 35 | 35 |
| 36 # TODO(brettw) Most of these should be removed. Instead of global feature | 36 # TODO(brettw) Most of these should be removed. Instead of global feature |
| 37 # flags, we should have more modular flags that apply only to a target and its | 37 # flags, we should have more modular flags that apply only to a target and its |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 "CoreFoundation.framework", | 339 "CoreFoundation.framework", |
| 340 "CoreGraphics.framework", | 340 "CoreGraphics.framework", |
| 341 "CoreText.framework", | 341 "CoreText.framework", |
| 342 "Foundation.framework", | 342 "Foundation.framework", |
| 343 "UIKit.framework", | 343 "UIKit.framework", |
| 344 ] | 344 ] |
| 345 } else if (is_linux) { | 345 } else if (is_linux) { |
| 346 libs = [ "dl" ] | 346 libs = [ "dl" ] |
| 347 } | 347 } |
| 348 } | 348 } |
| OLD | NEW |