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("//media/media_options.gni") | 7 import("//media/media_options.gni") |
8 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 8 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
9 | 9 |
10 source_set("browser") { | 10 source_set("browser") { |
(...skipping 1436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1447 ] | 1447 ] |
1448 | 1448 |
1449 deps += [ | 1449 deps += [ |
1450 "//jingle:jingle_glue", | 1450 "//jingle:jingle_glue", |
1451 "//third_party/libjingle:libjingle_webrtc", | 1451 "//third_party/libjingle:libjingle_webrtc", |
1452 "//third_party/webrtc", | 1452 "//third_party/webrtc", |
1453 "//third_party/webrtc/base:rtc_base", | 1453 "//third_party/webrtc/base:rtc_base", |
1454 "//third_party/webrtc/media:rtc_media", | 1454 "//third_party/webrtc/media:rtc_media", |
1455 "//third_party/webrtc/modules/desktop_capture:primitives", | 1455 "//third_party/webrtc/modules/desktop_capture:primitives", |
1456 ] | 1456 ] |
| 1457 if (!is_ios) { |
| 1458 defines += [ "ENABLE_SCREEN_CAPTURE=1" ] |
| 1459 } |
1457 if (is_linux || is_mac || is_win) { | 1460 if (is_linux || is_mac || is_win) { |
1458 sources += [ | 1461 sources += [ |
1459 "media/capture/desktop_capture_device.cc", | 1462 "media/capture/desktop_capture_device.cc", |
1460 "media/capture/desktop_capture_device.h", | 1463 "media/capture/desktop_capture_device.h", |
1461 ] | 1464 ] |
1462 if (use_aura) { | 1465 if (use_aura) { |
1463 sources += [ | 1466 sources += [ |
1464 "media/capture/aura_window_capture_machine.cc", | 1467 "media/capture/aura_window_capture_machine.cc", |
1465 "media/capture/aura_window_capture_machine.h", | 1468 "media/capture/aura_window_capture_machine.h", |
1466 "media/capture/desktop_capture_device_aura.cc", | 1469 "media/capture/desktop_capture_device_aura.cc", |
1467 "media/capture/desktop_capture_device_aura.h", | 1470 "media/capture/desktop_capture_device_aura.h", |
1468 ] | 1471 ] |
1469 } | 1472 } |
1470 defines += [ "ENABLE_SCREEN_CAPTURE=1" ] | |
1471 deps += [ "//third_party/webrtc/modules/desktop_capture" ] | 1473 deps += [ "//third_party/webrtc/modules/desktop_capture" ] |
1472 } | 1474 } |
1473 } | 1475 } |
1474 | 1476 |
1475 if (is_win) { | 1477 if (is_win) { |
1476 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] | 1478 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] |
1477 defines += [ | 1479 defines += [ |
1478 # This prevents the inclusion of atlhost.h which paired | 1480 # This prevents the inclusion of atlhost.h which paired |
1479 # with the windows 8 sdk it does the wrong thing. | 1481 # with the windows 8 sdk it does the wrong thing. |
1480 "__ATLHOST_H__", | 1482 "__ATLHOST_H__", |
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1943 if (!is_component_build) { | 1945 if (!is_component_build) { |
1944 public_deps = [ | 1946 public_deps = [ |
1945 ":browser", | 1947 ":browser", |
1946 ] | 1948 ] |
1947 } else { | 1949 } else { |
1948 public_deps = [ | 1950 public_deps = [ |
1949 "//third_party/leveldatabase", | 1951 "//third_party/leveldatabase", |
1950 ] | 1952 ] |
1951 } | 1953 } |
1952 } | 1954 } |
OLD | NEW |