| 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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 "//build/config/compiler:default_warnings", | 310 "//build/config/compiler:default_warnings", |
| 311 "//build/config/compiler:no_rtti", | 311 "//build/config/compiler:no_rtti", |
| 312 "//build/config/compiler:runtime_library", | 312 "//build/config/compiler:runtime_library", |
| 313 ] | 313 ] |
| 314 if (is_win) { | 314 if (is_win) { |
| 315 _native_compiler_configs += [ | 315 _native_compiler_configs += [ |
| 316 "//build/config/win:lean_and_mean", | 316 "//build/config/win:lean_and_mean", |
| 317 "//build/config/win:nominmax", | 317 "//build/config/win:nominmax", |
| 318 "//build/config/win:sdk", | 318 "//build/config/win:sdk", |
| 319 "//build/config/win:unicode", | 319 "//build/config/win:unicode", |
| 320 "//build/config/win:winver", |
| 320 ] | 321 ] |
| 321 } | 322 } |
| 322 if (is_posix) { | 323 if (is_posix) { |
| 323 _native_compiler_configs += [ | 324 _native_compiler_configs += [ |
| 324 "//build/config/gcc:no_exceptions", | 325 "//build/config/gcc:no_exceptions", |
| 325 "//build/config/gcc:symbol_visibility_hidden", | 326 "//build/config/gcc:symbol_visibility_hidden", |
| 326 ] | 327 ] |
| 327 } | 328 } |
| 328 | 329 |
| 329 if (is_linux) { | 330 if (is_linux) { |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 587 if (defined(invoker.ldflags)) { ldflags = invoker.ldflags } | 588 if (defined(invoker.ldflags)) { ldflags = invoker.ldflags } |
| 588 if (defined(invoker.lib_dirs)) { lib_dirs = invoker.lib_dirs } | 589 if (defined(invoker.lib_dirs)) { lib_dirs = invoker.lib_dirs } |
| 589 if (defined(invoker.libs)) { libs = invoker.libs } | 590 if (defined(invoker.libs)) { libs = invoker.libs } |
| 590 if (defined(invoker.output_extension)) { output_extension = invoker.output_e
xtension } | 591 if (defined(invoker.output_extension)) { output_extension = invoker.output_e
xtension } |
| 591 if (defined(invoker.output_name)) { output_name = invoker.output_name } | 592 if (defined(invoker.output_name)) { output_name = invoker.output_name } |
| 592 if (defined(invoker.public)) { public = invoker.public } | 593 if (defined(invoker.public)) { public = invoker.public } |
| 593 if (defined(invoker.sources)) { sources = invoker.sources } | 594 if (defined(invoker.sources)) { sources = invoker.sources } |
| 594 if (defined(invoker.visibility)) { visibility = invoker.visibility } | 595 if (defined(invoker.visibility)) { visibility = invoker.visibility } |
| 595 } | 596 } |
| 596 } | 597 } |
| OLD | NEW |