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 | 7 |
8 shared_library("libdevice_name") { | 8 shared_library("libdevice_name") { |
9 output_name = "device_name" | 9 output_name = "device_name" |
10 | 10 |
11 deps = [ | 11 deps = [ |
12 "//base", | 12 "//base", |
13 "//mojo/public/c/system", | 13 "//mojo/public/c/system", |
14 "//mojo/public/cpp/application:standalone", | 14 "//mojo/public/cpp/application:standalone", |
15 "//mojo/public/cpp/bindings", | 15 "//mojo/public/cpp/bindings", |
| 16 "//mojo/public/cpp/system", |
16 "//mojo/public/cpp/utility", | 17 "//mojo/public/cpp/utility", |
17 "//mojo/public/platform/native:system", | 18 "//mojo/public/platform/native:system", |
18 ":jni_headers", | 19 ":jni_headers", |
19 ] | 20 ] |
20 | 21 |
21 sources = [ | 22 sources = [ |
22 "device_name.cc", | 23 "device_name.cc", |
23 ] | 24 ] |
24 } | 25 } |
25 | 26 |
(...skipping 13 matching lines...) Expand all Loading... |
39 "//base:base_java", | 40 "//base:base_java", |
40 ] | 41 ] |
41 | 42 |
42 dex_path = dex_output_path | 43 dex_path = dex_output_path |
43 } | 44 } |
44 | 45 |
45 mojo_android_application("device_name") { | 46 mojo_android_application("device_name") { |
46 input_so = "$root_out_dir/lib.stripped/libdevice_name.so" | 47 input_so = "$root_out_dir/lib.stripped/libdevice_name.so" |
47 input_dex_jar = dex_output_path | 48 input_dex_jar = dex_output_path |
48 } | 49 } |
OLD | NEW |