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

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

Issue 2731803002: content/browser should depend on webrtc_overrides:init_webrtc (Closed)
Patch Set: Sync latest changes Created 3 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//gpu/vulkan/features.gni") 8 import("//gpu/vulkan/features.gni")
9 import("//media/media_options.gni") 9 import("//media/media_options.gni")
10 import("//ppapi/features/features.gni") 10 import("//ppapi/features/features.gni")
(...skipping 1634 matching lines...) Expand 10 before | Expand all | Expand 10 after
1645 "webrtc/webrtc_internals_ui.cc", 1645 "webrtc/webrtc_internals_ui.cc",
1646 "webrtc/webrtc_internals_ui.h", 1646 "webrtc/webrtc_internals_ui.h",
1647 "webrtc/webrtc_internals_ui_observer.h", 1647 "webrtc/webrtc_internals_ui_observer.h",
1648 ] 1648 ]
1649 1649
1650 deps += [ 1650 deps += [
1651 "//jingle:jingle_glue", 1651 "//jingle:jingle_glue",
1652 "//third_party/webrtc/media:rtc_media_base", 1652 "//third_party/webrtc/media:rtc_media_base",
1653 "//third_party/webrtc/modules/desktop_capture:primitives", 1653 "//third_party/webrtc/modules/desktop_capture:primitives",
1654 "//third_party/webrtc/rtc_base:rtc_base", 1654 "//third_party/webrtc/rtc_base:rtc_base",
1655 "//third_party/webrtc_overrides:init_webrtc",
1656 ] 1655 ]
1657 } 1656 }
1658 1657
1659 # Desktop screen capture implementations, conditionally built depending on 1658 # Desktop screen capture implementations, conditionally built depending on
1660 # the available implementations for each platform. 1659 # the available implementations for each platform.
1661 if (is_linux || is_mac || is_win) { 1660 if (is_linux || is_mac || is_win) {
1662 defines += [ "ENABLE_SCREEN_CAPTURE=1" ] 1661 defines += [ "ENABLE_SCREEN_CAPTURE=1" ]
1663 sources += [ 1662 sources += [
1664 "media/capture/cursor_renderer.cc", 1663 "media/capture/cursor_renderer.cc",
1665 "media/capture/cursor_renderer.h", 1664 "media/capture/cursor_renderer.h",
(...skipping 22 matching lines...) Expand all
1688 "media/capture/window_activity_tracker_mac.mm", 1687 "media/capture/window_activity_tracker_mac.mm",
1689 ] 1688 ]
1690 deps += [ "//sandbox/mac:seatbelt" ] 1689 deps += [ "//sandbox/mac:seatbelt" ]
1691 } 1690 }
1692 if (enable_webrtc) { 1691 if (enable_webrtc) {
1693 sources += [ 1692 sources += [
1694 "media/capture/desktop_capture_device.cc", 1693 "media/capture/desktop_capture_device.cc",
1695 "media/capture/desktop_capture_device.h", 1694 "media/capture/desktop_capture_device.h",
1696 ] 1695 ]
1697 deps += [ "//third_party/webrtc/modules/desktop_capture" ] 1696 deps += [ "//third_party/webrtc/modules/desktop_capture" ]
1697 public_deps += [ "//third_party/webrtc_overrides:init_webrtc" ]
1698 } 1698 }
1699 } 1699 }
1700 1700
1701 if (is_win) { 1701 if (is_win) {
1702 defines += [ 1702 defines += [
1703 # This prevents the inclusion of atlhost.h which paired 1703 # This prevents the inclusion of atlhost.h which paired
1704 # with the windows 8 sdk it does the wrong thing. 1704 # with the windows 8 sdk it does the wrong thing.
1705 "__ATLHOST_H__", 1705 "__ATLHOST_H__",
1706 ] 1706 ]
1707 deps += [ 1707 deps += [
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
2168 if (!is_component_build) { 2168 if (!is_component_build) {
2169 public_deps = [ 2169 public_deps = [
2170 ":browser", 2170 ":browser",
2171 ] 2171 ]
2172 } else { 2172 } else {
2173 public_deps = [ 2173 public_deps = [
2174 "//third_party/leveldatabase", 2174 "//third_party/leveldatabase",
2175 ] 2175 ]
2176 } 2176 }
2177 } 2177 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698