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

Side by Side Diff: content/browser/BUILD.gn

Issue 356873002: battery-status: Implement the battery-status API for chromeos. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/android/browser_jni_registrar.cc » ('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("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//content/browser/browser.gni") 7 import("//content/browser/browser.gni")
8 8
9 config("storage_config") { 9 config("storage_config") {
10 if (is_android) { 10 if (is_android) {
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 sources -= [ 317 sources -= [
318 "device_sensors/data_fetcher_shared_memory_default.cc", 318 "device_sensors/data_fetcher_shared_memory_default.cc",
319 "geolocation/empty_wifi_data_provider.cc", 319 "geolocation/empty_wifi_data_provider.cc",
320 "geolocation/empty_wifi_data_provider.h", 320 "geolocation/empty_wifi_data_provider.h",
321 ] 321 ]
322 libs += [ "bsm" ] 322 libs += [ "bsm" ]
323 } 323 }
324 324
325 if (is_chromeos) { 325 if (is_chromeos) {
326 sources -= [ 326 sources -= [
327 "battery_status/battery_status_manager_default.cc",
327 "geolocation/wifi_data_provider_linux.cc", 328 "geolocation/wifi_data_provider_linux.cc",
328 "power_save_blocker_ozone.cc", 329 "power_save_blocker_ozone.cc",
329 "power_save_blocker_x11.cc", 330 "power_save_blocker_x11.cc",
330 ] 331 ]
331 deps += [ "//chromeos:power_manager_proto" ] 332 deps += [ "//chromeos:power_manager_proto" ]
332 } 333 }
333 334
334 if (use_aura) { 335 if (use_aura) {
335 deps += [ 336 deps += [
336 "//ui/aura", 337 "//ui/aura",
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 sources -= [ 390 sources -= [
390 "geolocation/empty_wifi_data_provider.cc", 391 "geolocation/empty_wifi_data_provider.cc",
391 ] 392 ]
392 deps += [ "//dbus" ] 393 deps += [ "//dbus" ]
393 } else { 394 } else {
394 # This will already have gotten removed for all non-Linux cases. 395 # This will already have gotten removed for all non-Linux cases.
395 sources -= [ "geolocation/wifi_data_provider_linux.cc" ] 396 sources -= [ "geolocation/wifi_data_provider_linux.cc" ]
396 } 397 }
397 } 398 }
398 } 399 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/browser_jni_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698