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 import("//remoting/remoting_srcs.gni") | |
6 | |
7 static_library("client") { | 5 static_library("client") { |
8 # 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 |
9 # be compiled on all platforms. | 7 # be compiled on all platforms. |
10 set_sources_assignment_filter([]) | 8 set_sources_assignment_filter([]) |
11 sources = rebase_path(remoting_srcs_gypi_values.remoting_client_sources, | 9 |
12 ".", | 10 sources = [ |
13 "//remoting") | 11 "audio_consumer.h", |
| 12 "audio_decode_scheduler.cc", |
| 13 "audio_decode_scheduler.h", |
| 14 "audio_player.cc", |
| 15 "audio_player.h", |
| 16 "chromoting_client.cc", |
| 17 "chromoting_client.h", |
| 18 "client_context.cc", |
| 19 "client_context.h", |
| 20 "client_status_logger.cc", |
| 21 "client_status_logger.h", |
| 22 "client_telemetry_logger.cc", |
| 23 "client_telemetry_logger.h", |
| 24 "client_user_interface.h", |
| 25 "cursor_shape_stub_proxy.cc", |
| 26 "cursor_shape_stub_proxy.h", |
| 27 "dual_buffer_frame_consumer.cc", |
| 28 "dual_buffer_frame_consumer.h", |
| 29 "empty_cursor_filter.cc", |
| 30 "empty_cursor_filter.h", |
| 31 "key_event_mapper.cc", |
| 32 "key_event_mapper.h", |
| 33 "normalizing_input_filter_cros.cc", |
| 34 "normalizing_input_filter_cros.h", |
| 35 "normalizing_input_filter_mac.cc", |
| 36 "normalizing_input_filter_mac.h", |
| 37 "normalizing_input_filter_win.cc", |
| 38 "normalizing_input_filter_win.h", |
| 39 "queued_task_poster.cc", |
| 40 "queued_task_poster.h", |
| 41 "server_log_entry_client.cc", |
| 42 "server_log_entry_client.h", |
| 43 "software_video_renderer.cc", |
| 44 "software_video_renderer.h", |
| 45 "touch_input_scaler.cc", |
| 46 "touch_input_scaler.h", |
| 47 ] |
14 set_sources_assignment_filter(sources_assignment_filter) | 48 set_sources_assignment_filter(sources_assignment_filter) |
15 | 49 |
16 configs += [ | 50 configs += [ |
17 "//build/config/compiler:wexit_time_destructors", | 51 "//build/config/compiler:wexit_time_destructors", |
18 "//remoting:version", | 52 "//remoting:version", |
19 "//remoting:enable_webrtc_remoting_client", | 53 "//remoting:enable_webrtc_remoting_client", |
20 ] | 54 ] |
21 | 55 |
22 deps = [ | 56 deps = [ |
23 "//remoting/base", | 57 "//remoting/base", |
24 "//remoting/codec", | 58 "//remoting/codec", |
25 "//remoting/protocol", | 59 "//remoting/protocol", |
26 "//third_party/libyuv", | 60 "//third_party/libyuv", |
27 "//third_party/webrtc/modules/desktop_capture:primitives", | 61 "//third_party/webrtc/modules/desktop_capture:primitives", |
28 ] | 62 ] |
29 | 63 |
30 if (is_nacl) { | 64 if (is_nacl) { |
31 sources -= [ | 65 sources -= [ |
32 "client_status_logger.cc", | 66 "client_status_logger.cc", |
33 "client_telemetry_logger.cc", | 67 "client_telemetry_logger.cc", |
34 "server_log_entry_client.cc", | 68 "server_log_entry_client.cc", |
35 ] | 69 ] |
36 } else { | 70 } else { |
37 sources += rebase_path( | 71 sources += [ |
38 remoting_srcs_gypi_values.remoting_client_standalone_sources, | 72 "chromoting_client_runtime.cc", |
39 ".", | 73 "chromoting_client_runtime.h", |
40 "//remoting") | 74 ] |
41 } | 75 } |
42 } | 76 } |
43 | 77 |
44 source_set("opengl_renderer") { | 78 source_set("opengl_renderer") { |
45 sources = | 79 sources = [ |
46 rebase_path(remoting_srcs_gypi_values.remoting_opengl_renderer_sources, | 80 "gl_canvas.cc", |
47 ".", | 81 "gl_canvas.h", |
48 "//remoting") | 82 "gl_cursor.cc", |
| 83 "gl_cursor.h", |
| 84 "gl_cursor_feedback.cc", |
| 85 "gl_cursor_feedback.h", |
| 86 "gl_cursor_feedback_texture.cc", |
| 87 "gl_cursor_feedback_texture.h", |
| 88 "gl_desktop.cc", |
| 89 "gl_desktop.h", |
| 90 "gl_helpers.cc", |
| 91 "gl_helpers.h", |
| 92 "gl_math.cc", |
| 93 "gl_math.h", |
| 94 "gl_render_layer.cc", |
| 95 "gl_render_layer.h", |
| 96 "gl_renderer.cc", |
| 97 "gl_renderer.h", |
| 98 ] |
49 | 99 |
50 deps = [ | 100 deps = [ |
51 "//remoting/proto", | 101 "//remoting/proto", |
52 "//third_party/libyuv", | 102 "//third_party/libyuv", |
53 "//third_party/webrtc", | 103 "//third_party/webrtc", |
54 ] | 104 ] |
55 | 105 |
56 configs += [ "//third_party/khronos:khronos_headers" ] | 106 configs += [ "//third_party/khronos:khronos_headers" ] |
57 | 107 |
58 if (is_linux) { | 108 if (is_linux) { |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 deps = [ | 167 deps = [ |
118 ":client", | 168 ":client", |
119 ":opengl_renderer", | 169 ":opengl_renderer", |
120 ":test_support", | 170 ":test_support", |
121 "//remoting/proto", | 171 "//remoting/proto", |
122 "//testing/gmock", | 172 "//testing/gmock", |
123 "//testing/gtest", | 173 "//testing/gtest", |
124 "//third_party/webrtc", | 174 "//third_party/webrtc", |
125 ] | 175 ] |
126 } | 176 } |
OLD | NEW |