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

Side by Side 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 unified diff | Download patch
OLDNEW
1 # Copyright 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//services/service_manager/public/cpp/service.gni") 5 import("//services/service_manager/public/cpp/service.gni")
6 import("//services/service_manager/public/service_manifest.gni") 6 import("//services/service_manager/public/service_manifest.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 source_set("lib") { 9 source_set("lib") {
10 sources = [ 10 sources = [
(...skipping 29 matching lines...) Expand all
40 "//ui/gfx", 40 "//ui/gfx",
41 "//ui/gfx/geometry", 41 "//ui/gfx/geometry",
42 ] 42 ]
43 43
44 public_deps = [ 44 public_deps = [
45 "//base", 45 "//base",
46 "//media/capture", 46 "//media/capture",
47 "//services/service_manager/public/cpp", 47 "//services/service_manager/public/cpp",
48 "//services/shape_detection/public/interfaces", 48 "//services/shape_detection/public/interfaces",
49 ] 49 ]
50
51 if (is_android) {
52 deps += [ ":shape_detection_jni_headers" ]
53 }
54 }
55
56 if (is_android) {
57 generate_jni("shape_detection_jni_headers") {
58 sources = [
59 "android/java/src/org/chromium/shape_detection/InterfaceRegistrar.java",
60 ]
61 jni_package = "shape_detection"
62 }
63
64 android_library("shape_detection_java") {
65 java_files = [
66 "android/java/src/org/chromium/shape_detection/BarcodeDetectionImpl.java",
67 "android/java/src/org/chromium/shape_detection/InterfaceRegistrar.java",
68 "android/java/src/org/chromium/shape_detection/TextDetectionImpl.java",
69 ]
70
71 deps = [
72 "$google_play_services_package:google_play_services_base_java",
73 "$google_play_services_package:google_play_services_basement_java",
74 "$google_play_services_package:google_play_services_vision_java",
75 "//base:base_java",
76 "//mojo/android:system_java",
77 "//mojo/public/java:bindings_java",
78 "//mojo/public/java:system_java",
79 "//services/service_manager/public/interfaces:interfaces_java",
80 "//services/service_manager/public/java:service_manager_java",
81 "//services/shape_detection/public/interfaces:interfaces_java",
82 "//ui/gfx/geometry/mojo:mojo_java",
83 ]
84 }
50 } 85 }
51 86
52 service_manifest("manifest") { 87 service_manifest("manifest") {
53 name = "shape_detection" 88 name = "shape_detection"
54 source = "manifest.json" 89 source = "manifest.json"
55 } 90 }
56 91
57 source_set("tests") { 92 source_set("tests") {
58 testonly = true 93 testonly = true
59 sources = [] 94 sources = []
(...skipping 14 matching lines...) Expand all
74 ":lib", 109 ":lib",
75 "//base", 110 "//base",
76 "//skia", 111 "//skia",
77 "//testing/gmock", 112 "//testing/gmock",
78 "//testing/gtest", 113 "//testing/gtest",
79 "//ui/gfx", 114 "//ui/gfx",
80 "//ui/gl", 115 "//ui/gl",
81 ] 116 ]
82 } 117 }
83 } 118 }
OLDNEW
« 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