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

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

Issue 1291703008: Rename is_chromeos in chrome/src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: retry Created 5 years, 4 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 | « device/BUILD.gn ('k') | device/bluetooth/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("//third_party/mojo/src/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
(...skipping 16 matching lines...) Expand all
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 "//third_party/mojo/src/mojo/public/cpp/bindings", 33 "//third_party/mojo/src/mojo/public/cpp/bindings",
34 "//third_party/mojo/src/mojo/edk/system", 34 "//third_party/mojo/src/mojo/edk/system",
35 ] 35 ]
36 36
37 if (is_chromeos) { 37 if (use_cros_fe) {
38 configs += [ "//build/config/linux:dbus" ] 38 configs += [ "//build/config/linux:dbus" ]
39 deps += [ 39 deps += [
40 "//chromeos:chromeos", 40 "//chromeos:chromeos",
41 "//chromeos:power_manager_proto", 41 "//chromeos:power_manager_proto",
42 ] 42 ]
43 sources -= [ 43 sources -= [
44 "battery_status_manager_default.cc", 44 "battery_status_manager_default.cc",
45 "battery_status_manager_linux.cc", 45 "battery_status_manager_linux.cc",
46 ] 46 ]
47 } 47 }
(...skipping 16 matching lines...) Expand all
64 sources -= [ "battery_status_manager_default.cc" ] 64 sources -= [ "battery_status_manager_default.cc" ]
65 } 65 }
66 } 66 }
67 67
68 mojom("mojo_bindings") { 68 mojom("mojo_bindings") {
69 sources = [ 69 sources = [
70 "battery_monitor.mojom", 70 "battery_monitor.mojom",
71 "battery_status.mojom", 71 "battery_status.mojom",
72 ] 72 ]
73 } 73 }
OLDNEW
« no previous file with comments | « device/BUILD.gn ('k') | device/bluetooth/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698