| 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/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
| 7 | 7 |
| 8 # On android, BatteryManager mojo service is implemented directly in Java. | 8 # On android, BatteryManager mojo service is implemented directly in Java. |
| 9 if (!is_android) { | 9 if (!is_android) { |
| 10 component("battery") { | 10 component("battery") { |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 sources -= [ "battery_status_manager_default.cc" ] | 69 sources -= [ "battery_status_manager_default.cc" ] |
| 70 } | 70 } |
| 71 } | 71 } |
| 72 } | 72 } |
| 73 | 73 |
| 74 mojom("mojo_bindings") { | 74 mojom("mojo_bindings") { |
| 75 sources = [ | 75 sources = [ |
| 76 "battery_monitor.mojom", | 76 "battery_monitor.mojom", |
| 77 "battery_status.mojom", | 77 "battery_status.mojom", |
| 78 ] | 78 ] |
| 79 | |
| 80 use_new_wrapper_types = false | |
| 81 } | 79 } |
| OLD | NEW |