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

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

Issue 436683002: Battery Status API: implementation for Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix chromeOS build Created 6 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 | « no previous file | content/browser/battery_status/battery_status_manager_linux.h » ('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 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 if (enable_web_speech) { 395 if (enable_web_speech) {
396 deps += [ 396 deps += [
397 "//third_party/flac", 397 "//third_party/flac",
398 "//third_party/speex", 398 "//third_party/speex",
399 ] 399 ]
400 } 400 }
401 401
402 if (is_linux) { 402 if (is_linux) {
403 if (use_dbus) { 403 if (use_dbus) {
404 sources -= [ 404 sources -= [
405 "battery_status/battery_status_manager_default.cc",
405 "geolocation/empty_wifi_data_provider.cc", 406 "geolocation/empty_wifi_data_provider.cc",
406 ] 407 ]
407 deps += [ "//dbus" ] 408 deps += [ "//dbus" ]
408 } else { 409 } else {
409 # This will already have gotten removed for all non-Linux cases. 410 # This will already have gotten removed for all non-Linux cases.
410 sources -= [ "geolocation/wifi_data_provider_linux.cc" ] 411 sources -= [
412 "battery_status/battery_status_manager_linux.cc",
413 "geolocation/wifi_data_provider_linux.cc",
414 ]
411 } 415 }
412 } 416 }
413 } 417 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/battery_status/battery_status_manager_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698