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