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

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

Issue 1164563003: Extract device_sensors to /device via Mojofication (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « components/shared_memory_seqlock/shared_memory_seqlock_reader.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/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//content/browser/browser.gni") 8 import("//content/browser/browser.gni")
9 import("//media/media_options.gni") 9 import("//media/media_options.gni")
10 10
(...skipping 13 matching lines...) Expand all
24 "//components/mime_util", 24 "//components/mime_util",
25 "//content:resources", 25 "//content:resources",
26 "//content/browser/background_sync:background_sync_proto", 26 "//content/browser/background_sync:background_sync_proto",
27 "//content/browser/cache_storage:cache_storage_proto", 27 "//content/browser/cache_storage:cache_storage_proto",
28 "//content/browser/notifications:notification_proto", 28 "//content/browser/notifications:notification_proto",
29 "//content/browser/service_worker:service_worker_proto", 29 "//content/browser/service_worker:service_worker_proto",
30 "//content/browser/speech/proto", 30 "//content/browser/speech/proto",
31 "//content/public/common:common_sources", 31 "//content/public/common:common_sources",
32 "//crypto", 32 "//crypto",
33 "//device/battery", 33 "//device/battery",
34 "//device/device_sensors",
34 "//device/vibration", 35 "//device/vibration",
35 "//google_apis", 36 "//google_apis",
36 "//net", 37 "//net",
37 "//skia", 38 "//skia",
38 "//sql", 39 "//sql",
39 "//third_party/npapi", 40 "//third_party/npapi",
40 "//third_party/re2", 41 "//third_party/re2",
41 "//third_party/WebKit/public:blink_headers", 42 "//third_party/WebKit/public:blink_headers",
42 "//third_party/zlib", 43 "//third_party/zlib",
43 "//third_party/zlib:zip", 44 "//third_party/zlib:zip",
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 "media/capture/desktop_capture_device_aura.h", 194 "media/capture/desktop_capture_device_aura.h",
194 ] 195 ]
195 } 196 }
196 defines += [ "ENABLE_SCREEN_CAPTURE=1" ] 197 defines += [ "ENABLE_SCREEN_CAPTURE=1" ]
197 deps += [ "//third_party/webrtc/modules/desktop_capture" ] 198 deps += [ "//third_party/webrtc/modules/desktop_capture" ]
198 } 199 }
199 } 200 }
200 201
201 if (is_win) { 202 if (is_win) {
202 sources -= [ 203 sources -= [
203 "device_sensors/data_fetcher_shared_memory_default.cc",
204 "geolocation/empty_wifi_data_provider.cc", 204 "geolocation/empty_wifi_data_provider.cc",
205 ] 205 ]
206 defines += [ 206 defines += [
207 # This prevents the inclusion of atlhost.h which paired 207 # This prevents the inclusion of atlhost.h which paired
208 # with the windows 8 sdk it does the wrong thing. 208 # with the windows 8 sdk it does the wrong thing.
209 "__ATLHOST_H__", 209 "__ATLHOST_H__",
210 ] 210 ]
211 deps += [ 211 deps += [
212 "//third_party/iaccessible2", 212 "//third_party/iaccessible2",
213 "//third_party/isimpledom", 213 "//third_party/isimpledom",
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 if (use_pango) { 304 if (use_pango) {
305 configs += [ "//build/config/linux:pangocairo" ] 305 configs += [ "//build/config/linux:pangocairo" ]
306 } 306 }
307 307
308 if (is_android) { 308 if (is_android) {
309 sources += rebase_path(content_browser_gypi_values.android_browser_sources, 309 sources += rebase_path(content_browser_gypi_values.android_browser_sources,
310 ".", 310 ".",
311 "//content") 311 "//content")
312 sources -= [ 312 sources -= [
313 "browser_ipc_logging.cc", 313 "browser_ipc_logging.cc",
314 "device_sensors/data_fetcher_shared_memory_default.cc",
315 "geolocation/network_location_provider.cc", 314 "geolocation/network_location_provider.cc",
316 "geolocation/network_location_provider.h", 315 "geolocation/network_location_provider.h",
317 "geolocation/network_location_request.cc", 316 "geolocation/network_location_request.cc",
318 "geolocation/network_location_request.h", 317 "geolocation/network_location_request.h",
319 "renderer_host/begin_frame_observer_proxy.cc", 318 "renderer_host/begin_frame_observer_proxy.cc",
320 "tracing/tracing_ui.cc", 319 "tracing/tracing_ui.cc",
321 "tracing/tracing_ui.h", 320 "tracing/tracing_ui.h",
322 321
323 # Android skips most, but not all, of the speech code. 322 # Android skips most, but not all, of the speech code.
324 "speech/audio_buffer.cc", 323 "speech/audio_buffer.cc",
(...skipping 21 matching lines...) Expand all
346 "//content/public/android:jni", 345 "//content/public/android:jni",
347 "//media", 346 "//media",
348 "//mojo/android:libsystem_java", 347 "//mojo/android:libsystem_java",
349 "//ui/android", 348 "//ui/android",
350 ] 349 ]
351 libs += [ "jnigraphics" ] 350 libs += [ "jnigraphics" ]
352 } 351 }
353 352
354 if (is_mac) { 353 if (is_mac) {
355 sources -= [ 354 sources -= [
356 "device_sensors/data_fetcher_shared_memory_default.cc",
357 "geolocation/empty_wifi_data_provider.cc", 355 "geolocation/empty_wifi_data_provider.cc",
358 "geolocation/empty_wifi_data_provider.h", 356 "geolocation/empty_wifi_data_provider.h",
359 ] 357 ]
360 deps += [ 358 deps += [
361 "//sandbox/mac:sandbox", 359 "//sandbox/mac:sandbox",
362 "//third_party/mozilla", 360 "//third_party/mozilla",
363 "//third_party/sudden_motion_sensor",
364 "//ui/accelerated_widget_mac", 361 "//ui/accelerated_widget_mac",
365 ] 362 ]
366 libs += [ 363 libs += [
367 "bsm", 364 "bsm",
368 "QTKit.framework", 365 "QTKit.framework",
369 ] 366 ]
370 } 367 }
371 368
372 if (is_chromeos) { 369 if (is_chromeos) {
373 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ]
374 deps += [ 370 deps += [
375 "//chromeos", 371 "//chromeos",
376 "//chromeos:power_manager_proto", 372 "//chromeos:power_manager_proto",
377 ] 373 ]
378 } 374 }
379 375
380 if (use_aura) { 376 if (use_aura) {
381 deps += [ 377 deps += [
382 "//ui/aura", 378 "//ui/aura",
383 "//ui/aura_extra", 379 "//ui/aura_extra",
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 } 454 }
459 455
460 if (is_linux && use_openssl) { 456 if (is_linux && use_openssl) {
461 deps += [ "//third_party/boringssl" ] 457 deps += [ "//third_party/boringssl" ]
462 } 458 }
463 459
464 if (enable_media_mojo_renderer) { 460 if (enable_media_mojo_renderer) {
465 deps += [ "//media/mojo/services:renderer_service" ] 461 deps += [ "//media/mojo/services:renderer_service" ]
466 } 462 }
467 } 463 }
OLDNEW
« no previous file with comments | « components/shared_memory_seqlock/shared_memory_seqlock_reader.cc ('k') | content/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698