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

Unified Diff: third_party/libwebp/BUILD.gn

Issue 237973002: Add generate_jni template (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 8 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/android/rules.gni ('k') | tools/gn/secondary/third_party/android_tools/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 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"', {
« no previous file with comments | « build/config/android/rules.gni ('k') | tools/gn/secondary/third_party/android_tools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698