Chromium Code Reviews| 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") { | |
|
Lambros
2016/06/17 23:51:09
Why does this need to be a separate target? Couldn
nicholss
2016/06/20 17:47:51
Just following the patterns seen elsewhere. The un
| |
| 45 testonly = true | |
| 46 | |
| 47 sources = [ | |
| 48 "fake_audio_consumer.cc", | |
| 49 "fake_audio_consumer.h", | |
| 50 ] | |
| 51 | |
| 52 public_deps = [ | |
| 53 "//testing/gmock", | |
| 54 "//third_party/protobuf:protobuf_lite", | |
| 55 ] | |
| 56 } | |
| 57 | |
| 44 source_set("unit_tests") { | 58 source_set("unit_tests") { |
| 45 testonly = true | 59 testonly = true |
| 46 | 60 |
| 47 # Disabled the source filters because there are _mac files that need to | 61 # Disabled the source filters because there are _mac files that need to |
| 48 # be compiled on all platforms. | 62 # be compiled on all platforms. |
| 49 set_sources_assignment_filter([]) | 63 set_sources_assignment_filter([]) |
| 50 sources = [ | 64 sources = [ |
| 65 "audio_decode_scheduler_unittest.cc", | |
| 51 "audio_player_unittest.cc", | 66 "audio_player_unittest.cc", |
| 52 "chromoting_client_runtime_unittest.cc", | 67 "chromoting_client_runtime_unittest.cc", |
| 53 "client_status_logger_unittest.cc", | 68 "client_status_logger_unittest.cc", |
| 54 "client_telemetry_logger_unittest.cc", | 69 "client_telemetry_logger_unittest.cc", |
| 55 "empty_cursor_filter_unittest.cc", | 70 "empty_cursor_filter_unittest.cc", |
| 56 "key_event_mapper_unittest.cc", | 71 "key_event_mapper_unittest.cc", |
| 57 "normalizing_input_filter_cros_unittest.cc", | 72 "normalizing_input_filter_cros_unittest.cc", |
| 58 "normalizing_input_filter_mac_unittest.cc", | 73 "normalizing_input_filter_mac_unittest.cc", |
| 59 "normalizing_input_filter_win_unittest.cc", | 74 "normalizing_input_filter_win_unittest.cc", |
| 60 "server_log_entry_client_unittest.cc", | 75 "server_log_entry_client_unittest.cc", |
| 61 "software_video_renderer_unittest.cc", | 76 "software_video_renderer_unittest.cc", |
| 62 "touch_input_scaler_unittest.cc", | 77 "touch_input_scaler_unittest.cc", |
| 63 ] | 78 ] |
| 64 set_sources_assignment_filter(sources_assignment_filter) | 79 set_sources_assignment_filter(sources_assignment_filter) |
| 65 | 80 |
| 66 configs += [ | 81 configs += [ |
| 67 "//remoting:version", | 82 "//remoting:version", |
| 68 "//remoting:enable_webrtc_remoting_client", | 83 "//remoting:enable_webrtc_remoting_client", |
| 69 ] | 84 ] |
| 70 | 85 |
| 71 deps = [ | 86 deps = [ |
| 72 ":client", | 87 ":client", |
| 88 ":test_support", | |
| 73 "//remoting/proto", | 89 "//remoting/proto", |
| 74 "//testing/gmock", | 90 "//testing/gmock", |
| 75 "//testing/gtest", | 91 "//testing/gtest", |
| 76 "//third_party/webrtc", | 92 "//third_party/webrtc", |
| 77 ] | 93 ] |
| 78 } | 94 } |
| OLD | NEW |