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

Unified Diff: content/shell/android/BUILD.gn

Issue 525533003: Add content_shell_test_apk and a several dependencies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-content-shell-apk
Patch Set: Created 6 years, 3 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 | « content/public/test/android/BUILD.gn ('k') | media/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/android/BUILD.gn
diff --git a/content/shell/android/BUILD.gn b/content/shell/android/BUILD.gn
index 9605cee56602b47bfd97cee16890958113a1e883..47b3d61ca20ce9855cd8d1b776bcf7a3da309a93 100644
--- a/content/shell/android/BUILD.gn
+++ b/content/shell/android/BUILD.gn
@@ -44,7 +44,7 @@ android_library("content_shell_java") {
deps = [
"//base:base_java",
"//content/public/android:content_java",
- "//media:media_java",
+ "//media/base/android:media_java",
"//net/android:net_java",
"//ui/android:ui_java",
":content_shell_java_resources",
@@ -60,6 +60,19 @@ android_resources("content_shell_apk_resources") {
android_manifest = "shell_apk/AndroidManifest.xml"
}
+android_library("content_shell_apk_java") {
+ deps = [
+ ":content_shell_apk_resources",
+ ":content_shell_java",
+ "//base:base_java",
+ "//content/public/android:content_java",
+ "//media/base/android:media_java",
+ "//net/android:net_java",
+ "//ui/android:ui_java",
+ ]
+ DEPRECATED_java_in_dir = "shell_apk/src"
+}
+
android_apk("content_shell_apk") {
datadeps = [
# "//tools/android/forwarder",
@@ -67,18 +80,18 @@ android_apk("content_shell_apk") {
deps = [
":content_shell_apk_resources",
":content_shell_java",
+ ":content_shell_apk_java",
":libcontent_shell_content_view",
"//base:base_java",
"//content/public/android:content_java",
"//content/public/android:content_java_resources",
- "//media:media_java",
+ "//media/base/android:media_java",
"//net/android:net_java",
#"//third_party/mesa:osmesa_in_lib_dir",
"//ui/android:ui_java",
]
apk_name = "ContentShell"
android_manifest = "shell_apk/AndroidManifest.xml"
- DEPRECATED_java_in_dir = "shell_apk/src"
native_libs = [
"$root_build_dir/lib.stripped/libcontent_shell_content_view.so"
]
@@ -96,3 +109,26 @@ android_apk("content_shell_apk") {
# TODO(GYP)
}
}
+
+android_library("content_shell_test_java") {
+ deps = [
+ ":content_shell_java",
+ ":content_shell_apk_java",
+ "//base:base_java",
+ "//base:base_java_test_support",
+ "//content/public/test/android:content_java_test_support",
+ "//content/shell/android:content_shell_java",
+ "//content/public/android:content_java",
+ ]
+ DEPRECATED_java_in_dir = "javatests/src"
+}
+
+android_apk("content_shell_test_apk") {
+ deps = [
+ "//content/public/android:content_javatests",
+ "//base:base_javatests",
+ "//net/android:net_javatests",
+ ]
+ apk_name = "ContentShellTest"
+ android_manifest = "javatests/AndroidManifest.xml"
+}
« no previous file with comments | « content/public/test/android/BUILD.gn ('k') | media/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698