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

Side by Side Diff: services/android/rules.gni

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 2015 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 template("mojo_java_android_application") {
9 assert(defined(invoker.sources))
10 assert(defined(invoker.main_class))
11
12 dex_output_path = "$target_out_dir/${target_name}.dex.jar"
13
14 android_lib_name = "${target_name}_lib"
15 android_standalone_name = "${target_name}_standalone"
16
17 android_library(android_lib_name) {
18 java_files = invoker.sources
19
20 mojo_app = true
21 main_class = invoker.main_class
22
23 deps = invoker.deps
24 }
25
26 android_standalone_library(android_standalone_name) {
27 deps = [ ":${android_lib_name}" ] + invoker.deps
28
29 dex_path = dex_output_path
30 }
31
32 mojo_android_java_application(target_name) {
33 input_dex_jar = dex_output_path
34 }
35 }
OLDNEW
« services/android/java_handler.cc ('K') | « services/android/java_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698