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

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

Issue 305993002: Update skia and ui GN builds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gesture detection updates Created 6 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 | Annotate | Revision Log
« no previous file with comments | « base/third_party/xdg_user_dirs/BUILD.gn ('k') | device/usb/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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 # your platform/toolkit/feature doesn't apply. 284 # your platform/toolkit/feature doesn't apply.
285 set_sources_assignment_filter(sources_assignment_filter) 285 set_sources_assignment_filter(sources_assignment_filter)
286 286
287 # ============================================================================= 287 # =============================================================================
288 # BUILD OPTIONS 288 # BUILD OPTIONS
289 # ============================================================================= 289 # =============================================================================
290 290
291 if (is_component_build) { 291 if (is_component_build) {
292 component_mode = "shared_library" 292 component_mode = "shared_library"
293 } else { 293 } else {
294 component_mode = "static_library" 294 component_mode = "source_set"
295 } 295 }
296 296
297 # These Sanitizers all imply using the Clang compiler. On Windows they either 297 # These Sanitizers all imply using the Clang compiler. On Windows they either
298 # don't work or work differently. 298 # don't work or work differently.
299 if (!is_clang && (is_asan || is_lsan || is_tsan || is_msan)) { 299 if (!is_clang && (is_asan || is_lsan || is_tsan || is_msan)) {
300 is_clang = true 300 is_clang = true
301 } 301 }
302 302
303 # ============================================================================= 303 # =============================================================================
304 # TARGET DEFAULTS 304 # TARGET DEFAULTS
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 } else if (is_linux) { 456 } else if (is_linux) {
457 host_toolchain = "//build/toolchain/linux:$build_cpu_arch" 457 host_toolchain = "//build/toolchain/linux:$build_cpu_arch"
458 set_default_toolchain("//build/toolchain/linux:$cpu_arch") 458 set_default_toolchain("//build/toolchain/linux:$cpu_arch")
459 } else if (is_mac) { 459 } else if (is_mac) {
460 host_toolchain = "//build/toolchain/mac:clang" 460 host_toolchain = "//build/toolchain/mac:clang"
461 set_default_toolchain(host_toolchain) 461 set_default_toolchain(host_toolchain)
462 } else if (is_ios) { 462 } else if (is_ios) {
463 host_toolchain = "//build/toolchain/mac:host_clang" 463 host_toolchain = "//build/toolchain/mac:host_clang"
464 set_default_toolchain("//build/toolchain/mac:clang") 464 set_default_toolchain("//build/toolchain/mac:clang")
465 } 465 }
OLDNEW
« no previous file with comments | « base/third_party/xdg_user_dirs/BUILD.gn ('k') | device/usb/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698