OLD | NEW |
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 Loading... |
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", |
66 "//device/power_save_blocker", | 67 "//device/power_save_blocker", |
67 "//device/vibration", | 68 "//device/vibration", |
68 "//gin", | 69 "//gin", |
69 "//google_apis", | 70 "//google_apis", |
70 "//gpu", | 71 "//gpu", |
71 "//gpu/command_buffer/client:gles2_implementation", | 72 "//gpu/command_buffer/client:gles2_implementation", |
72 "//gpu/command_buffer/client:gles2_interface", | 73 "//gpu/command_buffer/client:gles2_interface", |
73 "//media", | 74 "//media", |
74 "//media/capture", | 75 "//media/capture", |
75 "//media/gpu/ipc/client", | 76 "//media/gpu/ipc/client", |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 "media/capture/desktop_capture_device_aura.cc", | 205 "media/capture/desktop_capture_device_aura.cc", |
205 "media/capture/desktop_capture_device_aura.h", | 206 "media/capture/desktop_capture_device_aura.h", |
206 ] | 207 ] |
207 } | 208 } |
208 defines += [ "ENABLE_SCREEN_CAPTURE=1" ] | 209 defines += [ "ENABLE_SCREEN_CAPTURE=1" ] |
209 deps += [ "//third_party/webrtc/modules/desktop_capture" ] | 210 deps += [ "//third_party/webrtc/modules/desktop_capture" ] |
210 } | 211 } |
211 } | 212 } |
212 | 213 |
213 if (is_win) { | 214 if (is_win) { |
214 sources -= [ | 215 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] |
215 "device_sensors/data_fetcher_shared_memory_default.cc", | |
216 "geolocation/empty_wifi_data_provider.cc", | |
217 ] | |
218 defines += [ | 216 defines += [ |
219 # This prevents the inclusion of atlhost.h which paired | 217 # This prevents the inclusion of atlhost.h which paired |
220 # with the windows 8 sdk it does the wrong thing. | 218 # with the windows 8 sdk it does the wrong thing. |
221 "__ATLHOST_H__", | 219 "__ATLHOST_H__", |
222 ] | 220 ] |
223 deps += [ | 221 deps += [ |
224 "//third_party/iaccessible2", | 222 "//third_party/iaccessible2", |
225 "//third_party/isimpledom", | 223 "//third_party/isimpledom", |
226 ] | 224 ] |
227 libs += [ | 225 libs += [ |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 | 290 |
293 if (is_linux && use_aura) { | 291 if (is_linux && use_aura) { |
294 deps += [ "//build/linux:fontconfig" ] | 292 deps += [ "//build/linux:fontconfig" ] |
295 } | 293 } |
296 | 294 |
297 if (use_x11) { | 295 if (use_x11) { |
298 configs += [ "//build/config/linux:x11" ] | 296 configs += [ "//build/config/linux:x11" ] |
299 deps += [ "//ui/gfx/x" ] | 297 deps += [ "//ui/gfx/x" ] |
300 } | 298 } |
301 | 299 |
302 # Dealing with *wifi_data_provider_*.cc is also a bit complicated given | |
303 # android, chromeos, linux and use_dbus. | |
304 if (is_android) { | |
305 sources -= [ "geolocation/wifi_data_provider_common.cc" ] | |
306 } | |
307 if (is_chromeos || (is_linux && !use_dbus)) { | |
308 sources -= [ "geolocation/wifi_data_provider_linux.cc" ] | |
309 } | |
310 if (is_linux && use_dbus) { | |
311 sources -= [ "geolocation/empty_wifi_data_provider.cc" ] | |
312 } | |
313 | |
314 if (use_pango) { | 300 if (use_pango) { |
315 configs += [ "//build/config/linux/pangocairo" ] | 301 configs += [ "//build/config/linux/pangocairo" ] |
316 } | 302 } |
317 | 303 |
318 if (is_android) { | 304 if (is_android) { |
319 sources += rebase_path(content_browser_gypi_values.android_browser_sources, | 305 sources += rebase_path(content_browser_gypi_values.android_browser_sources, |
320 ".", | 306 ".", |
321 "//content") | 307 "//content") |
322 sources -= [ | 308 sources -= [ |
323 "browser_ipc_logging.cc", | 309 "browser_ipc_logging.cc", |
324 "device_sensors/data_fetcher_shared_memory_default.cc", | 310 "device_sensors/data_fetcher_shared_memory_default.cc", |
325 "geolocation/network_location_provider.cc", | |
326 "geolocation/network_location_provider.h", | |
327 "geolocation/network_location_request.cc", | |
328 "geolocation/network_location_request.h", | |
329 "media/session/media_session_delegate_default.cc", | 311 "media/session/media_session_delegate_default.cc", |
330 "power_usage_monitor_impl.cc", | 312 "power_usage_monitor_impl.cc", |
331 "power_usage_monitor_impl.h", | 313 "power_usage_monitor_impl.h", |
332 "tracing/tracing_ui.cc", | 314 "tracing/tracing_ui.cc", |
333 "tracing/tracing_ui.h", | 315 "tracing/tracing_ui.h", |
334 | 316 |
335 # Android skips most, but not all, of the speech code. | 317 # Android skips most, but not all, of the speech code. |
336 "speech/audio_buffer.cc", | 318 "speech/audio_buffer.cc", |
337 "speech/audio_buffer.h", | 319 "speech/audio_buffer.h", |
338 "speech/audio_encoder.cc", | 320 "speech/audio_encoder.cc", |
(...skipping 19 matching lines...) Expand all Loading... |
358 "//media/capture/video/android", | 340 "//media/capture/video/android", |
359 "//media/mojo/interfaces", | 341 "//media/mojo/interfaces", |
360 "//mojo/android:libsystem_java", | 342 "//mojo/android:libsystem_java", |
361 "//ui/android", | 343 "//ui/android", |
362 ] | 344 ] |
363 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ] | 345 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ] |
364 libs += [ "jnigraphics" ] | 346 libs += [ "jnigraphics" ] |
365 } | 347 } |
366 | 348 |
367 if (is_mac) { | 349 if (is_mac) { |
368 sources -= [ | 350 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] |
369 "device_sensors/data_fetcher_shared_memory_default.cc", | |
370 "geolocation/empty_wifi_data_provider.cc", | |
371 "geolocation/empty_wifi_data_provider.h", | |
372 ] | |
373 deps += [ | 351 deps += [ |
374 "//media", | 352 "//media", |
375 "//sandbox/mac:sandbox", | 353 "//sandbox/mac:sandbox", |
376 "//third_party/mozilla", | 354 "//third_party/mozilla", |
377 "//third_party/sudden_motion_sensor", | 355 "//third_party/sudden_motion_sensor", |
378 "//ui/accelerated_widget_mac", | 356 "//ui/accelerated_widget_mac", |
379 ] | 357 ] |
380 libs += [ | 358 libs += [ |
381 "Carbon.framework", | 359 "Carbon.framework", |
382 "QuartzCore.framework", | 360 "QuartzCore.framework", |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 if (!is_component_build) { | 512 if (!is_component_build) { |
535 public_deps = [ | 513 public_deps = [ |
536 ":browser", | 514 ":browser", |
537 ] | 515 ] |
538 } else { | 516 } else { |
539 public_deps = [ | 517 public_deps = [ |
540 "//third_party/leveldatabase", | 518 "//third_party/leveldatabase", |
541 ] | 519 ] |
542 } | 520 } |
543 } | 521 } |
OLD | NEW |