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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 "audio_player_android.cc", | 91 "audio_player_android.cc", |
92 "audio_player_android.h", | 92 "audio_player_android.h", |
93 "native_device_keymap_android.cc", | 93 "native_device_keymap_android.cc", |
94 ] | 94 ] |
95 sources -= [ "native_device_keymap.cc" ] | 95 sources -= [ "native_device_keymap.cc" ] |
96 libs += [ | 96 libs += [ |
97 "android", | 97 "android", |
98 "OpenSLES", | 98 "OpenSLES", |
99 ] | 99 ] |
100 } | 100 } |
| 101 if (is_ios) { |
| 102 sources += [ "native_device_keymap_ios.cc" ] |
| 103 sources -= [ "native_device_keymap.cc" ] |
| 104 } |
101 } | 105 } |
102 | 106 |
103 source_set("unit_tests") { | 107 source_set("unit_tests") { |
104 testonly = true | 108 testonly = true |
105 | 109 |
106 # Disabled the source filters because there are _mac files that need to | 110 # Disabled the source filters because there are _mac files that need to |
107 # be compiled on all platforms. | 111 # be compiled on all platforms. |
108 set_sources_assignment_filter([]) | 112 set_sources_assignment_filter([]) |
109 sources = [ | 113 sources = [ |
110 "audio_player_unittest.cc", | 114 "audio_player_unittest.cc", |
(...skipping 19 matching lines...) Expand all Loading... |
130 ] | 134 ] |
131 | 135 |
132 deps = [ | 136 deps = [ |
133 ":client", | 137 ":client", |
134 "//remoting/proto", | 138 "//remoting/proto", |
135 "//testing/gmock", | 139 "//testing/gmock", |
136 "//testing/gtest", | 140 "//testing/gtest", |
137 "//third_party/webrtc/base:rtc_base_approved", | 141 "//third_party/webrtc/base:rtc_base_approved", |
138 ] | 142 ] |
139 } | 143 } |
OLD | NEW |