Chromium Code Reviews| 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 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 68 "server_log_entry_client.cc", | 68 "server_log_entry_client.cc", |
| 69 ] | 69 ] |
| 70 } else { | 70 } else { |
| 71 sources += [ | 71 sources += [ |
| 72 "chromoting_client_runtime.cc", | 72 "chromoting_client_runtime.cc", |
| 73 "chromoting_client_runtime.h", | 73 "chromoting_client_runtime.h", |
| 74 ] | 74 ] |
| 75 } | 75 } |
| 76 } | 76 } |
| 77 | 77 |
| 78 source_set("opengl_renderer") { | 78 if (!is_win) { |
|
Sergey Ulanov
2016/09/08 19:57:31
I don't think you really want to disable this sour
Yuwei
2016/09/08 20:35:31
Done.
| |
| 79 sources = [ | 79 source_set("opengl_renderer") { |
| 80 "gl_canvas.cc", | 80 sources = [ |
| 81 "gl_canvas.h", | 81 "gl_canvas.cc", |
| 82 "gl_cursor.cc", | 82 "gl_canvas.h", |
| 83 "gl_cursor.h", | 83 "gl_cursor.cc", |
| 84 "gl_cursor_feedback.cc", | 84 "gl_cursor.h", |
| 85 "gl_cursor_feedback.h", | 85 "gl_cursor_feedback.cc", |
| 86 "gl_cursor_feedback_texture.cc", | 86 "gl_cursor_feedback.h", |
| 87 "gl_cursor_feedback_texture.h", | 87 "gl_cursor_feedback_texture.cc", |
| 88 "gl_desktop.cc", | 88 "gl_cursor_feedback_texture.h", |
| 89 "gl_desktop.h", | 89 "gl_desktop.cc", |
| 90 "gl_helpers.cc", | 90 "gl_desktop.h", |
| 91 "gl_helpers.h", | 91 "gl_helpers.cc", |
| 92 "gl_math.cc", | 92 "gl_helpers.h", |
| 93 "gl_math.h", | 93 "gl_math.cc", |
| 94 "gl_render_layer.cc", | 94 "gl_math.h", |
| 95 "gl_render_layer.h", | 95 "gl_render_layer.cc", |
| 96 "gl_renderer.cc", | 96 "gl_render_layer.h", |
| 97 "gl_renderer.h", | 97 "gl_renderer.cc", |
| 98 ] | 98 "gl_renderer.h", |
| 99 ] | |
| 99 | 100 |
| 100 deps = [ | 101 deps = [ |
| 101 "//remoting/proto", | 102 "//remoting/proto", |
| 102 "//third_party/libyuv", | 103 "//third_party/libyuv", |
| 103 "//third_party/webrtc", | 104 "//third_party/webrtc", |
| 104 ] | 105 ] |
| 105 | 106 |
| 106 configs += [ "//third_party/khronos:khronos_headers" ] | 107 configs += [ "//third_party/khronos:khronos_headers" ] |
| 107 | 108 |
| 108 if (is_linux) { | 109 if (is_linux) { |
| 109 libs = [ "GL" ] | 110 libs = [ "GL" ] |
| 110 } | 111 } |
| 111 | 112 |
| 112 if (is_mac) { | 113 if (is_mac) { |
| 113 libs = [ "OpenGL.framework" ] | 114 libs = [ "OpenGL.framework" ] |
| 114 } | 115 } |
| 115 | |
| 116 if (is_win) { | |
| 117 deps += [ "//third_party/angle:libGLESv2" ] | |
| 118 } | 116 } |
| 119 } | 117 } |
| 120 | 118 |
| 121 static_library("test_support") { | 119 static_library("test_support") { |
| 122 testonly = true | 120 testonly = true |
| 123 | 121 |
| 124 sources = [ | 122 sources = [ |
| 125 "fake_audio_consumer.cc", | 123 "fake_audio_consumer.cc", |
| 126 "fake_audio_consumer.h", | 124 "fake_audio_consumer.h", |
| 127 ] | 125 ] |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 140 # be compiled on all platforms. | 138 # be compiled on all platforms. |
| 141 set_sources_assignment_filter([]) | 139 set_sources_assignment_filter([]) |
| 142 sources = [ | 140 sources = [ |
| 143 "audio_decode_scheduler_unittest.cc", | 141 "audio_decode_scheduler_unittest.cc", |
| 144 "audio_player_unittest.cc", | 142 "audio_player_unittest.cc", |
| 145 "chromoting_client_runtime_unittest.cc", | 143 "chromoting_client_runtime_unittest.cc", |
| 146 "client_status_logger_unittest.cc", | 144 "client_status_logger_unittest.cc", |
| 147 "client_telemetry_logger_unittest.cc", | 145 "client_telemetry_logger_unittest.cc", |
| 148 "dual_buffer_frame_consumer_unittest.cc", | 146 "dual_buffer_frame_consumer_unittest.cc", |
| 149 "empty_cursor_filter_unittest.cc", | 147 "empty_cursor_filter_unittest.cc", |
| 150 "gl_renderer_unittest.cc", | |
| 151 "key_event_mapper_unittest.cc", | 148 "key_event_mapper_unittest.cc", |
| 152 "normalizing_input_filter_cros_unittest.cc", | 149 "normalizing_input_filter_cros_unittest.cc", |
| 153 "normalizing_input_filter_mac_unittest.cc", | 150 "normalizing_input_filter_mac_unittest.cc", |
| 154 "normalizing_input_filter_win_unittest.cc", | 151 "normalizing_input_filter_win_unittest.cc", |
| 155 "queued_task_poster_unittest.cc", | 152 "queued_task_poster_unittest.cc", |
| 156 "server_log_entry_client_unittest.cc", | 153 "server_log_entry_client_unittest.cc", |
| 157 "software_video_renderer_unittest.cc", | 154 "software_video_renderer_unittest.cc", |
| 158 "touch_input_scaler_unittest.cc", | 155 "touch_input_scaler_unittest.cc", |
| 159 ] | 156 ] |
| 160 set_sources_assignment_filter(sources_assignment_filter) | 157 set_sources_assignment_filter(sources_assignment_filter) |
| 161 | 158 |
| 162 configs += [ | 159 configs += [ |
| 163 "//remoting:version", | 160 "//remoting:version", |
| 164 "//remoting:enable_webrtc_remoting_client", | 161 "//remoting:enable_webrtc_remoting_client", |
| 165 ] | 162 ] |
| 166 | 163 |
| 167 deps = [ | 164 deps = [ |
| 168 ":client", | 165 ":client", |
| 169 ":opengl_renderer", | |
| 170 ":test_support", | 166 ":test_support", |
| 171 "//remoting/proto", | 167 "//remoting/proto", |
| 172 "//testing/gmock", | 168 "//testing/gmock", |
| 173 "//testing/gtest", | 169 "//testing/gtest", |
| 174 "//third_party/webrtc", | 170 "//third_party/webrtc", |
| 175 ] | 171 ] |
| 172 | |
| 173 if (!is_win) { | |
|
Sergey Ulanov
2016/09/08 19:57:31
Add a comment with a bug reference to make it clea
Yuwei
2016/09/08 20:35:31
Done.
| |
| 174 sources += [ "gl_renderer_unittest.cc" ] | |
| 175 deps += [ ":opengl_renderer" ] | |
| 176 } | |
| 176 } | 177 } |
| OLD | NEW |