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

Side by Side Diff: device/battery/BUILD.gn

Issue 814543006: Move //mojo/{public, edk} underneath //third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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 | « content/utility/BUILD.gn ('k') | device/battery/android/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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
7 7
8 component("battery") { 8 component("battery") {
9 output_name = "device_battery" 9 output_name = "device_battery"
10 10
11 sources = [ 11 sources = [
12 "battery_export.h", 12 "battery_export.h",
13 "battery_monitor_impl.cc", 13 "battery_monitor_impl.cc",
14 "battery_monitor_impl.h", 14 "battery_monitor_impl.h",
15 "battery_status_manager_chromeos.cc", 15 "battery_status_manager_chromeos.cc",
16 "battery_status_manager_default.cc", 16 "battery_status_manager_default.cc",
17 "battery_status_manager_linux.cc", 17 "battery_status_manager_linux.cc",
18 "battery_status_manager_linux.h", 18 "battery_status_manager_linux.h",
19 "battery_status_manager_mac.cc", 19 "battery_status_manager_mac.cc",
20 "battery_status_manager_win.cc", 20 "battery_status_manager_win.cc",
21 "battery_status_manager_win.h", 21 "battery_status_manager_win.h",
22 "battery_status_service.cc", 22 "battery_status_service.cc",
23 "battery_status_service.h", 23 "battery_status_service.h",
24 ] 24 ]
25 25
26 defines = [ "DEVICE_BATTERY_IMPLEMENTATION" ] 26 defines = [ "DEVICE_BATTERY_IMPLEMENTATION" ]
27 27
28 deps = [ 28 deps = [
29 ":mojo_bindings", 29 ":mojo_bindings",
30 "//base", 30 "//base",
31 "//base/third_party/dynamic_annotations", 31 "//base/third_party/dynamic_annotations",
32 "//mojo/environment:chromium", 32 "//mojo/environment:chromium",
33 "//mojo/public/cpp/bindings", 33 "//third_party/mojo/src/mojo/public/cpp/bindings",
34 "//mojo/edk/system", 34 "//third_party/mojo/src/mojo/edk/system",
35 ] 35 ]
36 36
37 if (is_chromeos) { 37 if (is_chromeos) {
38 configs += [ "//build/config/linux:dbus" ] 38 configs += [ "//build/config/linux:dbus" ]
39 deps += [ "//chromeos:power_manager_proto" ] 39 deps += [ "//chromeos:power_manager_proto" ]
40 sources -= [ 40 sources -= [
41 "battery_status_manager_default.cc", 41 "battery_status_manager_default.cc",
42 "battery_status_manager_linux.cc", 42 "battery_status_manager_linux.cc",
43 ] 43 ]
44 } 44 }
(...skipping 16 matching lines...) Expand all
61 sources -= [ "battery_status_manager_default.cc" ] 61 sources -= [ "battery_status_manager_default.cc" ]
62 } 62 }
63 } 63 }
64 64
65 mojom("mojo_bindings") { 65 mojom("mojo_bindings") {
66 sources = [ 66 sources = [
67 "battery_monitor.mojom", 67 "battery_monitor.mojom",
68 "battery_status.mojom", 68 "battery_status.mojom",
69 ] 69 ]
70 } 70 }
OLDNEW
« no previous file with comments | « content/utility/BUILD.gn ('k') | device/battery/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698