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

Unified Diff: services/shape_detection/BUILD.gn

Issue 2855203003: Shape Detection: move {BarcodeDetectionImpl,TextDetectionImpl}.java to //services/shape_detection (Closed)
Patch Set: Make |java_interface_provider_| a std::unique_ptr<> Created 3 years, 7 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/browser/renderer_host/render_process_host_impl.cc ('k') | services/shape_detection/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shape_detection/BUILD.gn
diff --git a/services/shape_detection/BUILD.gn b/services/shape_detection/BUILD.gn
index 9a2ddbd617067b848d5be1b854d3839bf030bd1b..8a8bfb70478998b0ca0614a584cc3587d1d11d24 100644
--- a/services/shape_detection/BUILD.gn
+++ b/services/shape_detection/BUILD.gn
@@ -47,6 +47,41 @@ source_set("lib") {
"//services/service_manager/public/cpp",
"//services/shape_detection/public/interfaces",
]
+
+ if (is_android) {
+ deps += [ ":shape_detection_jni_headers" ]
+ }
+}
+
+if (is_android) {
+ generate_jni("shape_detection_jni_headers") {
+ sources = [
+ "android/java/src/org/chromium/shape_detection/InterfaceRegistrar.java",
+ ]
+ jni_package = "shape_detection"
+ }
+
+ android_library("shape_detection_java") {
+ java_files = [
+ "android/java/src/org/chromium/shape_detection/BarcodeDetectionImpl.java",
+ "android/java/src/org/chromium/shape_detection/InterfaceRegistrar.java",
+ "android/java/src/org/chromium/shape_detection/TextDetectionImpl.java",
+ ]
+
+ deps = [
+ "$google_play_services_package:google_play_services_base_java",
+ "$google_play_services_package:google_play_services_basement_java",
+ "$google_play_services_package:google_play_services_vision_java",
+ "//base:base_java",
+ "//mojo/android:system_java",
+ "//mojo/public/java:bindings_java",
+ "//mojo/public/java:system_java",
+ "//services/service_manager/public/interfaces:interfaces_java",
+ "//services/service_manager/public/java:service_manager_java",
+ "//services/shape_detection/public/interfaces:interfaces_java",
+ "//ui/gfx/geometry/mojo:mojo_java",
+ ]
+ }
}
service_manifest("manifest") {
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | services/shape_detection/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698