Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Side by Side Diff: device/battery/battery.gyp

Issue 1963973002: Makes BatteryDispatcher use the blink style mojo bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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:mojo_bindings 11 # GN version: //device/battery:mojo_bindings
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/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:mojo_bindings_blink
24 'target_name': 'device_battery_mojo_bindings_for_blink',
25 'type': 'static_library',
26 'variables': {
27 'for_blink': 'true',
28 },
29 'includes': [
30 '../../mojo/mojom_bindings_generator.gypi',
31 ],
32 'sources': [
33 'battery_monitor.mojom',
34 'battery_status.mojom',
35 ],
36 },
37 {
23 # This is needed only for a build within Android tree. TODO(ppi): remove 38 # This is needed only for a build within Android tree. TODO(ppi): remove
24 # when Android tree build is deprecated. 39 # when Android tree build is deprecated.
25 'target_name': 'device_battery_mojo_bindings_for_webview', 40 'target_name': 'device_battery_mojo_bindings_for_webview',
26 'type': 'none', 41 'type': 'none',
27 'dependencies': [ 42 'dependencies': [
28 'device_battery_mojo_bindings', 43 'device_battery_mojo_bindings',
29 ], 44 ],
30 'actions': [ 45 'actions': [
31 { 46 {
32 # Dummy action that triggers the bindings generation and explicitly 47 # Dummy action that triggers the bindings generation and explicitly
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 'sources!': [ 159 'sources!': [
145 'battery_status_manager_default.cc', 160 'battery_status_manager_default.cc',
146 ], 161 ],
147 }], 162 }],
148 ], 163 ],
149 }, 164 },
150 ], 165 ],
151 }], 166 }],
152 ], 167 ],
153 } 168 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698