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

Unified Diff: components/precache.gypi

Issue 1031003003: precache: Move the java files into //components/precache/android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 9 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
Index: components/precache.gypi
diff --git a/components/precache.gypi b/components/precache.gypi
index 5d28ac0d8187cc32d5e673dcec21a1e0832d9607..0bd41da2260c25d8023293aa8698d8a7be99d210 100644
--- a/components/precache.gypi
+++ b/components/precache.gypi
@@ -70,4 +70,31 @@
'includes': [ '../build/protoc.gypi', ],
},
],
+ 'conditions': [
+ ['OS=="android"', {
+ 'targets': [{
+ 'target_name': 'precache_java',
+ 'type': 'none',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../content/content.gyp:content_java',
+ ],
+ 'variables': {
+ 'java_in_dir': 'precache/android/java',
+ },
+ 'includes': [ '../build/java.gypi' ],
+ }, {
+ 'target_name': 'precache_javatests',
+ 'type': 'none',
+ 'dependencies': [
+ 'precache_java',
+ '../base/base.gyp:base_java_test_support',
+ ],
+ 'variables': {
+ 'java_in_dir': 'precache/android/javatests',
+ },
+ 'includes': [ '../build/java.gypi' ],
+ }],
+ }],
+ ],
}

Powered by Google App Engine
This is Rietveld 408576698