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

Unified Diff: webrtc/modules/desktop_capture/BUILD.gn

Issue 2500883004: Add DesktopFrame rotation functions (Closed)
Patch Set: Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/desktop_capture/BUILD.gn
diff --git a/webrtc/modules/desktop_capture/BUILD.gn b/webrtc/modules/desktop_capture/BUILD.gn
index b43d90513455a3f71dd3ffd85e71047de4083bb4..91c9d8b2e7a6b5e3b5a545e117831c79b8463313 100644
--- a/webrtc/modules/desktop_capture/BUILD.gn
+++ b/webrtc/modules/desktop_capture/BUILD.gn
@@ -21,6 +21,8 @@ rtc_static_library("primitives") {
"desktop_geometry.h",
"desktop_region.cc",
"desktop_region.h",
+ "rgba_color.cc",
+ "rgba_color.h",
"shared_desktop_frame.cc",
"shared_desktop_frame.h",
]
@@ -31,24 +33,11 @@ rtc_static_library("primitives") {
}
if (rtc_include_tests) {
- source_set("rgba_color") {
- testonly = true
-
- public_deps = [
- ":desktop_capture",
- ]
-
- sources = [
- "rgba_color.cc",
- "rgba_color.h",
- ]
- }
-
source_set("screen_drawer") {
testonly = true
public_deps = [
- ":rgba_color",
+ ":primitives",
]
sources = [
@@ -65,7 +54,7 @@ if (rtc_include_tests) {
public_deps = [
":desktop_capture",
- ":rgba_color",
+ ":primitives",
"//testing/gmock",
]
@@ -94,6 +83,8 @@ rtc_static_library("desktop_capture") {
"desktop_capture_options.h",
"desktop_capturer.cc",
"desktop_capturer.h",
+ "desktop_frame_rotator.cc",
+ "desktop_frame_rotator.h",
"desktop_frame_win.cc",
"desktop_frame_win.h",
"mac/desktop_configuration.h",

Powered by Google App Engine
This is Rietveld 408576698