OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
| 7 import("//mojo/public/tools/bindings/mojom.gni") |
7 | 8 |
8 android_library("oknet") { | 9 android_library("sensors") { |
9 java_files = [ | 10 java_files = [ |
10 "src/org/domokit/oknet/NetworkServiceImpl.java", | 11 "org/domokit/sensors/SensorForwarder.java", |
11 "src/org/domokit/oknet/UrlLoaderImpl.java", | 12 "org/domokit/sensors/SensorServiceImpl.java", |
12 ] | 13 ] |
13 | 14 |
14 deps = [ | 15 deps = [ |
15 "//mojo/public/java:bindings", | 16 "//mojo/public/java:bindings", |
16 "//mojo/public/java:system", | 17 "//mojo/public/java:system", |
17 "//mojo/services/network/public/interfaces:interfaces_java", | 18 ":interfaces_java", |
18 "//third_party/okhttp", | |
19 "//third_party/okhttp:okio", | |
20 ] | 19 ] |
21 } | 20 } |
| 21 |
| 22 mojom("interfaces") { |
| 23 sources = [ |
| 24 "sensors.mojom", |
| 25 ] |
| 26 } |
OLD | NEW |