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

Unified Diff: components/precache/android/BUILD.gn

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/android/BUILD.gn
diff --git a/third_party/android_data_chart/BUILD.gn b/components/precache/android/BUILD.gn
similarity index 50%
copy from third_party/android_data_chart/BUILD.gn
copy to components/precache/android/BUILD.gn
index e01c6002921ae3b2f2df4032a2d12ac3210f9698..537150b533b654e4708c4d0153b0ae47fe9e55f1 100644
--- a/third_party/android_data_chart/BUILD.gn
+++ b/components/precache/android/BUILD.gn
@@ -4,16 +4,18 @@
import("//build/config/android/rules.gni")
-assert(is_android)
-
-android_resources("android_data_chart_java_resources") {
- custom_package = "org.chromium.third_party.android"
- resource_dirs = [ "java/res" ]
+# GYP: //components/precache.gypi:precache_java
+android_library("precache_java") {
+ deps = [
+ "//base:base_java",
+ ]
+ DEPRECATED_java_in_dir = "java/src"
}
-android_library("android_data_chart_java") {
- DEPRECATED_java_in_dir = "java/src"
+android_library("precache_javatests") {
deps = [
- ":android_data_chart_java_resources",
+ "//base:base_java_test_support",
+ ":precache_java",
]
+ DEPRECATED_java_in_dir = "javatests/src"
}
« no previous file with comments | « components/precache.gypi ('k') | components/precache/android/java/src/org/chromium/components/precache/DeviceState.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698