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

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

Issue 235863024: Make NSS work in GN build on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 6 years, 8 months 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | build/config/compiler/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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 native_compiler_configs = [ 340 native_compiler_configs = [
341 "//build/config:feature_flags", 341 "//build/config:feature_flags",
342 342
343 "//build/config/compiler:compiler", 343 "//build/config/compiler:compiler",
344 "//build/config/compiler:chromium_code", 344 "//build/config/compiler:chromium_code",
345 "//build/config/compiler:default_warnings", 345 "//build/config/compiler:default_warnings",
346 "//build/config/compiler:no_rtti", 346 "//build/config/compiler:no_rtti",
347 "//build/config/compiler:runtime_library", 347 "//build/config/compiler:runtime_library",
348 ] 348 ]
349 if (is_win) { 349 if (is_win) {
350 native_compiler_configs += [ "//build/config/win:sdk", ] 350 native_compiler_configs += [
351 "//build/config/win:lean_and_mean",
352 "//build/config/win:sdk",
353 "//build/config/win:unicode",
354 ]
351 } else if (is_linux) { 355 } else if (is_linux) {
352 native_compiler_configs += [ "//build/config/linux:sdk", ] 356 native_compiler_configs += [ "//build/config/linux:sdk", ]
353 } else if (is_mac) { 357 } else if (is_mac) {
354 native_compiler_configs += [ "//build/config/mac:sdk", ] 358 native_compiler_configs += [ "//build/config/mac:sdk", ]
355 } else if (is_ios) { 359 } else if (is_ios) {
356 native_compiler_configs += [ "//build/config/ios:sdk", ] 360 native_compiler_configs += [ "//build/config/ios:sdk", ]
357 } else if (is_android) { 361 } else if (is_android) {
358 native_compiler_configs += [ "//build/config/android:sdk", ] 362 native_compiler_configs += [ "//build/config/android:sdk", ]
359 } 363 }
364 if (!is_win) {
365 native_compiler_configs += [ "//build/config/gcc:symbol_visibility_hidden" ]
366 }
360 if (is_clang) { 367 if (is_clang) {
361 native_compiler_configs += [ "//build/config/clang:find_bad_constructs" ] 368 native_compiler_configs += [ "//build/config/clang:find_bad_constructs" ]
362 } 369 }
363 370
364 # Optimizations and debug checking. 371 # Optimizations and debug checking.
365 if (is_debug) { 372 if (is_debug) {
366 native_compiler_configs += [ "//build/config:debug" ] 373 native_compiler_configs += [ "//build/config:debug" ]
367 default_optimization_config = "//build/config/compiler:no_optimize" 374 default_optimization_config = "//build/config/compiler:no_optimize"
368 } else { 375 } else {
369 native_compiler_configs += [ "//build/config:release" ] 376 native_compiler_configs += [ "//build/config:release" ]
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 } else if (is_linux) { 478 } else if (is_linux) {
472 host_toolchain = "//build/toolchain/linux:$build_cpu_arch" 479 host_toolchain = "//build/toolchain/linux:$build_cpu_arch"
473 set_default_toolchain("//build/toolchain/linux:$cpu_arch") 480 set_default_toolchain("//build/toolchain/linux:$cpu_arch")
474 } else if (is_mac) { 481 } else if (is_mac) {
475 host_toolchain = "//build/toolchain/mac:clang" 482 host_toolchain = "//build/toolchain/mac:clang"
476 set_default_toolchain(host_toolchain) 483 set_default_toolchain(host_toolchain)
477 } else if (is_ios) { 484 } else if (is_ios) {
478 host_toolchain = "//build/toolchain/mac:host_clang" 485 host_toolchain = "//build/toolchain/mac:host_clang"
479 set_default_toolchain("//build/toolchain/mac:clang") 486 set_default_toolchain("//build/toolchain/mac:clang")
480 } 487 }
OLDNEW
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698