OLD | NEW |
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 source_set("display") { | 5 source_set("display") { |
6 sources = [ | 6 sources = [ |
| 7 "canvas.h", |
| 8 "drawable.h", |
7 "gl_canvas.cc", | 9 "gl_canvas.cc", |
8 "gl_canvas.h", | 10 "gl_canvas.h", |
9 "gl_cursor.cc", | 11 "gl_cursor.cc", |
10 "gl_cursor.h", | 12 "gl_cursor.h", |
11 "gl_cursor_feedback.cc", | 13 "gl_cursor_feedback.cc", |
12 "gl_cursor_feedback.h", | 14 "gl_cursor_feedback.h", |
13 "gl_cursor_feedback_texture.cc", | 15 "gl_cursor_feedback_texture.cc", |
14 "gl_cursor_feedback_texture.h", | 16 "gl_cursor_feedback_texture.h", |
15 "gl_desktop.cc", | 17 "gl_desktop.cc", |
16 "gl_desktop.h", | 18 "gl_desktop.h", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 | 51 |
50 if (is_win) { | 52 if (is_win) { |
51 deps += [ "//third_party/angle:libGLESv2" ] | 53 deps += [ "//third_party/angle:libGLESv2" ] |
52 } | 54 } |
53 } | 55 } |
54 | 56 |
55 source_set("unit_tests") { | 57 source_set("unit_tests") { |
56 testonly = true | 58 testonly = true |
57 | 59 |
58 sources = [ | 60 sources = [ |
| 61 "fake_canvas.cc", |
| 62 "fake_canvas.h", |
59 "gl_renderer_unittest.cc", | 63 "gl_renderer_unittest.cc", |
60 ] | 64 ] |
61 | 65 |
62 configs += [ | 66 configs += [ |
63 "//remoting/build/config:version", | 67 "//remoting/build/config:version", |
64 "//remoting/build/config:enable_webrtc_remoting_client", | 68 "//remoting/build/config:enable_webrtc_remoting_client", |
65 ] | 69 ] |
66 | 70 |
67 deps = [ | 71 deps = [ |
68 ":display", | 72 ":display", |
69 "//remoting/proto", | 73 "//remoting/proto", |
70 "//testing/gmock", | 74 "//testing/gmock", |
71 "//testing/gtest", | 75 "//testing/gtest", |
72 "//third_party/webrtc/base:rtc_base", | 76 "//third_party/webrtc/base:rtc_base", |
73 ] | 77 ] |
74 | 78 |
75 if (is_win) { | 79 if (is_win) { |
76 # Windows clang builder fails to link the test binary with ANGLE GLESv2. | 80 # Windows clang builder fails to link the test binary with ANGLE GLESv2. |
77 # crbug.com/642027 | 81 # crbug.com/642027 |
78 sources -= [ "gl_renderer_unittest.cc" ] | 82 sources -= [ "gl_renderer_unittest.cc" ] |
79 deps -= [ ":display" ] | 83 deps -= [ ":display" ] |
80 } | 84 } |
81 } | 85 } |
OLD | NEW |