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

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

Issue 2900203002: Moving input filter files and keymap to input directory. (Closed)
Patch Set: Merged again. Created 3 years, 7 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
« no previous file with comments | « no previous file | remoting/client/input/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
7 # be compiled on all platforms.
8 set_sources_assignment_filter([])
9
10 sources = [ 6 sources = [
11 "audio_player.cc", 7 "audio_player.cc",
12 "audio_player.h", 8 "audio_player.h",
9 "audio_player_android.cc",
10 "audio_player_android.h",
13 "chromoting_client.cc", 11 "chromoting_client.cc",
14 "chromoting_client.h", 12 "chromoting_client.h",
15 "chromoting_session.cc", 13 "chromoting_session.cc",
16 "chromoting_session.h", 14 "chromoting_session.h",
17 "client_context.cc", 15 "client_context.cc",
18 "client_context.h", 16 "client_context.h",
19 "client_telemetry_logger.cc", 17 "client_telemetry_logger.cc",
20 "client_telemetry_logger.h", 18 "client_telemetry_logger.h",
21 "client_user_interface.h", 19 "client_user_interface.h",
22 "connect_to_host_info.cc", 20 "connect_to_host_info.cc",
23 "connect_to_host_info.h", 21 "connect_to_host_info.h",
24 "cursor_shape_stub_proxy.cc", 22 "cursor_shape_stub_proxy.cc",
25 "cursor_shape_stub_proxy.h", 23 "cursor_shape_stub_proxy.h",
26 "dual_buffer_frame_consumer.cc", 24 "dual_buffer_frame_consumer.cc",
27 "dual_buffer_frame_consumer.h", 25 "dual_buffer_frame_consumer.h",
28 "empty_cursor_filter.cc", 26 "empty_cursor_filter.cc",
29 "empty_cursor_filter.h", 27 "empty_cursor_filter.h",
30 "host_experiment_sender.cc", 28 "host_experiment_sender.cc",
31 "host_experiment_sender.h", 29 "host_experiment_sender.h",
32 "key_event_mapper.cc",
33 "key_event_mapper.h",
34 "normalizing_input_filter_cros.cc",
35 "normalizing_input_filter_cros.h",
36 "normalizing_input_filter_mac.cc",
37 "normalizing_input_filter_mac.h",
38 "normalizing_input_filter_win.cc",
39 "normalizing_input_filter_win.h",
40 "queued_task_poster.cc", 30 "queued_task_poster.cc",
41 "queued_task_poster.h", 31 "queued_task_poster.h",
42 "server_log_entry_client.cc", 32 "server_log_entry_client.cc",
43 "server_log_entry_client.h", 33 "server_log_entry_client.h",
44 "software_video_renderer.cc", 34 "software_video_renderer.cc",
45 "software_video_renderer.h", 35 "software_video_renderer.h",
46 ] 36 ]
47 set_sources_assignment_filter(sources_assignment_filter)
48 37
49 configs += [ 38 configs += [
50 "//build/config/compiler:wexit_time_destructors", 39 "//build/config/compiler:wexit_time_destructors",
51 "//remoting/build/config:version", 40 "//remoting/build/config:version",
52 "//remoting/build/config:enable_webrtc_remoting_client", 41 "//remoting/build/config:enable_webrtc_remoting_client",
53 ] 42 ]
54 43
55 deps = [ 44 deps = [
56 "//remoting/base", 45 "//remoting/base",
57 "//remoting/client/input",
Yuwei 2017/05/24 19:13:30 Why is this deleted? GestureInterpreter needs Touc
nicholss 2017/05/25 17:59:40 gesture_interpreter is part of the !is_nacl block
58 "//remoting/codec:decoder", 46 "//remoting/codec:decoder",
59 "//remoting/protocol", 47 "//remoting/protocol",
60 "//third_party/libyuv", 48 "//third_party/libyuv",
61 "//third_party/webrtc/modules/desktop_capture:primitives", 49 "//third_party/webrtc/modules/desktop_capture:primitives",
62 "//ui/events:dom_keycode_converter", 50 "//ui/events:dom_keycode_converter",
63 ] 51 ]
64 52
65 libs = [] 53 libs = []
66 54
67 if (is_nacl) { 55 if (is_nacl) {
68 sources -= [ 56 sources -= [
69 "client_telemetry_logger.cc", 57 "client_telemetry_logger.cc",
70 "server_log_entry_client.cc", 58 "server_log_entry_client.cc",
71 ] 59 ]
72 } else { 60 } else {
73 sources += [ 61 sources += [
74 "chromoting_client_runtime.cc", 62 "chromoting_client_runtime.cc",
75 "chromoting_client_runtime.h", 63 "chromoting_client_runtime.h",
76 "gesture_interpreter.cc", 64 "gesture_interpreter.cc",
77 "gesture_interpreter.h", 65 "gesture_interpreter.h",
78 ] 66 ]
79 deps += [ 67 deps += [
80 "//remoting/client/display", 68 "//remoting/client/display",
81 "//remoting/client/ui", 69 "//remoting/client/ui",
82 ] 70 ]
83 } 71 }
84 if (is_android) { 72 if (is_android) {
85 sources += [
86 "audio_player_android.cc",
87 "audio_player_android.h",
88 ]
89 libs += [ 73 libs += [
90 "android", 74 "android",
91 "OpenSLES", 75 "OpenSLES",
92 ] 76 ]
93 } 77 }
94 } 78 }
95 79
96 source_set("unit_tests") { 80 source_set("unit_tests") {
97 testonly = true 81 testonly = true
98 82
99 # Disabled the source filters because there are _mac files that need to 83 # Disabled the source filters because there are _mac files that need to
100 # be compiled on all platforms. 84 # be compiled on all platforms.
101 set_sources_assignment_filter([])
102 sources = [ 85 sources = [
103 "audio_player_unittest.cc", 86 "audio_player_unittest.cc",
104 "chromoting_client_runtime_unittest.cc", 87 "chromoting_client_runtime_unittest.cc",
105 "client_telemetry_logger_unittest.cc", 88 "client_telemetry_logger_unittest.cc",
106 "dual_buffer_frame_consumer_unittest.cc", 89 "dual_buffer_frame_consumer_unittest.cc",
107 "empty_cursor_filter_unittest.cc", 90 "empty_cursor_filter_unittest.cc",
108 "key_event_mapper_unittest.cc",
109 "normalizing_input_filter_cros_unittest.cc",
110 "normalizing_input_filter_mac_unittest.cc",
111 "normalizing_input_filter_win_unittest.cc",
112 "queued_task_poster_unittest.cc", 91 "queued_task_poster_unittest.cc",
113 "server_log_entry_client_unittest.cc", 92 "server_log_entry_client_unittest.cc",
114 "software_video_renderer_unittest.cc", 93 "software_video_renderer_unittest.cc",
115 ] 94 ]
116 set_sources_assignment_filter(sources_assignment_filter)
117 95
118 configs += [ 96 configs += [
119 "//remoting/build/config:version", 97 "//remoting/build/config:version",
120 "//remoting/build/config:enable_webrtc_remoting_client", 98 "//remoting/build/config:enable_webrtc_remoting_client",
121 ] 99 ]
122 100
123 deps = [ 101 deps = [
124 ":client", 102 ":client",
125 "//remoting/proto", 103 "//remoting/proto",
126 "//testing/gmock", 104 "//testing/gmock",
127 "//testing/gtest", 105 "//testing/gtest",
128 "//third_party/webrtc/base:rtc_base_approved", 106 "//third_party/webrtc/base:rtc_base_approved",
129 ] 107 ]
130 } 108 }
OLDNEW
« no previous file with comments | « no previous file | remoting/client/input/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698