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

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

Issue 2123863004: ScreenCapture for Android phase1, part II (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add a new infobarDelegate for screen capture Created 4 years, 3 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
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/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 1419 matching lines...) Expand 10 before | Expand all | Expand 10 after
1430 ] 1430 ]
1431 1431
1432 deps += [ 1432 deps += [
1433 "//jingle:jingle_glue", 1433 "//jingle:jingle_glue",
1434 "//third_party/libjingle:libjingle_webrtc", 1434 "//third_party/libjingle:libjingle_webrtc",
1435 "//third_party/webrtc", 1435 "//third_party/webrtc",
1436 "//third_party/webrtc/base:rtc_base", 1436 "//third_party/webrtc/base:rtc_base",
1437 "//third_party/webrtc/media:rtc_media", 1437 "//third_party/webrtc/media:rtc_media",
1438 "//third_party/webrtc/modules/desktop_capture:primitives", 1438 "//third_party/webrtc/modules/desktop_capture:primitives",
1439 ] 1439 ]
1440 if (!is_ios) {
1441 defines += [ "ENABLE_SCREEN_CAPTURE=1" ]
1442 }
1440 if (is_linux || is_mac || is_win) { 1443 if (is_linux || is_mac || is_win) {
1441 sources += [ 1444 sources += [
1442 "media/capture/desktop_capture_device.cc", 1445 "media/capture/desktop_capture_device.cc",
1443 "media/capture/desktop_capture_device.h", 1446 "media/capture/desktop_capture_device.h",
1444 ] 1447 ]
1445 if (use_aura) { 1448 if (use_aura) {
1446 sources += [ 1449 sources += [
1447 "media/capture/aura_window_capture_machine.cc", 1450 "media/capture/aura_window_capture_machine.cc",
1448 "media/capture/aura_window_capture_machine.h", 1451 "media/capture/aura_window_capture_machine.h",
1449 "media/capture/desktop_capture_device_aura.cc", 1452 "media/capture/desktop_capture_device_aura.cc",
1450 "media/capture/desktop_capture_device_aura.h", 1453 "media/capture/desktop_capture_device_aura.h",
1451 ] 1454 ]
1452 } 1455 }
1453 defines += [ "ENABLE_SCREEN_CAPTURE=1" ]
1454 deps += [ "//third_party/webrtc/modules/desktop_capture" ] 1456 deps += [ "//third_party/webrtc/modules/desktop_capture" ]
1455 } 1457 }
1456 } 1458 }
1457 1459
1458 if (is_win) { 1460 if (is_win) {
1459 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] 1461 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ]
1460 defines += [ 1462 defines += [
1461 # This prevents the inclusion of atlhost.h which paired 1463 # This prevents the inclusion of atlhost.h which paired
1462 # with the windows 8 sdk it does the wrong thing. 1464 # with the windows 8 sdk it does the wrong thing.
1463 "__ATLHOST_H__", 1465 "__ATLHOST_H__",
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
1926 if (!is_component_build) { 1928 if (!is_component_build) {
1927 public_deps = [ 1929 public_deps = [
1928 ":browser", 1930 ":browser",
1929 ] 1931 ]
1930 } else { 1932 } else {
1931 public_deps = [ 1933 public_deps = [
1932 "//third_party/leveldatabase", 1934 "//third_party/leveldatabase",
1933 ] 1935 ]
1934 } 1936 }
1935 } 1937 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698