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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 += [ | 291 configs += [ |
292 "//build/config/ios:ios_dynamic_flags", | 292 "//build/config/ios:ios_dynamic_flags", |
293 "//build/config/ios:ios_executable_flags", | 293 "//build/config/ios:ios_executable_flags", |
294 ] | 294 ] |
295 } else if (is_linux || is_android) { | 295 } else if (is_linux || is_android || current_os == "aix") { |
296 configs += [ "//build/config/gcc:executable_ldconfig" ] | 296 configs += [ "//build/config/gcc:executable_ldconfig" ] |
297 if (is_android) { | 297 if (is_android) { |
298 configs += [ "//build/config/android:executable_config" ] | 298 configs += [ "//build/config/android:executable_config" ] |
299 } else if (is_chromecast) { | 299 } else if (is_chromecast) { |
300 configs += [ "//build/config/chromecast:executable_config" ] | 300 configs += [ "//build/config/chromecast:executable_config" ] |
301 } | 301 } |
302 } | 302 } |
303 | 303 |
304 # 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 |
305 # need to add ldflags to every binary to make sure they are picked up. | 305 # need to add ldflags to every binary to make sure they are picked up. |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 # variant for each language used in the target). | 360 # variant for each language used in the target). |
361 precompiled_source = "//build/precompile.cc" | 361 precompiled_source = "//build/precompile.cc" |
362 | 362 |
363 # Force include the header. | 363 # Force include the header. |
364 cflags = [ "/FI$precompiled_header" ] | 364 cflags = [ "/FI$precompiled_header" ] |
365 } else if (is_mac) { | 365 } else if (is_mac) { |
366 precompiled_source = "//build/precompile.h" | 366 precompiled_source = "//build/precompile.h" |
367 } | 367 } |
368 } | 368 } |
369 } | 369 } |
OLD | NEW |