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

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

Issue 382663002: Add components and CLD to GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android Created 6 years, 5 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 | « BUILD.gn ('k') | 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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 # corresponding target. Target definitions can add or remove to the settings 311 # corresponding target. Target definitions can add or remove to the settings
312 # here as needed. 312 # here as needed.
313 313
314 # Holds all configs used for making native executables and libraries, to avoid 314 # Holds all configs used for making native executables and libraries, to avoid
315 # duplication in each target below. 315 # duplication in each target below.
316 _native_compiler_configs = [ 316 _native_compiler_configs = [
317 "//build/config:feature_flags", 317 "//build/config:feature_flags",
318 318
319 "//build/config/compiler:compiler", 319 "//build/config/compiler:compiler",
320 "//build/config/compiler:chromium_code", 320 "//build/config/compiler:chromium_code",
321 "//build/config/compiler:default_include_dirs",
321 "//build/config/compiler:default_warnings", 322 "//build/config/compiler:default_warnings",
322 "//build/config/compiler:no_rtti", 323 "//build/config/compiler:no_rtti",
323 "//build/config/compiler:runtime_library", 324 "//build/config/compiler:runtime_library",
324 ] 325 ]
325 if (is_win) { 326 if (is_win) {
326 _native_compiler_configs += [ 327 _native_compiler_configs += [
327 "//build/config/win:lean_and_mean", 328 "//build/config/win:lean_and_mean",
328 "//build/config/win:nominmax", 329 "//build/config/win:nominmax",
329 "//build/config/win:sdk", 330 "//build/config/win:sdk",
330 "//build/config/win:unicode", 331 "//build/config/win:unicode",
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 } else if (is_linux) { 465 } else if (is_linux) {
465 host_toolchain = "//build/toolchain/linux:$build_cpu_arch" 466 host_toolchain = "//build/toolchain/linux:$build_cpu_arch"
466 set_default_toolchain("//build/toolchain/linux:$cpu_arch") 467 set_default_toolchain("//build/toolchain/linux:$cpu_arch")
467 } else if (is_mac) { 468 } else if (is_mac) {
468 host_toolchain = "//build/toolchain/mac:clang" 469 host_toolchain = "//build/toolchain/mac:clang"
469 set_default_toolchain(host_toolchain) 470 set_default_toolchain(host_toolchain)
470 } else if (is_ios) { 471 } else if (is_ios) {
471 host_toolchain = "//build/toolchain/mac:host_clang" 472 host_toolchain = "//build/toolchain/mac:host_clang"
472 set_default_toolchain("//build/toolchain/mac:clang") 473 set_default_toolchain("//build/toolchain/mac:clang")
473 } 474 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698