Index: third_party/libwebp/BUILD.gn |
diff --git a/third_party/libwebp/BUILD.gn b/third_party/libwebp/BUILD.gn |
index 44b2dbd7e809d681d114330abdc6c81cb18051d2..cf7dccda55fa5e9ce8111360b3e11e81e1d9fc28 100644 |
--- a/third_party/libwebp/BUILD.gn |
+++ b/third_party/libwebp/BUILD.gn |
@@ -56,11 +56,12 @@ source_set("libwebp_dsp") { |
all_dependent_configs = [ |
":libwebp_config" |
] |
+ deps = [] |
+ if (is_android) { |
+ deps += [ "//third_party/android_tools:cpu_features" ] |
+ } |
# TODO(GYP): |
# 'conditions': [ |
-# ['OS == "android"', { |
-# 'includes': [ '../../build/android/cpufeatures.gypi' ], |
-# }], |
# ['order_profiling != 0', { |
# 'target_conditions' : [ |
# ['_toolset=="target"', { |