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

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",
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 dex_output_path = "$target_out_dir/java_handler_java.dex.jar"
qsr 2015/02/06 17:16:14 Maybe move this before the 2 usages, and let a bla
etiennej 2015/02/09 14:09:52 Done.
40 android_library("content_handler_java") {
41 java_files = [ "java/src/org/chromium/services/android/JavaHandler.java" ]
42
43 deps = [
44 "//base:base_java",
45 "//mojo/android:system_java",
46 "//mojo/public/java:system",
47 ]
48 }
49
50 android_standalone_library("content_handler_java_lib") {
51 deps = [
52 "//mojo/public/java:system",
53 "//mojo/android:system_java",
54 ":content_handler_java",
55 ]
56
57 dex_path = dex_output_path
58 }
59
60 mojo_android_application("java_handler") {
61 input_so = "$root_out_dir/lib.stripped/libjava_handler.so"
62 input_dex_jar = dex_output_path
63 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698