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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 += [ "//build/config/ios:ios_dynamic_flags" ] |
292 } else if (is_linux || is_android) { | 292 } else if (is_linux || is_android || current_os == "aix") { |
293 configs += [ "//build/config/gcc:executable_ldconfig" ] | 293 configs += [ "//build/config/gcc:executable_ldconfig" ] |
294 if (is_android) { | 294 if (is_android) { |
295 configs += [ "//build/config/android:executable_config" ] | 295 configs += [ "//build/config/android:executable_config" ] |
296 } else if (is_chromecast) { | 296 } else if (is_chromecast) { |
297 configs += [ "//build/config/chromecast:executable_config" ] | 297 configs += [ "//build/config/chromecast:executable_config" ] |
298 } | 298 } |
299 } | 299 } |
300 | 300 |
301 # If we're using the prebuilt instrumented libraries with the sanitizers, we | 301 # If we're using the prebuilt instrumented libraries with the sanitizers, we |
302 # need to add ldflags to every binary to make sure they are picked up. | 302 # need to add ldflags to every binary to make sure they are picked up. |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 # then delete the precompile.c.obj file, then build again. | 371 # then delete the precompile.c.obj file, then build again. |
372 # | 372 # |
373 # TODO(sof): determine VS2015 status and retire the setting from all | 373 # TODO(sof): determine VS2015 status and retire the setting from all |
374 # precompiled configurations. | 374 # precompiled configurations. |
375 cflags_c = [ "/wd4206" ] | 375 cflags_c = [ "/wd4206" ] |
376 } else if (is_mac) { | 376 } else if (is_mac) { |
377 precompiled_source = "//build/precompile.h" | 377 precompiled_source = "//build/precompile.h" |
378 } | 378 } |
379 } | 379 } |
380 } | 380 } |
OLD | NEW |