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

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

Issue 857353004: Enable find-missing-symbols-at-link-time for chromeos builds too. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gnsyntax 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/content_browser.gypi ('k') | device/battery/battery.gyp » ('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 18 matching lines...) Expand all
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 (is_chromeos) {
38 configs += [ "//build/config/linux:dbus" ] 38 configs += [ "//build/config/linux:dbus" ]
39 deps += [ "//chromeos:power_manager_proto" ] 39 deps += [
40 "//chromeos:chromeos",
41 "//chromeos:power_manager_proto",
42 ]
40 sources -= [ 43 sources -= [
41 "battery_status_manager_default.cc", 44 "battery_status_manager_default.cc",
42 "battery_status_manager_linux.cc", 45 "battery_status_manager_linux.cc",
43 ] 46 ]
44 } 47 }
45 48
46 if (is_desktop_linux) { 49 if (is_desktop_linux) {
47 if (use_dbus) { 50 if (use_dbus) {
48 configs += [ "//build/config/linux:dbus" ] 51 configs += [ "//build/config/linux:dbus" ]
49 deps += [ "//dbus" ] 52 deps += [ "//dbus" ]
(...skipping 11 matching lines...) Expand all
61 sources -= [ "battery_status_manager_default.cc" ] 64 sources -= [ "battery_status_manager_default.cc" ]
62 } 65 }
63 } 66 }
64 67
65 mojom("mojo_bindings") { 68 mojom("mojo_bindings") {
66 sources = [ 69 sources = [
67 "battery_monitor.mojom", 70 "battery_monitor.mojom",
68 "battery_status.mojom", 71 "battery_status.mojom",
69 ] 72 ]
70 } 73 }
OLDNEW
« no previous file with comments | « content/content_browser.gypi ('k') | device/battery/battery.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698