| 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 import("//remoting/remoting_srcs.gni") | 5 import("//remoting/remoting_srcs.gni") |
| 6 | 6 |
| 7 source_set("client") { | 7 source_set("client") { |
| 8 # Disabled the source filters because there are _mac files that need to | 8 # Disabled the source filters because there are _mac files that need to |
| 9 # be compiled on all platforms. | 9 # be compiled on all platforms. |
| 10 set_sources_assignment_filter([]) | 10 set_sources_assignment_filter([]) |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 "server_log_entry_client.cc", | 34 "server_log_entry_client.cc", |
| 35 ] | 35 ] |
| 36 } else { | 36 } else { |
| 37 sources += rebase_path( | 37 sources += rebase_path( |
| 38 remoting_srcs_gypi_values.remoting_client_standalone_sources, | 38 remoting_srcs_gypi_values.remoting_client_standalone_sources, |
| 39 ".", | 39 ".", |
| 40 "//remoting") | 40 "//remoting") |
| 41 } | 41 } |
| 42 } | 42 } |
| 43 | 43 |
| 44 source_set("test_support") { |
| 45 testonly = true |
| 46 |
| 47 sources = [ |
| 48 "fake_audio_consumer.cc", |
| 49 "fake_audio_consumer.h", |
| 50 ] |
| 51 |
| 52 public_deps = [ |
| 53 "//remoting/protocol:test_support", |
| 54 "//testing/gmock", |
| 55 "//third_party/protobuf:protobuf_lite", |
| 56 ] |
| 57 } |
| 58 |
| 44 source_set("unit_tests") { | 59 source_set("unit_tests") { |
| 45 testonly = true | 60 testonly = true |
| 46 | 61 |
| 47 # Disabled the source filters because there are _mac files that need to | 62 # Disabled the source filters because there are _mac files that need to |
| 48 # be compiled on all platforms. | 63 # be compiled on all platforms. |
| 49 set_sources_assignment_filter([]) | 64 set_sources_assignment_filter([]) |
| 50 sources = [ | 65 sources = [ |
| 66 "audio_decode_scheduler_unittest.cc", |
| 51 "audio_player_unittest.cc", | 67 "audio_player_unittest.cc", |
| 52 "chromoting_client_runtime_unittest.cc", | 68 "chromoting_client_runtime_unittest.cc", |
| 53 "client_status_logger_unittest.cc", | 69 "client_status_logger_unittest.cc", |
| 54 "client_telemetry_logger_unittest.cc", | 70 "client_telemetry_logger_unittest.cc", |
| 55 "empty_cursor_filter_unittest.cc", | 71 "empty_cursor_filter_unittest.cc", |
| 56 "key_event_mapper_unittest.cc", | 72 "key_event_mapper_unittest.cc", |
| 57 "normalizing_input_filter_cros_unittest.cc", | 73 "normalizing_input_filter_cros_unittest.cc", |
| 58 "normalizing_input_filter_mac_unittest.cc", | 74 "normalizing_input_filter_mac_unittest.cc", |
| 59 "normalizing_input_filter_win_unittest.cc", | 75 "normalizing_input_filter_win_unittest.cc", |
| 60 "server_log_entry_client_unittest.cc", | 76 "server_log_entry_client_unittest.cc", |
| 61 "software_video_renderer_unittest.cc", | 77 "software_video_renderer_unittest.cc", |
| 62 "touch_input_scaler_unittest.cc", | 78 "touch_input_scaler_unittest.cc", |
| 63 ] | 79 ] |
| 64 set_sources_assignment_filter(sources_assignment_filter) | 80 set_sources_assignment_filter(sources_assignment_filter) |
| 65 | 81 |
| 66 configs += [ | 82 configs += [ |
| 67 "//remoting:version", | 83 "//remoting:version", |
| 68 "//remoting:enable_webrtc_remoting_client", | 84 "//remoting:enable_webrtc_remoting_client", |
| 69 ] | 85 ] |
| 70 | 86 |
| 71 deps = [ | 87 deps = [ |
| 72 ":client", | 88 ":client", |
| 89 ":test_support", |
| 73 "//remoting/proto", | 90 "//remoting/proto", |
| 74 "//testing/gmock", | 91 "//testing/gmock", |
| 75 "//testing/gtest", | 92 "//testing/gtest", |
| 76 "//third_party/webrtc", | 93 "//third_party/webrtc", |
| 77 ] | 94 ] |
| 78 } | 95 } |
| OLD | NEW |