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 if (target_os == "") { | 5 if (target_os == "") { |
6 target_os = host_os | 6 target_os = host_os |
7 } | 7 } |
8 | 8 |
9 if (target_cpu == "") { | 9 if (target_cpu == "") { |
10 if (target_os == "android") { | 10 if (target_os == "android") { |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 # here as needed. | 354 # here as needed. |
355 | 355 |
356 # Holds all configs used for making native executables and libraries, to avoid | 356 # Holds all configs used for making native executables and libraries, to avoid |
357 # duplication in each target below. | 357 # duplication in each target below. |
358 _native_compiler_configs = [ | 358 _native_compiler_configs = [ |
359 "//build/config:feature_flags", | 359 "//build/config:feature_flags", |
360 "//build/config/compiler:compiler", | 360 "//build/config/compiler:compiler", |
361 "//build/config/compiler:compiler_arm_fpu", | 361 "//build/config/compiler:compiler_arm_fpu", |
362 "//build/config/compiler:chromium_code", | 362 "//build/config/compiler:chromium_code", |
363 "//build/config/compiler:default_include_dirs", | 363 "//build/config/compiler:default_include_dirs", |
364 "//build/config/compiler:default_warnings", | |
365 "//build/config/compiler:no_rtti", | 364 "//build/config/compiler:no_rtti", |
366 "//build/config/compiler:runtime_library", | 365 "//build/config/compiler:runtime_library", |
367 ] | 366 ] |
368 if (is_win) { | 367 if (is_win) { |
369 _native_compiler_configs += [ | 368 _native_compiler_configs += [ |
370 "//build/config/win:lean_and_mean", | 369 "//build/config/win:lean_and_mean", |
371 "//build/config/win:nominmax", | 370 "//build/config/win:nominmax", |
372 "//build/config/win:sdk", | 371 "//build/config/win:sdk", |
373 "//build/config/win:unicode", | 372 "//build/config/win:unicode", |
374 "//build/config/win:winver", | 373 "//build/config/win:winver", |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
769 } | 768 } |
770 if (defined(invoker.testonly)) { | 769 if (defined(invoker.testonly)) { |
771 testonly = invoker.testonly | 770 testonly = invoker.testonly |
772 } | 771 } |
773 if (defined(invoker.visibility)) { | 772 if (defined(invoker.visibility)) { |
774 visibility = invoker.visibility | 773 visibility = invoker.visibility |
775 } | 774 } |
776 } | 775 } |
777 } | 776 } |
778 } | 777 } |
OLD | NEW |