| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 }, { # OS != "android" | 82 }, { # OS != "android" |
| 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', | |
| 93 '../../mojo/mojo_edk.gyp:mojo_system_impl', | 92 '../../mojo/mojo_edk.gyp:mojo_system_impl', |
| 94 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', | 93 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 95 'device_battery_mojo_bindings', | 94 'device_battery_mojo_bindings', |
| 96 ], | 95 ], |
| 97 'defines': [ | 96 'defines': [ |
| 98 'DEVICE_BATTERY_IMPLEMENTATION', | 97 'DEVICE_BATTERY_IMPLEMENTATION', |
| 99 ], | 98 ], |
| 100 'sources': [ | 99 'sources': [ |
| 101 'battery_monitor_impl.cc', | 100 'battery_monitor_impl.cc', |
| 102 'battery_monitor_impl.h', | 101 'battery_monitor_impl.h', |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 'sources!': [ | 144 'sources!': [ |
| 146 'battery_status_manager_default.cc', | 145 'battery_status_manager_default.cc', |
| 147 ], | 146 ], |
| 148 }], | 147 }], |
| 149 ], | 148 ], |
| 150 }, | 149 }, |
| 151 ], | 150 ], |
| 152 }], | 151 }], |
| 153 ], | 152 ], |
| 154 } | 153 } |
| OLD | NEW |