Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: build/config/BUILDCONFIG.gn

Issue 684133002: [Android] Fix gn build for instrumentation tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698