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

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

Issue 1151303006: clang/win: Make everything work in a GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nacl fix Created 5 years, 6 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
« 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 if (target_os == "") { 5 if (target_os == "") {
6 target_os = host_os 6 target_os = host_os
7 } 7 }
8 8
9 if (target_cpu == "") { 9 if (target_cpu == "") {
10 if (target_os == "android") { 10 if (target_os == "android") {
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 # here as needed. 354 # here as needed.
355 355
356 # Holds all configs used for making native executables and libraries, to avoid 356 # Holds all configs used for making native executables and libraries, to avoid
357 # duplication in each target below. 357 # duplication in each target below.
358 _native_compiler_configs = [ 358 _native_compiler_configs = [
359 "//build/config:feature_flags", 359 "//build/config:feature_flags",
360 "//build/config/compiler:compiler", 360 "//build/config/compiler:compiler",
361 "//build/config/compiler:compiler_arm_fpu", 361 "//build/config/compiler:compiler_arm_fpu",
362 "//build/config/compiler:chromium_code", 362 "//build/config/compiler:chromium_code",
363 "//build/config/compiler:default_include_dirs", 363 "//build/config/compiler:default_include_dirs",
364 "//build/config/compiler:default_warnings",
365 "//build/config/compiler:no_rtti", 364 "//build/config/compiler:no_rtti",
366 "//build/config/compiler:runtime_library", 365 "//build/config/compiler:runtime_library",
367 ] 366 ]
368 if (is_win) { 367 if (is_win) {
369 _native_compiler_configs += [ 368 _native_compiler_configs += [
370 "//build/config/win:lean_and_mean", 369 "//build/config/win:lean_and_mean",
371 "//build/config/win:nominmax", 370 "//build/config/win:nominmax",
372 "//build/config/win:sdk", 371 "//build/config/win:sdk",
373 "//build/config/win:unicode", 372 "//build/config/win:unicode",
374 "//build/config/win:winver", 373 "//build/config/win:winver",
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 } 768 }
770 if (defined(invoker.testonly)) { 769 if (defined(invoker.testonly)) {
771 testonly = invoker.testonly 770 testonly = invoker.testonly
772 } 771 }
773 if (defined(invoker.visibility)) { 772 if (defined(invoker.visibility)) {
774 visibility = invoker.visibility 773 visibility = invoker.visibility
775 } 774 }
776 } 775 }
777 } 776 }
778 } 777 }
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