| Index: third_party/libwebp/BUILD.gn
|
| diff --git a/third_party/libwebp/BUILD.gn b/third_party/libwebp/BUILD.gn
|
| index d52e1da7ccfa3bd6a3fe6f9947221ee2b8518aae..1db041e77cd05c6bb23b606afe736d31fc7466e8 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_finstrument_functions" ]
|
| + configs += [ "//build/config/android:no_finstrument_functions" ]
|
| + }
|
| }
|
|
|
| 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_finstrument_functions" ]
|
| + configs += [ "//build/config/android:no_finstrument_functions" ]
|
| + }
|
| }
|
| } # use_dsp_neon
|
|
|
|
|