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

Side by Side Diff: remoting/client/BUILD.gn

Issue 2903623002: Moving input related classes to the input folder. (Closed)
Patch Set: Fix build. Created 3 years, 6 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
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 = [
11 "audio_player.cc", 11 "audio_player.cc",
12 "audio_player.h", 12 "audio_player.h",
13 "chromoting_client.cc", 13 "chromoting_client.cc",
14 "chromoting_client.h", 14 "chromoting_client.h",
15 "chromoting_session.cc", 15 "chromoting_session.cc",
16 "chromoting_session.h", 16 "chromoting_session.h",
17 "client_context.cc", 17 "client_context.cc",
18 "client_context.h", 18 "client_context.h",
19 "client_telemetry_logger.cc", 19 "client_telemetry_logger.cc",
20 "client_telemetry_logger.h", 20 "client_telemetry_logger.h",
21 "client_user_interface.h", 21 "client_user_interface.h",
22 "connect_to_host_info.cc", 22 "connect_to_host_info.cc",
23 "connect_to_host_info.h", 23 "connect_to_host_info.h",
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 "gesture_interpreter.cc",
31 "gesture_interpreter.h",
30 "host_experiment_sender.cc", 32 "host_experiment_sender.cc",
31 "host_experiment_sender.h", 33 "host_experiment_sender.h",
32 "key_event_mapper.cc", 34 "key_event_mapper.cc",
33 "key_event_mapper.h", 35 "key_event_mapper.h",
34 "native_device_keymap.cc",
35 "native_device_keymap.h",
36 "normalizing_input_filter_cros.cc", 36 "normalizing_input_filter_cros.cc",
37 "normalizing_input_filter_cros.h", 37 "normalizing_input_filter_cros.h",
38 "normalizing_input_filter_mac.cc", 38 "normalizing_input_filter_mac.cc",
39 "normalizing_input_filter_mac.h", 39 "normalizing_input_filter_mac.h",
40 "normalizing_input_filter_win.cc", 40 "normalizing_input_filter_win.cc",
41 "normalizing_input_filter_win.h", 41 "normalizing_input_filter_win.h",
42 "queued_task_poster.cc", 42 "queued_task_poster.cc",
43 "queued_task_poster.h", 43 "queued_task_poster.h",
44 "server_log_entry_client.cc", 44 "server_log_entry_client.cc",
45 "server_log_entry_client.h", 45 "server_log_entry_client.h",
46 "software_video_renderer.cc", 46 "software_video_renderer.cc",
47 "software_video_renderer.h", 47 "software_video_renderer.h",
48 "touch_input_scaler.cc",
49 "touch_input_scaler.h",
50 ] 48 ]
51 set_sources_assignment_filter(sources_assignment_filter) 49 set_sources_assignment_filter(sources_assignment_filter)
52 50
53 configs += [ 51 configs += [
54 "//build/config/compiler:wexit_time_destructors", 52 "//build/config/compiler:wexit_time_destructors",
55 "//remoting/build/config:version", 53 "//remoting/build/config:version",
56 "//remoting/build/config:enable_webrtc_remoting_client", 54 "//remoting/build/config:enable_webrtc_remoting_client",
57 ] 55 ]
58 56
59 deps = [ 57 deps = [
60 "//remoting/base", 58 "//remoting/base",
59 "//remoting/client/display",
Yuwei 2017/05/23 23:05:56 pnacl is unhappy again :( Add deps only if !is_na
61 "//remoting/client/input", 60 "//remoting/client/input",
61 "//remoting/client/ui",
62 "//remoting/codec:decoder", 62 "//remoting/codec:decoder",
63 "//remoting/protocol", 63 "//remoting/protocol",
64 "//third_party/libyuv", 64 "//third_party/libyuv",
65 "//third_party/webrtc/modules/desktop_capture:primitives", 65 "//third_party/webrtc/modules/desktop_capture:primitives",
66 "//ui/events:dom_keycode_converter", 66 "//ui/events:dom_keycode_converter",
67 ] 67 ]
68 68
69 libs = [] 69 libs = []
70 70
71 if (is_nacl) { 71 if (is_nacl) {
72 sources -= [ 72 sources -= [
73 "client_telemetry_logger.cc", 73 "client_telemetry_logger.cc",
74 "server_log_entry_client.cc", 74 "server_log_entry_client.cc",
75 ] 75 ]
76 } else { 76 } else {
77 sources += [ 77 sources += [
78 "chromoting_client_runtime.cc", 78 "chromoting_client_runtime.cc",
79 "chromoting_client_runtime.h", 79 "chromoting_client_runtime.h",
80 ] 80 ]
81 } 81 }
82 if (is_android) { 82 if (is_android) {
83 sources += [ 83 sources += [
84 "audio_player_android.cc", 84 "audio_player_android.cc",
85 "audio_player_android.h", 85 "audio_player_android.h",
86 "native_device_keymap_android.cc",
87 ] 86 ]
88 sources -= [ "native_device_keymap.cc" ]
89 libs += [ 87 libs += [
90 "android", 88 "android",
91 "OpenSLES", 89 "OpenSLES",
92 ] 90 ]
93 } 91 }
94 if (is_ios) {
95 sources += [ "native_device_keymap_ios.cc" ]
96 sources -= [ "native_device_keymap.cc" ]
97 }
98 } 92 }
99 93
100 source_set("unit_tests") { 94 source_set("unit_tests") {
101 testonly = true 95 testonly = true
102 96
103 # Disabled the source filters because there are _mac files that need to 97 # Disabled the source filters because there are _mac files that need to
104 # be compiled on all platforms. 98 # be compiled on all platforms.
105 set_sources_assignment_filter([]) 99 set_sources_assignment_filter([])
106 sources = [ 100 sources = [
107 "audio_player_unittest.cc", 101 "audio_player_unittest.cc",
108 "chromoting_client_runtime_unittest.cc", 102 "chromoting_client_runtime_unittest.cc",
109 "client_telemetry_logger_unittest.cc", 103 "client_telemetry_logger_unittest.cc",
110 "dual_buffer_frame_consumer_unittest.cc", 104 "dual_buffer_frame_consumer_unittest.cc",
111 "empty_cursor_filter_unittest.cc", 105 "empty_cursor_filter_unittest.cc",
112 "key_event_mapper_unittest.cc", 106 "key_event_mapper_unittest.cc",
113 "normalizing_input_filter_cros_unittest.cc", 107 "normalizing_input_filter_cros_unittest.cc",
114 "normalizing_input_filter_mac_unittest.cc", 108 "normalizing_input_filter_mac_unittest.cc",
115 "normalizing_input_filter_win_unittest.cc", 109 "normalizing_input_filter_win_unittest.cc",
116 "queued_task_poster_unittest.cc", 110 "queued_task_poster_unittest.cc",
117 "server_log_entry_client_unittest.cc", 111 "server_log_entry_client_unittest.cc",
118 "software_video_renderer_unittest.cc", 112 "software_video_renderer_unittest.cc",
119 "touch_input_scaler_unittest.cc",
120 ] 113 ]
121 set_sources_assignment_filter(sources_assignment_filter) 114 set_sources_assignment_filter(sources_assignment_filter)
122 115
123 configs += [ 116 configs += [
124 "//remoting/build/config:version", 117 "//remoting/build/config:version",
125 "//remoting/build/config:enable_webrtc_remoting_client", 118 "//remoting/build/config:enable_webrtc_remoting_client",
126 ] 119 ]
127 120
128 deps = [ 121 deps = [
129 ":client", 122 ":client",
130 "//remoting/proto", 123 "//remoting/proto",
131 "//testing/gmock", 124 "//testing/gmock",
132 "//testing/gtest", 125 "//testing/gtest",
133 "//third_party/webrtc/base:rtc_base_approved", 126 "//third_party/webrtc/base:rtc_base_approved",
134 ] 127 ]
135 } 128 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698