Chromium Code Reviews| 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_linux || is_mac || is_win) { | 199 if (is_linux || is_mac || is_win || is_android) { |
|
Sergey Ulanov
2016/08/19 05:54:15
I think you want to keep this line as it was befor
braveyao
2016/08/23 21:18:54
Done.
I suppose we still need to exclude ios, rig
| |
| 200 sources += [ | 200 sources += [ |
| 201 "media/capture/desktop_capture_device.cc", | 201 "media/capture/desktop_capture_device.cc", |
|
Sergey Ulanov
2016/08/19 05:54:15
This class is not useful on android (because you a
braveyao
2016/08/23 21:18:54
Done.
| |
| 202 "media/capture/desktop_capture_device.h", | 202 "media/capture/desktop_capture_device.h", |
| 203 ] | 203 ] |
| 204 if (use_aura) { | 204 if (use_aura) { |
| 205 sources += [ | 205 sources += [ |
| 206 "media/capture/aura_window_capture_machine.cc", | 206 "media/capture/aura_window_capture_machine.cc", |
| 207 "media/capture/aura_window_capture_machine.h", | 207 "media/capture/aura_window_capture_machine.h", |
| 208 "media/capture/desktop_capture_device_aura.cc", | 208 "media/capture/desktop_capture_device_aura.cc", |
| 209 "media/capture/desktop_capture_device_aura.h", | 209 "media/capture/desktop_capture_device_aura.h", |
| 210 ] | 210 ] |
| 211 } | 211 } |
| 212 defines += [ "ENABLE_SCREEN_CAPTURE=1" ] | 212 defines += [ "ENABLE_SCREEN_CAPTURE=1" ] |
|
Sergey Ulanov
2016/08/19 05:54:15
Just move this line out of the if block or remove
braveyao
2016/08/23 21:18:55
Done.
| |
| 213 deps += [ "//third_party/webrtc/modules/desktop_capture" ] | 213 deps += [ "//third_party/webrtc/modules/desktop_capture" ] |
|
Sergey Ulanov
2016/08/19 05:54:15
don't really need this on Android.
braveyao
2016/08/23 21:18:55
Done.
| |
| 214 } | 214 } |
| 215 } | 215 } |
| 216 | 216 |
| 217 if (is_win) { | 217 if (is_win) { |
| 218 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] | 218 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] |
| 219 defines += [ | 219 defines += [ |
| 220 # This prevents the inclusion of atlhost.h which paired | 220 # This prevents the inclusion of atlhost.h which paired |
| 221 # with the windows 8 sdk it does the wrong thing. | 221 # with the windows 8 sdk it does the wrong thing. |
| 222 "__ATLHOST_H__", | 222 "__ATLHOST_H__", |
| 223 ] | 223 ] |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 508 if (!is_component_build) { | 508 if (!is_component_build) { |
| 509 public_deps = [ | 509 public_deps = [ |
| 510 ":browser", | 510 ":browser", |
| 511 ] | 511 ] |
| 512 } else { | 512 } else { |
| 513 public_deps = [ | 513 public_deps = [ |
| 514 "//third_party/leveldatabase", | 514 "//third_party/leveldatabase", |
| 515 ] | 515 ] |
| 516 } | 516 } |
| 517 } | 517 } |
| OLD | NEW |