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 | 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 = [ |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 ] | 54 ] |
55 | 55 |
56 deps = [ | 56 deps = [ |
57 "//remoting/base", | 57 "//remoting/base", |
58 "//remoting/codec:decoder", | 58 "//remoting/codec:decoder", |
59 "//remoting/protocol", | 59 "//remoting/protocol", |
60 "//third_party/libyuv", | 60 "//third_party/libyuv", |
61 "//third_party/webrtc/modules/desktop_capture:primitives", | 61 "//third_party/webrtc/modules/desktop_capture:primitives", |
62 ] | 62 ] |
63 | 63 |
| 64 libs = [] |
| 65 |
64 if (is_nacl) { | 66 if (is_nacl) { |
65 sources -= [ | 67 sources -= [ |
66 "client_status_logger.cc", | 68 "client_status_logger.cc", |
67 "client_telemetry_logger.cc", | 69 "client_telemetry_logger.cc", |
68 "server_log_entry_client.cc", | 70 "server_log_entry_client.cc", |
69 ] | 71 ] |
70 } else { | 72 } else { |
71 sources += [ | 73 sources += [ |
72 "chromoting_client_runtime.cc", | 74 "chromoting_client_runtime.cc", |
73 "chromoting_client_runtime.h", | 75 "chromoting_client_runtime.h", |
74 ] | 76 ] |
75 } | 77 } |
| 78 if (is_android) { |
| 79 sources += [ |
| 80 "audio_player_android.cc", |
| 81 "audio_player_android.h", |
| 82 ] |
| 83 libs += [ |
| 84 "android", |
| 85 "OpenSLES", |
| 86 ] |
| 87 } |
76 } | 88 } |
77 | 89 |
78 source_set("unit_tests") { | 90 source_set("unit_tests") { |
79 testonly = true | 91 testonly = true |
80 | 92 |
81 # Disabled the source filters because there are _mac files that need to | 93 # Disabled the source filters because there are _mac files that need to |
82 # be compiled on all platforms. | 94 # be compiled on all platforms. |
83 set_sources_assignment_filter([]) | 95 set_sources_assignment_filter([]) |
84 sources = [ | 96 sources = [ |
85 "audio_player_unittest.cc", | 97 "audio_player_unittest.cc", |
(...skipping 19 matching lines...) Expand all Loading... |
105 ] | 117 ] |
106 | 118 |
107 deps = [ | 119 deps = [ |
108 ":client", | 120 ":client", |
109 "//remoting/proto", | 121 "//remoting/proto", |
110 "//testing/gmock", | 122 "//testing/gmock", |
111 "//testing/gtest", | 123 "//testing/gtest", |
112 "//third_party/webrtc/base:rtc_base_approved", | 124 "//third_party/webrtc/base:rtc_base_approved", |
113 ] | 125 ] |
114 } | 126 } |
OLD | NEW |