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 { |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 # On android, BatteryManager mojo service is implemented directly in Java. | 83 # On android, BatteryManager mojo service is implemented directly in Java. |
84 'targets': [ | 84 'targets': [ |
85 { | 85 { |
86 # GN version: //device/battery | 86 # GN version: //device/battery |
87 'target_name': 'device_battery', | 87 'target_name': 'device_battery', |
88 'type': '<(component)', | 88 'type': '<(component)', |
89 'dependencies': [ | 89 'dependencies': [ |
90 '../../base/base.gyp:base', | 90 '../../base/base.gyp:base', |
91 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:
dynamic_annotations', | 91 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:
dynamic_annotations', |
92 '../../mojo/mojo_base.gyp:mojo_environment_chromium', | 92 '../../mojo/mojo_base.gyp:mojo_environment_chromium', |
93 '../../third_party/mojo/mojo_edk.gyp:mojo_system_impl', | 93 '../../mojo/mojo_edk.gyp:mojo_system_impl', |
94 '../../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', | 94 '../../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
95 'device_battery_mojo_bindings', | 95 'device_battery_mojo_bindings', |
96 ], | 96 ], |
97 'defines': [ | 97 'defines': [ |
98 'DEVICE_BATTERY_IMPLEMENTATION', | 98 'DEVICE_BATTERY_IMPLEMENTATION', |
99 ], | 99 ], |
100 'sources': [ | 100 'sources': [ |
101 'battery_monitor_impl.cc', | 101 'battery_monitor_impl.cc', |
102 'battery_monitor_impl.h', | 102 'battery_monitor_impl.h', |
103 'battery_status_manager_chromeos.cc', | 103 'battery_status_manager_chromeos.cc', |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 'sources!': [ | 145 'sources!': [ |
146 'battery_status_manager_default.cc', | 146 'battery_status_manager_default.cc', |
147 ], | 147 ], |
148 }], | 148 }], |
149 ], | 149 ], |
150 }, | 150 }, |
151 ], | 151 ], |
152 }], | 152 }], |
153 ], | 153 ], |
154 } | 154 } |
OLD | NEW |