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

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

Issue 1363793002: Port the order_profiling GYP flag to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/android/BUILD.gn » ('j') | build/config/android/BUILD.gn » ('J')
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 # PLATFORM SELECTION 6 # PLATFORM SELECTION
7 # ============================================================================= 7 # =============================================================================
8 # 8 #
9 # There are two main things to set: "os" and "cpu". The "toolchain" is the name 9 # There are two main things to set: "os" and "cpu". The "toolchain" is the name
10 # of the GN thing that encodes combinations of these things. 10 # of the GN thing that encodes combinations of these things.
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 if (is_linux) { 380 if (is_linux) {
381 _native_compiler_configs += [ "//build/config/linux:sdk" ] 381 _native_compiler_configs += [ "//build/config/linux:sdk" ]
382 } else if (is_mac) { 382 } else if (is_mac) {
383 _native_compiler_configs += [ "//build/config/mac:sdk" ] 383 _native_compiler_configs += [ "//build/config/mac:sdk" ]
384 } else if (is_ios) { 384 } else if (is_ios) {
385 _native_compiler_configs += [ "//build/config/ios:sdk" ] 385 _native_compiler_configs += [ "//build/config/ios:sdk" ]
386 } else if (is_android) { 386 } else if (is_android) {
387 _native_compiler_configs += [ "//build/config/android:sdk" ] 387 _native_compiler_configs += [ "//build/config/android:sdk" ]
388 } 388 }
389 389
390 if (is_android) {
391 _native_compiler_configs +=
392 [ "//build/config/android:default_finstrument_functions" ]
393 }
394
390 if (is_clang && !is_nacl) { 395 if (is_clang && !is_nacl) {
391 _native_compiler_configs += [ 396 _native_compiler_configs += [
392 "//build/config/clang:find_bad_constructs", 397 "//build/config/clang:find_bad_constructs",
393 "//build/config/clang:extra_warnings", 398 "//build/config/clang:extra_warnings",
394 ] 399 ]
395 } 400 }
396 401
397 # Debug/release-related defines. 402 # Debug/release-related defines.
398 if (is_debug) { 403 if (is_debug) {
399 _native_compiler_configs += [ "//build/config:debug" ] 404 _native_compiler_configs += [ "//build/config:debug" ]
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 forward_variables_from(invoker, "*") 566 forward_variables_from(invoker, "*")
562 567
563 # All shared libraries must have the sanitizer deps to properly link in 568 # All shared libraries must have the sanitizer deps to properly link in
564 # asan mode (this target will be empty in other cases). 569 # asan mode (this target will be empty in other cases).
565 if (!defined(deps)) { 570 if (!defined(deps)) {
566 deps = [] 571 deps = []
567 } 572 }
568 deps += [ "//build/config/sanitizers:deps" ] 573 deps += [ "//build/config/sanitizers:deps" ]
569 } 574 }
570 } 575 }
OLDNEW
« no previous file with comments | « no previous file | build/config/android/BUILD.gn » ('j') | build/config/android/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698