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 13 matching lines...) Expand all Loading... | |
24 "cursor_shape_stub_proxy.cc", | 24 "cursor_shape_stub_proxy.cc", |
25 "cursor_shape_stub_proxy.h", | 25 "cursor_shape_stub_proxy.h", |
26 "dual_buffer_frame_consumer.cc", | 26 "dual_buffer_frame_consumer.cc", |
27 "dual_buffer_frame_consumer.h", | 27 "dual_buffer_frame_consumer.h", |
28 "empty_cursor_filter.cc", | 28 "empty_cursor_filter.cc", |
29 "empty_cursor_filter.h", | 29 "empty_cursor_filter.h", |
30 "host_experiment_sender.cc", | 30 "host_experiment_sender.cc", |
31 "host_experiment_sender.h", | 31 "host_experiment_sender.h", |
32 "key_event_mapper.cc", | 32 "key_event_mapper.cc", |
33 "key_event_mapper.h", | 33 "key_event_mapper.h", |
34 "native_device_keymap.cc", | |
35 "native_device_keymap.h", | |
36 "normalizing_input_filter_cros.cc", | 34 "normalizing_input_filter_cros.cc", |
37 "normalizing_input_filter_cros.h", | 35 "normalizing_input_filter_cros.h", |
38 "normalizing_input_filter_mac.cc", | 36 "normalizing_input_filter_mac.cc", |
39 "normalizing_input_filter_mac.h", | 37 "normalizing_input_filter_mac.h", |
40 "normalizing_input_filter_win.cc", | 38 "normalizing_input_filter_win.cc", |
41 "normalizing_input_filter_win.h", | 39 "normalizing_input_filter_win.h", |
42 "queued_task_poster.cc", | 40 "queued_task_poster.cc", |
43 "queued_task_poster.h", | 41 "queued_task_poster.h", |
44 "server_log_entry_client.cc", | 42 "server_log_entry_client.cc", |
45 "server_log_entry_client.h", | 43 "server_log_entry_client.h", |
46 "software_video_renderer.cc", | 44 "software_video_renderer.cc", |
47 "software_video_renderer.h", | 45 "software_video_renderer.h", |
48 "touch_input_scaler.cc", | |
49 "touch_input_scaler.h", | |
50 ] | 46 ] |
51 set_sources_assignment_filter(sources_assignment_filter) | 47 set_sources_assignment_filter(sources_assignment_filter) |
52 | 48 |
53 configs += [ | 49 configs += [ |
54 "//build/config/compiler:wexit_time_destructors", | 50 "//build/config/compiler:wexit_time_destructors", |
55 "//remoting/build/config:version", | 51 "//remoting/build/config:version", |
56 "//remoting/build/config:enable_webrtc_remoting_client", | 52 "//remoting/build/config:enable_webrtc_remoting_client", |
57 ] | 53 ] |
58 | 54 |
59 deps = [ | 55 deps = [ |
(...skipping 10 matching lines...) Expand all Loading... | |
70 | 66 |
71 if (is_nacl) { | 67 if (is_nacl) { |
72 sources -= [ | 68 sources -= [ |
73 "client_telemetry_logger.cc", | 69 "client_telemetry_logger.cc", |
74 "server_log_entry_client.cc", | 70 "server_log_entry_client.cc", |
75 ] | 71 ] |
76 } else { | 72 } else { |
77 sources += [ | 73 sources += [ |
78 "chromoting_client_runtime.cc", | 74 "chromoting_client_runtime.cc", |
79 "chromoting_client_runtime.h", | 75 "chromoting_client_runtime.h", |
76 "gesture_interpreter.cc", | |
77 "gesture_interpreter.h", | |
78 ] | |
79 deps += [ | |
80 "//remoting/client/display", | |
81 "//remoting/client/ui", | |
Yuwei
2017/05/24 01:34:12
Is there anything in client/ui that doesn't work w
nicholss
2017/05/24 15:41:33
It does not really matter because the gesture_inte
| |
80 ] | 82 ] |
81 } | 83 } |
82 if (is_android) { | 84 if (is_android) { |
83 sources += [ | 85 sources += [ |
84 "audio_player_android.cc", | 86 "audio_player_android.cc", |
85 "audio_player_android.h", | 87 "audio_player_android.h", |
86 "native_device_keymap_android.cc", | |
87 ] | 88 ] |
88 sources -= [ "native_device_keymap.cc" ] | |
89 libs += [ | 89 libs += [ |
90 "android", | 90 "android", |
91 "OpenSLES", | 91 "OpenSLES", |
92 ] | 92 ] |
93 } | 93 } |
94 if (is_ios) { | |
95 sources += [ "native_device_keymap_ios.cc" ] | |
96 sources -= [ "native_device_keymap.cc" ] | |
97 } | |
98 } | 94 } |
99 | 95 |
100 source_set("unit_tests") { | 96 source_set("unit_tests") { |
101 testonly = true | 97 testonly = true |
102 | 98 |
103 # Disabled the source filters because there are _mac files that need to | 99 # Disabled the source filters because there are _mac files that need to |
104 # be compiled on all platforms. | 100 # be compiled on all platforms. |
105 set_sources_assignment_filter([]) | 101 set_sources_assignment_filter([]) |
106 sources = [ | 102 sources = [ |
107 "audio_player_unittest.cc", | 103 "audio_player_unittest.cc", |
108 "chromoting_client_runtime_unittest.cc", | 104 "chromoting_client_runtime_unittest.cc", |
109 "client_telemetry_logger_unittest.cc", | 105 "client_telemetry_logger_unittest.cc", |
110 "dual_buffer_frame_consumer_unittest.cc", | 106 "dual_buffer_frame_consumer_unittest.cc", |
111 "empty_cursor_filter_unittest.cc", | 107 "empty_cursor_filter_unittest.cc", |
112 "key_event_mapper_unittest.cc", | 108 "key_event_mapper_unittest.cc", |
113 "normalizing_input_filter_cros_unittest.cc", | 109 "normalizing_input_filter_cros_unittest.cc", |
114 "normalizing_input_filter_mac_unittest.cc", | 110 "normalizing_input_filter_mac_unittest.cc", |
115 "normalizing_input_filter_win_unittest.cc", | 111 "normalizing_input_filter_win_unittest.cc", |
116 "queued_task_poster_unittest.cc", | 112 "queued_task_poster_unittest.cc", |
117 "server_log_entry_client_unittest.cc", | 113 "server_log_entry_client_unittest.cc", |
118 "software_video_renderer_unittest.cc", | 114 "software_video_renderer_unittest.cc", |
119 "touch_input_scaler_unittest.cc", | |
120 ] | 115 ] |
121 set_sources_assignment_filter(sources_assignment_filter) | 116 set_sources_assignment_filter(sources_assignment_filter) |
122 | 117 |
123 configs += [ | 118 configs += [ |
124 "//remoting/build/config:version", | 119 "//remoting/build/config:version", |
125 "//remoting/build/config:enable_webrtc_remoting_client", | 120 "//remoting/build/config:enable_webrtc_remoting_client", |
126 ] | 121 ] |
127 | 122 |
128 deps = [ | 123 deps = [ |
129 ":client", | 124 ":client", |
130 "//remoting/proto", | 125 "//remoting/proto", |
131 "//testing/gmock", | 126 "//testing/gmock", |
132 "//testing/gtest", | 127 "//testing/gtest", |
133 "//third_party/webrtc/base:rtc_base_approved", | 128 "//third_party/webrtc/base:rtc_base_approved", |
134 ] | 129 ] |
135 } | 130 } |
OLD | NEW |