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

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

Issue 2753963002: Refactoring and rewriting the chromoting jni instance to be chromoting session. (Closed)
Patch Set: Updating based on feedback. Created 3 years, 8 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 | « remoting/BUILD.gn ('k') | remoting/client/chromoting_client_runtime.h » ('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 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_consumer.h", 11 "audio_consumer.h",
12 "audio_player.cc", 12 "audio_player.cc",
13 "audio_player.h", 13 "audio_player.h",
14 "chromoting_client.cc", 14 "chromoting_client.cc",
15 "chromoting_client.h", 15 "chromoting_client.h",
16 "chromoting_session.cc",
17 "chromoting_session.h",
16 "client_context.cc", 18 "client_context.cc",
17 "client_context.h", 19 "client_context.h",
18 "client_status_logger.cc",
19 "client_status_logger.h",
20 "client_telemetry_logger.cc", 20 "client_telemetry_logger.cc",
21 "client_telemetry_logger.h", 21 "client_telemetry_logger.h",
22 "client_user_interface.h", 22 "client_user_interface.h",
23 "connect_to_host_info.cc",
24 "connect_to_host_info.h",
23 "cursor_shape_stub_proxy.cc", 25 "cursor_shape_stub_proxy.cc",
24 "cursor_shape_stub_proxy.h", 26 "cursor_shape_stub_proxy.h",
25 "dual_buffer_frame_consumer.cc", 27 "dual_buffer_frame_consumer.cc",
26 "dual_buffer_frame_consumer.h", 28 "dual_buffer_frame_consumer.h",
27 "empty_cursor_filter.cc", 29 "empty_cursor_filter.cc",
28 "empty_cursor_filter.h", 30 "empty_cursor_filter.h",
29 "host_experiment_sender.cc", 31 "host_experiment_sender.cc",
30 "host_experiment_sender.h", 32 "host_experiment_sender.h",
31 "key_event_mapper.cc", 33 "key_event_mapper.cc",
32 "key_event_mapper.h", 34 "key_event_mapper.h",
35 "native_device_keymap.cc",
36 "native_device_keymap.h",
33 "normalizing_input_filter_cros.cc", 37 "normalizing_input_filter_cros.cc",
34 "normalizing_input_filter_cros.h", 38 "normalizing_input_filter_cros.h",
35 "normalizing_input_filter_mac.cc", 39 "normalizing_input_filter_mac.cc",
36 "normalizing_input_filter_mac.h", 40 "normalizing_input_filter_mac.h",
37 "normalizing_input_filter_win.cc", 41 "normalizing_input_filter_win.cc",
38 "normalizing_input_filter_win.h", 42 "normalizing_input_filter_win.h",
39 "queued_task_poster.cc", 43 "queued_task_poster.cc",
40 "queued_task_poster.h", 44 "queued_task_poster.h",
41 "server_log_entry_client.cc", 45 "server_log_entry_client.cc",
42 "server_log_entry_client.h", 46 "server_log_entry_client.h",
43 "software_video_renderer.cc", 47 "software_video_renderer.cc",
44 "software_video_renderer.h", 48 "software_video_renderer.h",
45 "touch_input_scaler.cc", 49 "touch_input_scaler.cc",
46 "touch_input_scaler.h", 50 "touch_input_scaler.h",
47 ] 51 ]
48 set_sources_assignment_filter(sources_assignment_filter) 52 set_sources_assignment_filter(sources_assignment_filter)
49 53
50 configs += [ 54 configs += [
51 "//build/config/compiler:wexit_time_destructors", 55 "//build/config/compiler:wexit_time_destructors",
52 "//remoting/build/config:version", 56 "//remoting/build/config:version",
53 "//remoting/build/config:enable_webrtc_remoting_client", 57 "//remoting/build/config:enable_webrtc_remoting_client",
54 ] 58 ]
55 59
56 deps = [ 60 deps = [
57 "//remoting/base", 61 "//remoting/base",
58 "//remoting/codec:decoder", 62 "//remoting/codec:decoder",
59 "//remoting/protocol", 63 "//remoting/protocol",
60 "//third_party/libyuv", 64 "//third_party/libyuv",
61 "//third_party/webrtc/modules/desktop_capture:primitives", 65 "//third_party/webrtc/modules/desktop_capture:primitives",
66 "//ui/events:dom_keycode_converter",
62 ] 67 ]
63 68
64 libs = [] 69 libs = []
65 70
66 if (is_nacl) { 71 if (is_nacl) {
67 sources -= [ 72 sources -= [
68 "client_status_logger.cc",
69 "client_telemetry_logger.cc", 73 "client_telemetry_logger.cc",
70 "server_log_entry_client.cc", 74 "server_log_entry_client.cc",
71 ] 75 ]
72 } else { 76 } else {
73 sources += [ 77 sources += [
74 "chromoting_client_runtime.cc", 78 "chromoting_client_runtime.cc",
75 "chromoting_client_runtime.h", 79 "chromoting_client_runtime.h",
76 ] 80 ]
77 } 81 }
78 if (is_android) { 82 if (is_android) {
79 sources += [ 83 sources += [
80 "audio_player_android.cc", 84 "audio_player_android.cc",
81 "audio_player_android.h", 85 "audio_player_android.h",
86 "native_device_keymap_android.cc",
82 ] 87 ]
88 sources -= [ "native_device_keymap.cc" ]
83 libs += [ 89 libs += [
84 "android", 90 "android",
85 "OpenSLES", 91 "OpenSLES",
86 ] 92 ]
87 } 93 }
88 } 94 }
89 95
90 source_set("unit_tests") { 96 source_set("unit_tests") {
91 testonly = true 97 testonly = true
92 98
93 # 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
94 # be compiled on all platforms. 100 # be compiled on all platforms.
95 set_sources_assignment_filter([]) 101 set_sources_assignment_filter([])
96 sources = [ 102 sources = [
97 "audio_player_unittest.cc", 103 "audio_player_unittest.cc",
98 "chromoting_client_runtime_unittest.cc", 104 "chromoting_client_runtime_unittest.cc",
99 "client_status_logger_unittest.cc",
100 "client_telemetry_logger_unittest.cc", 105 "client_telemetry_logger_unittest.cc",
101 "dual_buffer_frame_consumer_unittest.cc", 106 "dual_buffer_frame_consumer_unittest.cc",
102 "empty_cursor_filter_unittest.cc", 107 "empty_cursor_filter_unittest.cc",
103 "key_event_mapper_unittest.cc", 108 "key_event_mapper_unittest.cc",
104 "normalizing_input_filter_cros_unittest.cc", 109 "normalizing_input_filter_cros_unittest.cc",
105 "normalizing_input_filter_mac_unittest.cc", 110 "normalizing_input_filter_mac_unittest.cc",
106 "normalizing_input_filter_win_unittest.cc", 111 "normalizing_input_filter_win_unittest.cc",
107 "queued_task_poster_unittest.cc", 112 "queued_task_poster_unittest.cc",
108 "server_log_entry_client_unittest.cc", 113 "server_log_entry_client_unittest.cc",
109 "software_video_renderer_unittest.cc", 114 "software_video_renderer_unittest.cc",
110 "touch_input_scaler_unittest.cc", 115 "touch_input_scaler_unittest.cc",
111 ] 116 ]
112 set_sources_assignment_filter(sources_assignment_filter) 117 set_sources_assignment_filter(sources_assignment_filter)
113 118
114 configs += [ 119 configs += [
115 "//remoting/build/config:version", 120 "//remoting/build/config:version",
116 "//remoting/build/config:enable_webrtc_remoting_client", 121 "//remoting/build/config:enable_webrtc_remoting_client",
117 ] 122 ]
118 123
119 deps = [ 124 deps = [
120 ":client", 125 ":client",
121 "//remoting/proto", 126 "//remoting/proto",
122 "//testing/gmock", 127 "//testing/gmock",
123 "//testing/gtest", 128 "//testing/gtest",
124 "//third_party/webrtc/base:rtc_base_approved", 129 "//third_party/webrtc/base:rtc_base_approved",
125 ] 130 ]
126 } 131 }
OLDNEW
« no previous file with comments | « remoting/BUILD.gn ('k') | remoting/client/chromoting_client_runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698