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

Side by Side Diff: build/config/BUILD.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
« no previous file with comments | « no previous file | build/config/BUILDCONFIG.gn » ('j') | build/config/BUILDCONFIG.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 import("//build/config/allocator.gni") 5 import("//build/config/allocator.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/chromecast_build.gni") 7 import("//build/config/chromecast_build.gni")
8 import("//build/config/crypto.gni") 8 import("//build/config/crypto.gni")
9 import("//build/config/dcheck_always_on.gni") 9 import("//build/config/dcheck_always_on.gni")
10 import("//build/config/features.gni") 10 import("//build/config/features.gni")
11 import("//build/config/pgo/pgo.gni")
11 import("//build/config/sanitizers/sanitizers.gni") 12 import("//build/config/sanitizers/sanitizers.gni")
12 import("//build/config/ui.gni") 13 import("//build/config/ui.gni")
13 import("//build/toolchain/goma.gni") 14 import("//build/toolchain/goma.gni")
14 15
15 # One common error that happens is that GYP-generated headers within gen/ get 16 # One common error that happens is that GYP-generated headers within gen/ get
16 # included rather than the GN-generated ones within gen/ subdirectories. 17 # included rather than the GN-generated ones within gen/ subdirectories.
17 # TODO(GYP_GONE): Remove once GYP is gone (as well as exec_script exception). 18 # TODO(GYP_GONE): Remove once GYP is gone (as well as exec_script exception).
18 assert( 19 assert(
19 exec_script("//build/dir_exists.py", [ "obj.host" ], "string") == "False", 20 exec_script("//build/dir_exists.py", [ "obj.host" ], "string") == "False",
20 "GYP artifacts detected in $root_build_dir.$0x0A" + 21 "GYP artifacts detected in $root_build_dir.$0x0A" +
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 # file doesn't exist, no error will be generated (probably MS tested this 419 # file doesn't exist, no error will be generated (probably MS tested this
419 # case but forgot the other one?). To reproduce this error, do a build, 420 # case but forgot the other one?). To reproduce this error, do a build,
420 # then delete the precompile.c.obj file, then build again. 421 # then delete the precompile.c.obj file, then build again.
421 cflags_c = [ "/wd4206" ] 422 cflags_c = [ "/wd4206" ]
422 } else if (is_mac) { 423 } else if (is_mac) {
423 precompiled_header = "build/precompile.h" 424 precompiled_header = "build/precompile.h"
424 precompiled_source = "//build/precompile.h" 425 precompiled_source = "//build/precompile.h"
425 } 426 }
426 } 427 }
427 } 428 }
OLDNEW
« no previous file with comments | « no previous file | build/config/BUILDCONFIG.gn » ('j') | build/config/BUILDCONFIG.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698