| 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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 configs += _windows_linker_configs | 281 configs += _windows_linker_configs |
| 282 | 282 |
| 283 # Currently only turn on linker CFI for executables. | 283 # Currently only turn on linker CFI for executables. |
| 284 configs += [ "//build/config/win:cfi_linker" ] | 284 configs += [ "//build/config/win:cfi_linker" ] |
| 285 } else if (is_mac) { | 285 } else if (is_mac) { |
| 286 configs += [ | 286 configs += [ |
| 287 "//build/config/mac:mac_dynamic_flags", | 287 "//build/config/mac:mac_dynamic_flags", |
| 288 "//build/config/mac:mac_executable_flags", | 288 "//build/config/mac:mac_executable_flags", |
| 289 ] | 289 ] |
| 290 } else if (is_ios) { | 290 } else if (is_ios) { |
| 291 configs += [ "//build/config/ios:ios_dynamic_flags" ] | 291 configs += [ |
| 292 "//build/config/ios:ios_dynamic_flags", |
| 293 "//build/config/ios:ios_executable_flags", |
| 294 ] |
| 292 } else if (is_linux || is_android) { | 295 } else if (is_linux || is_android) { |
| 293 configs += [ "//build/config/gcc:executable_ldconfig" ] | 296 configs += [ "//build/config/gcc:executable_ldconfig" ] |
| 294 if (is_android) { | 297 if (is_android) { |
| 295 configs += [ "//build/config/android:executable_config" ] | 298 configs += [ "//build/config/android:executable_config" ] |
| 296 } else if (is_chromecast) { | 299 } else if (is_chromecast) { |
| 297 configs += [ "//build/config/chromecast:executable_config" ] | 300 configs += [ "//build/config/chromecast:executable_config" ] |
| 298 } | 301 } |
| 299 } | 302 } |
| 300 | 303 |
| 301 # If we're using the prebuilt instrumented libraries with the sanitizers, we | 304 # If we're using the prebuilt instrumented libraries with the sanitizers, we |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 # variant for each language used in the target). | 360 # variant for each language used in the target). |
| 358 precompiled_source = "//build/precompile.cc" | 361 precompiled_source = "//build/precompile.cc" |
| 359 | 362 |
| 360 # Force include the header. | 363 # Force include the header. |
| 361 cflags = [ "/FI$precompiled_header" ] | 364 cflags = [ "/FI$precompiled_header" ] |
| 362 } else if (is_mac) { | 365 } else if (is_mac) { |
| 363 precompiled_source = "//build/precompile.h" | 366 precompiled_source = "//build/precompile.h" |
| 364 } | 367 } |
| 365 } | 368 } |
| 366 } | 369 } |
| OLD | NEW |