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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 # GN version: //device/battery:battery_mojo | 11 # GN version: //device/battery:battery_mojo |
12 'target_name': 'device_battery_mojo_bindings', | 12 'target_name': 'device_battery_mojo_bindings', |
13 'type': 'static_library', | 13 'type': 'static_library', |
14 'includes': [ | 14 'includes': [ |
15 '../../mojo/public/tools/bindings/mojom_bindings_generator.gypi', | 15 '../../mojo/mojom_bindings_generator.gypi', |
16 ], | 16 ], |
17 'sources': [ | 17 'sources': [ |
18 'battery_monitor.mojom', | 18 'battery_monitor.mojom', |
19 'battery_status.mojom', | 19 'battery_status.mojom', |
20 ], | 20 ], |
21 }, | 21 }, |
22 { | 22 { |
23 # GN version: //device/battery | 23 # GN version: //device/battery |
24 'target_name': 'device_battery', | 24 'target_name': 'device_battery', |
25 'type': '<(component)', | 25 'type': '<(component)', |
26 'dependencies': [ | 26 'dependencies': [ |
27 '../../base/base.gyp:base', | 27 '../../base/base.gyp:base', |
28 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | 28 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', |
29 '../../mojo/edk/mojo_edk.gyp:mojo_system_impl', | |
30 '../../mojo/mojo_base.gyp:mojo_environment_chromium', | 29 '../../mojo/mojo_base.gyp:mojo_environment_chromium', |
31 '../../mojo/public/mojo_public.gyp:mojo_cpp_bindings', | 30 '../../mojo/mojo_edk.gyp:mojo_system_impl', |
| 31 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
32 'device_battery_mojo_bindings', | 32 'device_battery_mojo_bindings', |
33 ], | 33 ], |
34 'defines': [ | 34 'defines': [ |
35 'DEVICE_BATTERY_IMPLEMENTATION', | 35 'DEVICE_BATTERY_IMPLEMENTATION', |
36 ], | 36 ], |
37 'sources': [ | 37 'sources': [ |
38 'android/battery_jni_registrar.cc', | 38 'android/battery_jni_registrar.cc', |
39 'android/battery_jni_registrar.h', | 39 'android/battery_jni_registrar.h', |
40 'battery_monitor_impl.cc', | 40 'battery_monitor_impl.cc', |
41 'battery_monitor_impl.h', | 41 'battery_monitor_impl.h', |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 '../../base/base.gyp:base', | 132 '../../base/base.gyp:base', |
133 '../../base/base.gyp:base_java_test_support', | 133 '../../base/base.gyp:base_java_test_support', |
134 'device_battery_java', | 134 'device_battery_java', |
135 ], | 135 ], |
136 'includes': [ '../../build/java.gypi' ], | 136 'includes': [ '../../build/java.gypi' ], |
137 }, | 137 }, |
138 ], | 138 ], |
139 }], | 139 }], |
140 ], | 140 ], |
141 } | 141 } |
OLD | NEW |