OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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("//build/config/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
6 import("//mojo/public/mojo_application.gni") | 6 import("//mojo/public/mojo_application.gni") |
| 7 import("//mojo/public/tools/bindings/mojom.gni") |
7 | 8 |
8 shared_library("libjava_handler") { | 9 shared_library("libjava_handler") { |
9 deps = [ | 10 deps = [ |
10 ":jni_headers", | 11 ":jni_headers", |
11 "//base", | 12 "//base", |
12 "//mojo/android:libsystem_java", | 13 "//mojo/android:libsystem_java", |
13 "//mojo/android:system_java_jni_headers", | 14 "//mojo/android:system_java_jni_headers", |
14 "//mojo/application", | 15 "//mojo/application", |
15 "//mojo/application:content_handler", | 16 "//mojo/application:content_handler", |
16 "//mojo/common", | 17 "//mojo/common", |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 ":content_handler_java", | 54 ":content_handler_java", |
54 ] | 55 ] |
55 | 56 |
56 dex_path = dex_output_path | 57 dex_path = dex_output_path |
57 } | 58 } |
58 | 59 |
59 mojo_android_application("java_handler") { | 60 mojo_android_application("java_handler") { |
60 input_so = "$root_out_dir/lib.stripped/libjava_handler.so" | 61 input_so = "$root_out_dir/lib.stripped/libjava_handler.so" |
61 input_dex_jar = dex_output_path | 62 input_dex_jar = dex_output_path |
62 } | 63 } |
| 64 |
| 65 mojom("bindings") { |
| 66 sources = [ |
| 67 "intent_receiver.mojom", |
| 68 ] |
| 69 } |
OLD | NEW |