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

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

Issue 693943003: Update from https://crrev.com/302630 (Closed) Base URL: git@github.com:domokit/mojo.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
« no previous file with comments | « build/common.gypi ('k') | build/config/android/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 14 matching lines...) Expand all
25 # -1 means auto-set (off in release, regular in debug). 25 # -1 means auto-set (off in release, regular in debug).
26 symbol_level = -1 26 symbol_level = -1
27 27
28 # Component build. 28 # Component build.
29 is_component_build = false 29 is_component_build = false
30 # Debug build. 30 # Debug build.
31 is_debug = true 31 is_debug = true
32 32
33 # Set to true when compiling with the Clang compiler. Typically this is used 33 # Set to true when compiling with the Clang compiler. Typically this is used
34 # to configure warnings. 34 # to configure warnings.
35 is_clang = (os == "mac" || os == "ios" || os == "linux") 35 is_clang = (os == "mac" || os == "ios" || os == "linux" || os == "chromeos")
36 36
37 # Forces a 64-bit build on Windows. Does nothing on other platforms. Normally 37 # Forces a 64-bit build on Windows. Does nothing on other platforms. Normally
38 # we build 32-bit on Windows regardless of the current host OS bit depth. 38 # we build 32-bit on Windows regardless of the current host OS bit depth.
39 # Setting this flag will override this logic and generate 64-bit toolchains. 39 # Setting this flag will override this logic and generate 64-bit toolchains.
40 # 40 #
41 # Normally this would get set automatically when you specify a target using 41 # Normally this would get set automatically when you specify a target using
42 # the 64-bit toolchain. You can also set this on the command line to convert 42 # the 64-bit toolchain. You can also set this on the command line to convert
43 # the default toolchain to 64-bit. 43 # the default toolchain to 64-bit.
44 force_win64 = false 44 force_win64 = false
45 45
(...skipping 381 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
« no previous file with comments | « build/common.gypi ('k') | build/config/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698