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

Unified Diff: third_party/libwebp/BUILD.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | tools/android/md5sum/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libwebp/BUILD.gn
diff --git a/third_party/libwebp/BUILD.gn b/third_party/libwebp/BUILD.gn
index d52e1da7ccfa3bd6a3fe6f9947221ee2b8518aae..fbaffd6f57d1954a1f88266e050b8ba582997197 100644
--- a/third_party/libwebp/BUILD.gn
+++ b/third_party/libwebp/BUILD.gn
@@ -82,18 +82,10 @@ source_set("libwebp_dsp") {
]
if (is_android) {
deps += [ "//third_party/android_tools:cpu_features" ]
- }
- # TODO(GYP):
- # 'conditions': [
- # ['order_profiling != 0', {
- # 'target_conditions' : [
- # ['_toolset=="target"', {
- # 'cflags!': [ '-finstrument-functions' ],
- # }],
- # ],
- # }],
- # ],
+ configs -= [ "//build/config/android:default_cygprofile_instrumentation" ]
+ configs += [ "//build/config/android:no_cygprofile_instrumentation" ]
+ }
}
if (use_dsp_neon) {
@@ -116,16 +108,10 @@ if (use_dsp_neon) {
cflags = [ "-frename-registers" ]
}
- # TODO(GYP):
- # ['order_profiling != 0', {
- # 'target_conditions' : [
- # ['_toolset=="target"', {
- # 'cflags!': [ '-finstrument-functions' ],
- # }],
- # ],
- # }],
- # ],
- # }
+ if (is_android) {
+ configs -= [ "//build/config/android:default_cygprofile_instrumentation" ]
+ configs += [ "//build/config/android:no_cygprofile_instrumentation" ]
+ }
}
} # use_dsp_neon
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | tools/android/md5sum/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698