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

Unified Diff: build/config/BUILDCONFIG.gn

Issue 2924093003: (Do not land) Very hacky patch for using -fprofile-functions in the Win-Clang build
Patch Set: Add code to print functions by call frquency Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/BUILD.gn ('k') | build/config/win/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/BUILDCONFIG.gn
diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn
index de3f35f124aadd66ea21c3870651f7962f98f2cb..df1122c1783e9cbaf23c73d35213a6f578e992c2 100644
--- a/build/config/BUILDCONFIG.gn
+++ b/build/config/BUILDCONFIG.gn
@@ -150,6 +150,9 @@ declare_args() {
# every toolchain can pass through the "global" value via toolchain_args().
host_toolchain = ""
+ # XXX: This is probably not the right place.
+ use_order_profiling = false
+
# DON'T ADD MORE FLAGS HERE. Read the comment above.
}
@@ -548,6 +551,10 @@ if (is_android) {
default_compiler_configs +=
[ "//build/config/android:default_cygprofile_instrumentation" ]
}
+if (is_win) {
+ default_compiler_configs +=
+ [ "//build/config/win:default_cygprofile_instrumentation" ]
+}
if (is_clang && !is_nacl) {
default_compiler_configs += [
« no previous file with comments | « build/config/BUILD.gn ('k') | build/config/win/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698