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

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

Issue 2075153002: Reland of 'Move content/browser/power_save_blocker to //device/power_save_blocker' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing libs for component mac Created 4 years, 6 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/app/android/library_loader_hooks.cc ('k') | content/browser/DEPS » ('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 import("//media/media_options.gni") 8 import("//media/media_options.gni")
9 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") 9 import("//tools/ipc_fuzzer/ipc_fuzzer.gni")
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 "//content/browser/devtools:gen_devtools_protocol_handler", 50 "//content/browser/devtools:gen_devtools_protocol_handler",
51 "//content/browser/devtools:resources", 51 "//content/browser/devtools:resources",
52 "//content/browser/notifications:notification_proto", 52 "//content/browser/notifications:notification_proto",
53 "//content/browser/service_worker:service_worker_proto", 53 "//content/browser/service_worker:service_worker_proto",
54 "//content/browser/speech/proto", 54 "//content/browser/speech/proto",
55 "//content/common", 55 "//content/common",
56 "//content/public/common:common_sources", 56 "//content/public/common:common_sources",
57 "//crypto", 57 "//crypto",
58 "//device/battery", 58 "//device/battery",
59 "//device/bluetooth", 59 "//device/bluetooth",
60 "//device/power_save_blocker",
60 "//device/vibration", 61 "//device/vibration",
61 "//gin", 62 "//gin",
62 "//google_apis", 63 "//google_apis",
63 "//gpu", 64 "//gpu",
64 "//gpu/command_buffer/client:gles2_implementation", 65 "//gpu/command_buffer/client:gles2_implementation",
65 "//gpu/command_buffer/client:gles2_interface", 66 "//gpu/command_buffer/client:gles2_interface",
66 "//ipc/mojo", 67 "//ipc/mojo",
67 "//media", 68 "//media",
68 "//media/gpu/ipc/client", 69 "//media/gpu/ipc/client",
69 "//media/midi", 70 "//media/midi",
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 "//build/config/linux:glib", 285 "//build/config/linux:glib",
285 ] 286 ]
286 } 287 }
287 288
288 if (is_linux && use_aura) { 289 if (is_linux && use_aura) {
289 deps += [ "//build/linux:fontconfig" ] 290 deps += [ "//build/linux:fontconfig" ]
290 } 291 }
291 292
292 if (use_x11) { 293 if (use_x11) {
293 configs += [ "//build/config/linux:x11" ] 294 configs += [ "//build/config/linux:x11" ]
294 if (!is_chromeos) {
295 configs += [ "//build/config/linux:xscrnsaver" ]
296 }
297 deps += [ "//ui/gfx/x" ] 295 deps += [ "//ui/gfx/x" ]
298 } 296 }
299 297
300 # Dealing with power_save_blocker_{x11,ozone}.cc is a little complicated
301 # given the interaction between os_chromeos and the feature flags for X11 and
302 # ozone, so do it all in one spot.
303 if (is_chromeos || !use_ozone) {
304 sources -= [ "power_save_blocker_ozone.cc" ]
305 }
306 if (is_chromeos || !use_x11) {
307 sources -= [ "power_save_blocker_x11.cc" ]
308 }
309
310 # Dealing with *wifi_data_provider_*.cc is also a bit complicated given 298 # Dealing with *wifi_data_provider_*.cc is also a bit complicated given
311 # android, chromeos, linux and use_dbus. 299 # android, chromeos, linux and use_dbus.
312 if (is_android) { 300 if (is_android) {
313 sources -= [ "geolocation/wifi_data_provider_common.cc" ] 301 sources -= [ "geolocation/wifi_data_provider_common.cc" ]
314 } 302 }
315 if (is_chromeos || (is_linux && !use_dbus)) { 303 if (is_chromeos || (is_linux && !use_dbus)) {
316 sources -= [ "geolocation/wifi_data_provider_linux.cc" ] 304 sources -= [ "geolocation/wifi_data_provider_linux.cc" ]
317 } 305 }
318 if (is_linux && use_dbus) { 306 if (is_linux && use_dbus) {
319 sources -= [ "geolocation/empty_wifi_data_provider.cc" ] 307 sources -= [ "geolocation/empty_wifi_data_provider.cc" ]
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 if (!is_component_build) { 517 if (!is_component_build) {
530 public_deps = [ 518 public_deps = [
531 ":browser", 519 ":browser",
532 ] 520 ]
533 } else { 521 } else {
534 public_deps = [ 522 public_deps = [
535 "//third_party/leveldatabase", 523 "//third_party/leveldatabase",
536 ] 524 ]
537 } 525 }
538 } 526 }
OLDNEW
« no previous file with comments | « content/app/android/library_loader_hooks.cc ('k') | content/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698