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

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

Issue 2192683003: Revert of Reland: Geolocation: move from content/browser to device/ (patchset #2 id:20001 of https:… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2810
Patch Set: Created 4 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 | « 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 "//content/browser/devtools:resources", 56 "//content/browser/devtools:resources",
57 "//content/browser/notifications:notification_proto", 57 "//content/browser/notifications:notification_proto",
58 "//content/browser/service_worker:service_worker_proto", 58 "//content/browser/service_worker:service_worker_proto",
59 "//content/browser/speech/proto", 59 "//content/browser/speech/proto",
60 "//content/common", 60 "//content/common",
61 "//content/public/common:common_sources", 61 "//content/public/common:common_sources",
62 "//crypto", 62 "//crypto",
63 "//device/battery", 63 "//device/battery",
64 "//device/bluetooth", 64 "//device/bluetooth",
65 "//device/gamepad", 65 "//device/gamepad",
66 "//device/geolocation:device_geolocation",
67 "//device/power_save_blocker", 66 "//device/power_save_blocker",
68 "//device/vibration", 67 "//device/vibration",
69 "//gin", 68 "//gin",
70 "//google_apis", 69 "//google_apis",
71 "//gpu", 70 "//gpu",
72 "//gpu/command_buffer/client:gles2_implementation", 71 "//gpu/command_buffer/client:gles2_implementation",
73 "//gpu/command_buffer/client:gles2_interface", 72 "//gpu/command_buffer/client:gles2_interface",
74 "//media", 73 "//media",
75 "//media/capture", 74 "//media/capture",
76 "//media/gpu/ipc/client", 75 "//media/gpu/ipc/client",
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 "media/capture/desktop_capture_device_aura.cc", 204 "media/capture/desktop_capture_device_aura.cc",
206 "media/capture/desktop_capture_device_aura.h", 205 "media/capture/desktop_capture_device_aura.h",
207 ] 206 ]
208 } 207 }
209 defines += [ "ENABLE_SCREEN_CAPTURE=1" ] 208 defines += [ "ENABLE_SCREEN_CAPTURE=1" ]
210 deps += [ "//third_party/webrtc/modules/desktop_capture" ] 209 deps += [ "//third_party/webrtc/modules/desktop_capture" ]
211 } 210 }
212 } 211 }
213 212
214 if (is_win) { 213 if (is_win) {
215 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] 214 sources -= [
215 "device_sensors/data_fetcher_shared_memory_default.cc",
216 "geolocation/empty_wifi_data_provider.cc",
217 ]
216 defines += [ 218 defines += [
217 # This prevents the inclusion of atlhost.h which paired 219 # This prevents the inclusion of atlhost.h which paired
218 # with the windows 8 sdk it does the wrong thing. 220 # with the windows 8 sdk it does the wrong thing.
219 "__ATLHOST_H__", 221 "__ATLHOST_H__",
220 ] 222 ]
221 deps += [ 223 deps += [
222 "//third_party/iaccessible2", 224 "//third_party/iaccessible2",
223 "//third_party/isimpledom", 225 "//third_party/isimpledom",
224 ] 226 ]
225 libs += [ 227 libs += [
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 286
285 if (is_linux && use_aura) { 287 if (is_linux && use_aura) {
286 deps += [ "//build/linux:fontconfig" ] 288 deps += [ "//build/linux:fontconfig" ]
287 } 289 }
288 290
289 if (use_x11) { 291 if (use_x11) {
290 configs += [ "//build/config/linux:x11" ] 292 configs += [ "//build/config/linux:x11" ]
291 deps += [ "//ui/gfx/x" ] 293 deps += [ "//ui/gfx/x" ]
292 } 294 }
293 295
296 # Dealing with *wifi_data_provider_*.cc is also a bit complicated given
297 # android, chromeos, linux and use_dbus.
298 if (is_android) {
299 sources -= [ "geolocation/wifi_data_provider_common.cc" ]
300 }
301 if (is_chromeos || (is_linux && !use_dbus)) {
302 sources -= [ "geolocation/wifi_data_provider_linux.cc" ]
303 }
304 if (is_linux && use_dbus) {
305 sources -= [ "geolocation/empty_wifi_data_provider.cc" ]
306 }
307
294 if (use_pango) { 308 if (use_pango) {
295 configs += [ "//build/config/linux/pangocairo" ] 309 configs += [ "//build/config/linux/pangocairo" ]
296 } 310 }
297 311
298 if (is_android) { 312 if (is_android) {
299 sources += rebase_path(content_browser_gypi_values.android_browser_sources, 313 sources += rebase_path(content_browser_gypi_values.android_browser_sources,
300 ".", 314 ".",
301 "//content") 315 "//content")
302 sources -= [ 316 sources -= [
303 "browser_ipc_logging.cc", 317 "browser_ipc_logging.cc",
304 "device_sensors/data_fetcher_shared_memory_default.cc", 318 "device_sensors/data_fetcher_shared_memory_default.cc",
319 "geolocation/network_location_provider.cc",
320 "geolocation/network_location_provider.h",
321 "geolocation/network_location_request.cc",
322 "geolocation/network_location_request.h",
305 "media/session/media_session_delegate_default.cc", 323 "media/session/media_session_delegate_default.cc",
306 "power_usage_monitor_impl.cc", 324 "power_usage_monitor_impl.cc",
307 "power_usage_monitor_impl.h", 325 "power_usage_monitor_impl.h",
308 "tracing/tracing_ui.cc", 326 "tracing/tracing_ui.cc",
309 "tracing/tracing_ui.h", 327 "tracing/tracing_ui.h",
310 328
311 # Android skips most, but not all, of the speech code. 329 # Android skips most, but not all, of the speech code.
312 "speech/audio_buffer.cc", 330 "speech/audio_buffer.cc",
313 "speech/audio_buffer.h", 331 "speech/audio_buffer.h",
314 "speech/audio_encoder.cc", 332 "speech/audio_encoder.cc",
(...skipping 19 matching lines...) Expand all
334 "//media/capture/video/android", 352 "//media/capture/video/android",
335 "//media/mojo/interfaces", 353 "//media/mojo/interfaces",
336 "//mojo/android:libsystem_java", 354 "//mojo/android:libsystem_java",
337 "//ui/android", 355 "//ui/android",
338 ] 356 ]
339 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ] 357 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ]
340 libs += [ "jnigraphics" ] 358 libs += [ "jnigraphics" ]
341 } 359 }
342 360
343 if (is_mac) { 361 if (is_mac) {
344 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] 362 sources -= [
363 "device_sensors/data_fetcher_shared_memory_default.cc",
364 "geolocation/empty_wifi_data_provider.cc",
365 "geolocation/empty_wifi_data_provider.h",
366 ]
345 deps += [ 367 deps += [
346 "//media", 368 "//media",
347 "//sandbox/mac:sandbox", 369 "//sandbox/mac:sandbox",
348 "//third_party/mozilla", 370 "//third_party/mozilla",
349 "//third_party/sudden_motion_sensor", 371 "//third_party/sudden_motion_sensor",
350 "//ui/accelerated_widget_mac", 372 "//ui/accelerated_widget_mac",
351 ] 373 ]
352 libs += [ 374 libs += [
353 "Carbon.framework", 375 "Carbon.framework",
354 "QuartzCore.framework", 376 "QuartzCore.framework",
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 if (!is_component_build) { 528 if (!is_component_build) {
507 public_deps = [ 529 public_deps = [
508 ":browser", 530 ":browser",
509 ] 531 ]
510 } else { 532 } else {
511 public_deps = [ 533 public_deps = [
512 "//third_party/leveldatabase", 534 "//third_party/leveldatabase",
513 ] 535 ]
514 } 536 }
515 } 537 }
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