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/chromecast_build.gni") | 7 import("//build/config/chromecast_build.gni") |
8 import("//build/config/crypto.gni") | 8 import("//build/config/crypto.gni") |
9 import("//build/config/dcheck_always_on.gni") | 9 import("//build/config/dcheck_always_on.gni") |
10 import("//build/config/features.gni") | 10 import("//build/config/features.gni") |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
214 "WTF_USE_DYNAMIC_ANNOTATIONS=1", | 214 "WTF_USE_DYNAMIC_ANNOTATIONS=1", |
215 ] | 215 ] |
216 } else { | 216 } else { |
217 defines += [ "NVALGRIND" ] | 217 defines += [ "NVALGRIND" ] |
218 if (!is_nacl) { | 218 if (!is_nacl) { |
219 # NaCl always enables dynamic annotations. Currently this value is set to | 219 # NaCl always enables dynamic annotations. Currently this value is set to |
220 # 1 for all .nexes. | 220 # 1 for all .nexes. |
221 defines += [ "DYNAMIC_ANNOTATIONS_ENABLED=0" ] | 221 defines += [ "DYNAMIC_ANNOTATIONS_ENABLED=0" ] |
222 } | 222 } |
223 } | 223 } |
224 | |
225 if (is_ios) { | |
226 defines += [ "NS_BLOCK_ASSERTIONS=1" ] | |
brettw
2017/01/17 20:51:50
Can you add a comment here about what this does an
bzanotti
2017/01/18 14:01:27
Done.
| |
227 } | |
224 } | 228 } |
225 | 229 |
226 # Default libraries ------------------------------------------------------------ | 230 # Default libraries ------------------------------------------------------------ |
227 | 231 |
228 # This config defines the default libraries applied to all targets. | 232 # This config defines the default libraries applied to all targets. |
229 config("default_libs") { | 233 config("default_libs") { |
230 if (is_win) { | 234 if (is_win) { |
231 # TODO(brettw) this list of defaults should probably be smaller, and | 235 # TODO(brettw) this list of defaults should probably be smaller, and |
232 # instead the targets that use the less common ones (e.g. wininet or | 236 # instead the targets that use the less common ones (e.g. wininet or |
233 # winspool) should include those explicitly. | 237 # winspool) should include those explicitly. |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
393 # | 397 # |
394 # TODO(sof): determine VS2015 status and retire the setting from all | 398 # TODO(sof): determine VS2015 status and retire the setting from all |
395 # precompiled configurations. | 399 # precompiled configurations. |
396 cflags_c = [ "/wd4206" ] | 400 cflags_c = [ "/wd4206" ] |
397 } else if (is_mac) { | 401 } else if (is_mac) { |
398 precompiled_header = "build/precompile.h" | 402 precompiled_header = "build/precompile.h" |
399 precompiled_source = "//build/precompile.h" | 403 precompiled_source = "//build/precompile.h" |
400 } | 404 } |
401 } | 405 } |
402 } | 406 } |
OLD | NEW |