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

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

Issue 2507333002: Add the possibility to build with PGO when using Clang (Closed)
Patch Set: Created 4 years, 1 month 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
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 # WHAT IS THIS FILE? 6 # WHAT IS THIS FILE?
7 # ============================================================================= 7 # =============================================================================
8 # 8 #
9 # This is the master GN build configuration. This file is loaded after the 9 # This is the master GN build configuration. This file is loaded after the
10 # build args (args.gn) for the build directory and after the toplevel ".gn" 10 # build args (args.gn) for the build directory and after the toplevel ".gn"
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 "//build/config/compiler:compiler", 471 "//build/config/compiler:compiler",
472 "//build/config/compiler:clang_stackrealign", 472 "//build/config/compiler:clang_stackrealign",
473 "//build/config/compiler:compiler_arm_fpu", 473 "//build/config/compiler:compiler_arm_fpu",
474 "//build/config/compiler:chromium_code", 474 "//build/config/compiler:chromium_code",
475 "//build/config/compiler:default_include_dirs", 475 "//build/config/compiler:default_include_dirs",
476 "//build/config/compiler:default_optimization", 476 "//build/config/compiler:default_optimization",
477 "//build/config/compiler:default_stack_frames", 477 "//build/config/compiler:default_stack_frames",
478 "//build/config/compiler:default_symbols", 478 "//build/config/compiler:default_symbols",
479 "//build/config/compiler:no_rtti", 479 "//build/config/compiler:no_rtti",
480 "//build/config/compiler:runtime_library", 480 "//build/config/compiler:runtime_library",
481 "//build/config/pgo:default_pgo_flags",
Sébastien Marchand 2016/11/17 17:31:15 My concern with this is that it seems to be a glob
481 "//build/config/sanitizers:default_sanitizer_flags", 482 "//build/config/sanitizers:default_sanitizer_flags",
482 ] 483 ]
483 if (is_win) { 484 if (is_win) {
484 default_compiler_configs += [ 485 default_compiler_configs += [
485 "//build/config/win:default_crt", 486 "//build/config/win:default_crt",
486 "//build/config/win:lean_and_mean", 487 "//build/config/win:lean_and_mean",
487 "//build/config/win:nominmax", 488 "//build/config/win:nominmax",
488 "//build/config/win:unicode", 489 "//build/config/win:unicode",
489 "//build/config/win:winver", 490 "//build/config/win:winver",
490 "//build/config/win:vs_code_analysis", 491 "//build/config/win:vs_code_analysis",
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 set_defaults("component") { 643 set_defaults("component") {
643 if (is_component_build) { 644 if (is_component_build) {
644 configs = default_shared_library_configs 645 configs = default_shared_library_configs
645 if (is_android) { 646 if (is_android) {
646 configs -= [ "//build/config/android:hide_native_jni_exports" ] 647 configs -= [ "//build/config/android:hide_native_jni_exports" ]
647 } 648 }
648 } else { 649 } else {
649 configs = default_compiler_configs 650 configs = default_compiler_configs
650 } 651 }
651 } 652 }
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | build/config/pgo/BUILD.gn » ('j') | build/config/pgo/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698