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

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

Issue 2614443003: Moving the GL implementation details into a sub folder for client display. (Closed)
Patch Set: Minor typo with include cought by trybot. Created 3 years, 11 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 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 "server_log_entry_client.cc", 66 "server_log_entry_client.cc",
67 ] 67 ]
68 } else { 68 } else {
69 sources += [ 69 sources += [
70 "chromoting_client_runtime.cc", 70 "chromoting_client_runtime.cc",
71 "chromoting_client_runtime.h", 71 "chromoting_client_runtime.h",
72 ] 72 ]
73 } 73 }
74 } 74 }
75 75
76 source_set("opengl_renderer") {
77 sources = [
78 "gl_canvas.cc",
79 "gl_canvas.h",
80 "gl_cursor.cc",
81 "gl_cursor.h",
82 "gl_cursor_feedback.cc",
83 "gl_cursor_feedback.h",
84 "gl_cursor_feedback_texture.cc",
85 "gl_cursor_feedback_texture.h",
86 "gl_desktop.cc",
87 "gl_desktop.h",
88 "gl_helpers.cc",
89 "gl_helpers.h",
90 "gl_math.cc",
91 "gl_math.h",
92 "gl_render_layer.cc",
93 "gl_render_layer.h",
94 "gl_renderer.cc",
95 "gl_renderer.h",
96 ]
97
98 deps = [
99 "//remoting/proto",
100 "//third_party/libyuv",
101 "//third_party/webrtc/base:rtc_base",
102 ]
103
104 configs += [ "//third_party/khronos:khronos_headers" ]
105
106 if (is_linux) {
107 libs = [ "GL" ]
108 }
109
110 if (is_mac) {
111 libs = [ "OpenGL.framework" ]
112 }
113
114 if (is_ios) {
115 libs = [
116 "GLKit.framework",
117 "OpenGLES.framework",
118 ]
119 }
120
121 if (is_win) {
122 deps += [ "//third_party/angle:libGLESv2" ]
123 }
124 }
125
126 source_set("unit_tests") { 76 source_set("unit_tests") {
127 testonly = true 77 testonly = true
128 78
129 # Disabled the source filters because there are _mac files that need to 79 # Disabled the source filters because there are _mac files that need to
130 # be compiled on all platforms. 80 # be compiled on all platforms.
131 set_sources_assignment_filter([]) 81 set_sources_assignment_filter([])
132 sources = [ 82 sources = [
133 "audio_player_unittest.cc", 83 "audio_player_unittest.cc",
134 "chromoting_client_runtime_unittest.cc", 84 "chromoting_client_runtime_unittest.cc",
135 "client_status_logger_unittest.cc", 85 "client_status_logger_unittest.cc",
(...skipping 16 matching lines...) Expand all
152 "//remoting/build/config:enable_webrtc_remoting_client", 102 "//remoting/build/config:enable_webrtc_remoting_client",
153 ] 103 ]
154 104
155 deps = [ 105 deps = [
156 ":client", 106 ":client",
157 "//remoting/proto", 107 "//remoting/proto",
158 "//testing/gmock", 108 "//testing/gmock",
159 "//testing/gtest", 109 "//testing/gtest",
160 "//third_party/webrtc/base:rtc_base", 110 "//third_party/webrtc/base:rtc_base",
161 ] 111 ]
162
163 if (!is_win) {
164 # Windows clang builder fails to link the test binary with ANGLE GLESv2.
165 # crbug.com/642027
166 sources += [ "gl_renderer_unittest.cc" ]
167 deps += [ ":opengl_renderer" ]
168 }
169 } 112 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698