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

Side by Side Diff: services/android/BUILD.gn

Issue 898853006: Java content handler for Android. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
(Empty)
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//build/config/android/rules.gni")
6 import("//mojo/public/mojo_application.gni")
7
8 shared_library("libjava_handler") {
9 deps = [
10 ":jni_headers",
11 "//base",
12 "//mojo/android:libsystem_java",
13 "//mojo/android:system_java_jni_headers",
14 "//mojo/application",
15 "//mojo/application:content_handler",
16 "//mojo/common",
17 "//mojo/environment:chromium",
18 "//mojo/public/c/system:for_shared_library",
19 "//mojo/public/cpp/bindings",
20 "//mojo/public/cpp/system",
21 "//mojo/public/cpp/utility",
22 "//mojo/public/platform/native:system",
qsr 2015/02/10 11:58:18 This seems to be already included in mojo/public/c
etiennej 2015/02/10 14:32:04 Done.
23 "//mojo/services/content_handler/public/interfaces",
24 ]
25
26 sources = [
27 "java_handler.cc",
28 ]
29 }
30
31 generate_jni("jni_headers") {
32 sources = [
33 "java/src/org/chromium/services/android/JavaHandler.java",
34 ]
35
36 jni_package = "mojo"
37 }
38
39 android_library("content_handler_java") {
40 java_files = [ "java/src/org/chromium/services/android/JavaHandler.java" ]
41
42 deps = [
43 "//base:base_java",
44 "//mojo/android:system_java",
45 "//mojo/public/java:system",
46 ]
47 }
48
49 dex_output_path = "$target_out_dir/java_handler_java.dex.jar"
50
51 android_standalone_library("content_handler_java_lib") {
52 deps = [
53 "//mojo/public/java:system",
54 "//mojo/android:system_java",
55 ":content_handler_java",
56 ]
57
58 dex_path = dex_output_path
59 }
60
61 mojo_android_application("java_handler") {
62 input_so = "$root_out_dir/lib.stripped/libjava_handler.so"
63 input_dex_jar = dex_output_path
64 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698