| 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 ".", | 189 ".", |
| 190 "//content") | 190 "//content") |
| 191 deps += [ | 191 deps += [ |
| 192 "//jingle:jingle_glue", | 192 "//jingle:jingle_glue", |
| 193 "//third_party/libjingle:libjingle_webrtc", | 193 "//third_party/libjingle:libjingle_webrtc", |
| 194 "//third_party/webrtc", | 194 "//third_party/webrtc", |
| 195 "//third_party/webrtc/base:rtc_base", | 195 "//third_party/webrtc/base:rtc_base", |
| 196 "//third_party/webrtc/media:rtc_media", | 196 "//third_party/webrtc/media:rtc_media", |
| 197 "//third_party/webrtc/modules/desktop_capture:primitives", | 197 "//third_party/webrtc/modules/desktop_capture:primitives", |
| 198 ] | 198 ] |
| 199 if (!is_ios) { |
| 200 defines += [ "ENABLE_SCREEN_CAPTURE=1" ] |
| 201 } |
| 199 if (is_linux || is_mac || is_win) { | 202 if (is_linux || is_mac || is_win) { |
| 200 sources += [ | 203 sources += [ |
| 201 "media/capture/desktop_capture_device.cc", | 204 "media/capture/desktop_capture_device.cc", |
| 202 "media/capture/desktop_capture_device.h", | 205 "media/capture/desktop_capture_device.h", |
| 203 ] | 206 ] |
| 204 if (use_aura) { | 207 if (use_aura) { |
| 205 sources += [ | 208 sources += [ |
| 206 "media/capture/aura_window_capture_machine.cc", | 209 "media/capture/aura_window_capture_machine.cc", |
| 207 "media/capture/aura_window_capture_machine.h", | 210 "media/capture/aura_window_capture_machine.h", |
| 208 "media/capture/desktop_capture_device_aura.cc", | 211 "media/capture/desktop_capture_device_aura.cc", |
| 209 "media/capture/desktop_capture_device_aura.h", | 212 "media/capture/desktop_capture_device_aura.h", |
| 210 ] | 213 ] |
| 211 } | 214 } |
| 212 defines += [ "ENABLE_SCREEN_CAPTURE=1" ] | |
| 213 deps += [ "//third_party/webrtc/modules/desktop_capture" ] | 215 deps += [ "//third_party/webrtc/modules/desktop_capture" ] |
| 214 } | 216 } |
| 215 } | 217 } |
| 216 | 218 |
| 217 if (is_win) { | 219 if (is_win) { |
| 218 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] | 220 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] |
| 219 defines += [ | 221 defines += [ |
| 220 # This prevents the inclusion of atlhost.h which paired | 222 # This prevents the inclusion of atlhost.h which paired |
| 221 # with the windows 8 sdk it does the wrong thing. | 223 # with the windows 8 sdk it does the wrong thing. |
| 222 "__ATLHOST_H__", | 224 "__ATLHOST_H__", |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 if (!is_component_build) { | 505 if (!is_component_build) { |
| 504 public_deps = [ | 506 public_deps = [ |
| 505 ":browser", | 507 ":browser", |
| 506 ] | 508 ] |
| 507 } else { | 509 } else { |
| 508 public_deps = [ | 510 public_deps = [ |
| 509 "//third_party/leveldatabase", | 511 "//third_party/leveldatabase", |
| 510 ] | 512 ] |
| 511 } | 513 } |
| 512 } | 514 } |
| OLD | NEW |