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 # BUILD FLAGS | 6 # BUILD FLAGS |
7 # ============================================================================= | 7 # ============================================================================= |
8 # | 8 # |
9 # This block lists input arguments to the build, along with their default | 9 # This block lists input arguments to the build, along with their default |
10 # values. GN requires listing them explicitly so it can validate input and have | 10 # values. GN requires listing them explicitly so it can validate input and have |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 "//build/config:default_libs", | 427 "//build/config:default_libs", |
428 ] | 428 ] |
429 if (is_win) { | 429 if (is_win) { |
430 _executable_configs += _windows_linker_configs | 430 _executable_configs += _windows_linker_configs |
431 } else if (is_mac) { | 431 } else if (is_mac) { |
432 _executable_configs += [ | 432 _executable_configs += [ |
433 "//build/config/mac:mac_dynamic_flags", | 433 "//build/config/mac:mac_dynamic_flags", |
434 "//build/config/mac:mac_executable_flags" ] | 434 "//build/config/mac:mac_executable_flags" ] |
435 } else if (is_linux || is_android) { | 435 } else if (is_linux || is_android) { |
436 _executable_configs += [ "//build/config/gcc:executable_ldconfig" ] | 436 _executable_configs += [ "//build/config/gcc:executable_ldconfig" ] |
| 437 if (is_android) { |
| 438 _executable_configs += [ "//build/config/android:executable_config" ] |
| 439 } |
437 } | 440 } |
438 set_defaults("executable") { | 441 set_defaults("executable") { |
439 configs = _executable_configs | 442 configs = _executable_configs |
440 } | 443 } |
441 | 444 |
442 # Static library defaults. | 445 # Static library defaults. |
443 set_defaults("static_library") { | 446 set_defaults("static_library") { |
444 configs = _native_compiler_configs | 447 configs = _native_compiler_configs |
445 } | 448 } |
446 | 449 |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 if (defined(invoker.output_extension)) { output_extension = invoker.output
_extension } | 716 if (defined(invoker.output_extension)) { output_extension = invoker.output
_extension } |
714 if (defined(invoker.output_name)) { output_name = invoker.output_name } | 717 if (defined(invoker.output_name)) { output_name = invoker.output_name } |
715 if (defined(invoker.public)) { public = invoker.public } | 718 if (defined(invoker.public)) { public = invoker.public } |
716 if (defined(invoker.public_configs)) { public_configs = invoker.public_con
figs } | 719 if (defined(invoker.public_configs)) { public_configs = invoker.public_con
figs } |
717 if (defined(invoker.public_deps)) { public_deps = invoker.public_deps } | 720 if (defined(invoker.public_deps)) { public_deps = invoker.public_deps } |
718 if (defined(invoker.sources)) { sources = invoker.sources } | 721 if (defined(invoker.sources)) { sources = invoker.sources } |
719 if (defined(invoker.visibility)) { visibility = invoker.visibility } | 722 if (defined(invoker.visibility)) { visibility = invoker.visibility } |
720 } | 723 } |
721 } | 724 } |
722 } | 725 } |
OLD | NEW |