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

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: address comments Created 4 years, 2 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 1440 matching lines...) Expand 10 before | Expand all | Expand 10 after
1451 ] 1451 ]
1452 1452
1453 deps += [ 1453 deps += [
1454 "//jingle:jingle_glue", 1454 "//jingle:jingle_glue",
1455 "//third_party/libjingle:libjingle_webrtc", 1455 "//third_party/libjingle:libjingle_webrtc",
1456 "//third_party/webrtc", 1456 "//third_party/webrtc",
1457 "//third_party/webrtc/base:rtc_base", 1457 "//third_party/webrtc/base:rtc_base",
1458 "//third_party/webrtc/media:rtc_media", 1458 "//third_party/webrtc/media:rtc_media",
1459 "//third_party/webrtc/modules/desktop_capture:primitives", 1459 "//third_party/webrtc/modules/desktop_capture:primitives",
1460 ] 1460 ]
1461 if (!is_ios) {
1462 defines += [ "ENABLE_SCREEN_CAPTURE=1" ]
1463 }
1461 if (is_linux || is_mac || is_win) { 1464 if (is_linux || is_mac || is_win) {
1462 sources += [ 1465 sources += [
1463 "media/capture/desktop_capture_device.cc", 1466 "media/capture/desktop_capture_device.cc",
1464 "media/capture/desktop_capture_device.h", 1467 "media/capture/desktop_capture_device.h",
1465 ] 1468 ]
1466 if (use_aura) { 1469 if (use_aura) {
1467 sources += [ 1470 sources += [
1468 "media/capture/aura_window_capture_machine.cc", 1471 "media/capture/aura_window_capture_machine.cc",
1469 "media/capture/aura_window_capture_machine.h", 1472 "media/capture/aura_window_capture_machine.h",
1470 "media/capture/desktop_capture_device_aura.cc", 1473 "media/capture/desktop_capture_device_aura.cc",
1471 "media/capture/desktop_capture_device_aura.h", 1474 "media/capture/desktop_capture_device_aura.h",
1472 ] 1475 ]
1473 } 1476 }
1474 defines += [ "ENABLE_SCREEN_CAPTURE=1" ]
1475 deps += [ "//third_party/webrtc/modules/desktop_capture" ] 1477 deps += [ "//third_party/webrtc/modules/desktop_capture" ]
1476 } 1478 }
1477 } 1479 }
1478 1480
1479 if (is_win) { 1481 if (is_win) {
1480 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] 1482 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ]
1481 defines += [ 1483 defines += [
1482 # This prevents the inclusion of atlhost.h which paired 1484 # This prevents the inclusion of atlhost.h which paired
1483 # with the windows 8 sdk it does the wrong thing. 1485 # with the windows 8 sdk it does the wrong thing.
1484 "__ATLHOST_H__", 1486 "__ATLHOST_H__",
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
1947 if (!is_component_build) { 1949 if (!is_component_build) {
1948 public_deps = [ 1950 public_deps = [
1949 ":browser", 1951 ":browser",
1950 ] 1952 ]
1951 } else { 1953 } else {
1952 public_deps = [ 1954 public_deps = [
1953 "//third_party/leveldatabase", 1955 "//third_party/leveldatabase",
1954 ] 1956 ]
1955 } 1957 }
1956 } 1958 }
OLDNEW
« no previous file with comments | « components/infobars/core/infobar_delegate.h ('k') | content/browser/renderer_host/media/video_capture_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698