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

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

Issue 371853007: Fix optional neon support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-missing-files
Patch Set: Rebase Created 6 years, 4 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/arm.gni » ('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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 # The values configured here will be automatically set on the scope of the 303 # The values configured here will be automatically set on the scope of the
304 # corresponding target. Target definitions can add or remove to the settings 304 # corresponding target. Target definitions can add or remove to the settings
305 # here as needed. 305 # here as needed.
306 306
307 # Holds all configs used for making native executables and libraries, to avoid 307 # Holds all configs used for making native executables and libraries, to avoid
308 # duplication in each target below. 308 # duplication in each target below.
309 _native_compiler_configs = [ 309 _native_compiler_configs = [
310 "//build/config:feature_flags", 310 "//build/config:feature_flags",
311 311
312 "//build/config/compiler:compiler", 312 "//build/config/compiler:compiler",
313 "//build/config/compiler:compiler_arm_fpu",
313 "//build/config/compiler:chromium_code", 314 "//build/config/compiler:chromium_code",
314 "//build/config/compiler:default_include_dirs", 315 "//build/config/compiler:default_include_dirs",
315 "//build/config/compiler:default_warnings", 316 "//build/config/compiler:default_warnings",
316 "//build/config/compiler:no_rtti", 317 "//build/config/compiler:no_rtti",
317 "//build/config/compiler:runtime_library", 318 "//build/config/compiler:runtime_library",
318 ] 319 ]
319 if (is_win) { 320 if (is_win) {
320 _native_compiler_configs += [ 321 _native_compiler_configs += [
321 "//build/config/win:lean_and_mean", 322 "//build/config/win:lean_and_mean",
322 "//build/config/win:nominmax", 323 "//build/config/win:nominmax",
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 host_toolchain = "//build/toolchain/linux:$build_cpu_arch" 470 host_toolchain = "//build/toolchain/linux:$build_cpu_arch"
470 set_default_toolchain("//build/toolchain/linux:$cpu_arch") 471 set_default_toolchain("//build/toolchain/linux:$cpu_arch")
471 } 472 }
472 } else if (is_mac) { 473 } else if (is_mac) {
473 host_toolchain = "//build/toolchain/mac:clang" 474 host_toolchain = "//build/toolchain/mac:clang"
474 set_default_toolchain(host_toolchain) 475 set_default_toolchain(host_toolchain)
475 } else if (is_ios) { 476 } else if (is_ios) {
476 host_toolchain = "//build/toolchain/mac:host_clang" 477 host_toolchain = "//build/toolchain/mac:host_clang"
477 set_default_toolchain("//build/toolchain/mac:clang") 478 set_default_toolchain("//build/toolchain/mac:clang")
478 } 479 }
OLDNEW
« no previous file with comments | « no previous file | build/config/arm.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698