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

Side by Side Diff: remoting/client/BUILD.gn

Issue 2437453004: Removing the dependency on //third_party/webrtc:webrtc and replacing with rtc_base. (Closed)
Patch Set: Fixing :: typo. 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 unified diff | Download patch
« no previous file with comments | « remoting/BUILD.gn ('k') | remoting/codec/BUILD.gn » ('j') | 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 static_library("client") { 5 static_library("client") {
6 # Disabled the source filters because there are _mac files that need to 6 # Disabled the source filters because there are _mac files that need to
7 # be compiled on all platforms. 7 # be compiled on all platforms.
8 set_sources_assignment_filter([]) 8 set_sources_assignment_filter([])
9 9
10 sources = [ 10 sources = [
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 "gl_math.h", 91 "gl_math.h",
92 "gl_render_layer.cc", 92 "gl_render_layer.cc",
93 "gl_render_layer.h", 93 "gl_render_layer.h",
94 "gl_renderer.cc", 94 "gl_renderer.cc",
95 "gl_renderer.h", 95 "gl_renderer.h",
96 ] 96 ]
97 97
98 deps = [ 98 deps = [
99 "//remoting/proto", 99 "//remoting/proto",
100 "//third_party/libyuv", 100 "//third_party/libyuv",
101 "//third_party/webrtc", 101 "//third_party/webrtc/base:rtc_base",
102 ] 102 ]
103 103
104 configs += [ "//third_party/khronos:khronos_headers" ] 104 configs += [ "//third_party/khronos:khronos_headers" ]
105 105
106 if (is_linux) { 106 if (is_linux) {
107 libs = [ "GL" ] 107 libs = [ "GL" ]
108 } 108 }
109 109
110 if (is_mac) { 110 if (is_mac) {
111 libs = [ "OpenGL.framework" ] 111 libs = [ "OpenGL.framework" ]
112 } 112 }
113 113
114 if (is_ios) {
115 libs = [
116 "GLKit.framework",
117 "OpenGLES.framework",
118 ]
119 }
120
114 if (is_win) { 121 if (is_win) {
115 deps += [ "//third_party/angle:libGLESv2" ] 122 deps += [ "//third_party/angle:libGLESv2" ]
116 } 123 }
117 } 124 }
118 125
119 source_set("unit_tests") { 126 source_set("unit_tests") {
120 testonly = true 127 testonly = true
121 128
122 # Disabled the source filters because there are _mac files that need to 129 # Disabled the source filters because there are _mac files that need to
123 # be compiled on all platforms. 130 # be compiled on all platforms.
(...skipping 19 matching lines...) Expand all
143 configs += [ 150 configs += [
144 "//remoting/build/config:version", 151 "//remoting/build/config:version",
145 "//remoting/build/config:enable_webrtc_remoting_client", 152 "//remoting/build/config:enable_webrtc_remoting_client",
146 ] 153 ]
147 154
148 deps = [ 155 deps = [
149 ":client", 156 ":client",
150 "//remoting/proto", 157 "//remoting/proto",
151 "//testing/gmock", 158 "//testing/gmock",
152 "//testing/gtest", 159 "//testing/gtest",
153 "//third_party/webrtc", 160 "//third_party/webrtc/base:rtc_base",
154 ] 161 ]
155 162
156 if (!is_win) { 163 if (!is_win) {
157 # Windows clang builder fails to link the test binary with ANGLE GLESv2. 164 # Windows clang builder fails to link the test binary with ANGLE GLESv2.
158 # crbug.com/642027 165 # crbug.com/642027
159 sources += [ "gl_renderer_unittest.cc" ] 166 sources += [ "gl_renderer_unittest.cc" ]
160 deps += [ ":opengl_renderer" ] 167 deps += [ ":opengl_renderer" ]
161 } 168 }
162 } 169 }
OLDNEW
« no previous file with comments | « remoting/BUILD.gn ('k') | remoting/codec/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698