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

Side by Side Diff: remoting/client/display/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
(Empty)
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
3 # found in the LICENSE file.
4
5 source_set("display") {
6 sources = [
7 "gl_canvas.cc",
8 "gl_canvas.h",
9 "gl_cursor.cc",
10 "gl_cursor.h",
11 "gl_cursor_feedback.cc",
12 "gl_cursor_feedback.h",
13 "gl_cursor_feedback_texture.cc",
14 "gl_cursor_feedback_texture.h",
15 "gl_desktop.cc",
16 "gl_desktop.h",
17 "gl_helpers.cc",
18 "gl_helpers.h",
19 "gl_math.cc",
20 "gl_math.h",
21 "gl_render_layer.cc",
22 "gl_render_layer.h",
23 "gl_renderer.cc",
24 "gl_renderer.h",
25 ]
26
27 deps = [
28 "//remoting/proto",
29 "//third_party/libyuv",
30 "//third_party/webrtc/base:rtc_base",
31 ]
32
33 configs += [ "//third_party/khronos:khronos_headers" ]
34
35 if (is_linux) {
36 libs = [ "GL" ]
37 }
38
39 if (is_mac) {
40 libs = [ "OpenGL.framework" ]
41 }
42
43 if (is_ios) {
44 libs = [
45 "GLKit.framework",
46 "OpenGLES.framework",
47 ]
48 }
49
50 if (is_win) {
51 deps += [ "//third_party/angle:libGLESv2" ]
52 }
53 }
54
55 source_set("unit_tests") {
56 testonly = true
57
58 sources = [
59 "gl_renderer_unittest.cc",
60 ]
61
62 configs += [
63 "//remoting/build/config:version",
64 "//remoting/build/config:enable_webrtc_remoting_client",
65 ]
66
67 deps = [
68 ":display",
69 "//remoting/client",
Sergey Ulanov 2017/01/05 01:33:23 It looks wrong for remoting/client/display to depe
70 "//remoting/proto",
71 "//testing/gmock",
72 "//testing/gtest",
73 "//third_party/webrtc/base:rtc_base",
74 ]
75
76 if (is_win) {
77 # Windows clang builder fails to link the test binary with ANGLE GLESv2.
78 # crbug.com/642027
79 sources -= [ "gl_renderer_unittest.cc" ]
80 deps -= [ ":display" ]
81 }
82 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698