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 # ============================================================================= | 5 # ============================================================================= |
6 # PLATFORM SELECTION | 6 # PLATFORM SELECTION |
7 # ============================================================================= | 7 # ============================================================================= |
8 # | 8 # |
9 # There are two main things to set: "os" and "cpu". The "toolchain" is the name | 9 # There are two main things to set: "os" and "cpu". The "toolchain" is the name |
10 # of the GN thing that encodes combinations of these things. | 10 # of the GN thing that encodes combinations of these things. |
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 "//build/config/gcc:no_exceptions", | 414 "//build/config/gcc:no_exceptions", |
415 "//build/config/gcc:symbol_visibility_hidden", | 415 "//build/config/gcc:symbol_visibility_hidden", |
416 ] | 416 ] |
417 } | 417 } |
418 | 418 |
419 if (is_linux) { | 419 if (is_linux) { |
420 _native_compiler_configs += [ "//build/config/linux:sdk" ] | 420 _native_compiler_configs += [ "//build/config/linux:sdk" ] |
421 } else if (is_mac) { | 421 } else if (is_mac) { |
422 _native_compiler_configs += [ "//build/config/mac:sdk" ] | 422 _native_compiler_configs += [ "//build/config/mac:sdk" ] |
423 } else if (is_ios) { | 423 } else if (is_ios) { |
| 424 _native_compiler_configs += [ "//build/config/ios:sdk" ] |
424 } else if (is_android) { | 425 } else if (is_android) { |
425 _native_compiler_configs += [ "//build/config/android:sdk" ] | 426 _native_compiler_configs += [ "//build/config/android:sdk" ] |
426 } | 427 } |
427 | 428 |
428 if (is_clang && !is_nacl) { | 429 if (is_clang && !is_nacl) { |
429 _native_compiler_configs += [ | 430 _native_compiler_configs += [ |
430 "//build/config/clang:find_bad_constructs", | 431 "//build/config/clang:find_bad_constructs", |
431 "//build/config/clang:extra_warnings", | 432 "//build/config/clang:extra_warnings", |
432 ] | 433 ] |
433 } | 434 } |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 forward_variables_from(invoker, "*") | 600 forward_variables_from(invoker, "*") |
600 | 601 |
601 # All shared libraries must have the sanitizer deps to properly link in | 602 # All shared libraries must have the sanitizer deps to properly link in |
602 # asan mode (this target will be empty in other cases). | 603 # asan mode (this target will be empty in other cases). |
603 if (!defined(deps)) { | 604 if (!defined(deps)) { |
604 deps = [] | 605 deps = [] |
605 } | 606 } |
606 deps += [ "//build/config/sanitizers:deps" ] | 607 deps += [ "//build/config/sanitizers:deps" ] |
607 } | 608 } |
608 } | 609 } |
OLD | NEW |