| OLD | NEW |
| (Empty) |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 source_set("audio_modem") { | |
| 6 sources = [ | |
| 7 "audio_modem_switches.cc", | |
| 8 "audio_modem_switches.h", | |
| 9 "audio_player.h", | |
| 10 "audio_player_impl.cc", | |
| 11 "audio_player_impl.h", | |
| 12 "audio_recorder.h", | |
| 13 "audio_recorder_impl.cc", | |
| 14 "audio_recorder_impl.h", | |
| 15 "constants.cc", | |
| 16 "modem_impl.cc", | |
| 17 "modem_impl.h", | |
| 18 "public/audio_modem_types.h", | |
| 19 "public/modem.h", | |
| 20 "public/whispernet_client.h", | |
| 21 ] | |
| 22 | |
| 23 deps = [ | |
| 24 "//base", | |
| 25 "//content/public/browser", | |
| 26 "//media", | |
| 27 "//media:shared_memory_support", | |
| 28 "//third_party/webrtc/common_audio", | |
| 29 ] | |
| 30 } | |
| 31 | |
| 32 source_set("test_support") { | |
| 33 testonly = true | |
| 34 sources = [ | |
| 35 "test/random_samples.cc", | |
| 36 "test/random_samples.h", | |
| 37 "test/stub_modem.cc", | |
| 38 "test/stub_modem.h", | |
| 39 "test/stub_whispernet_client.cc", | |
| 40 "test/stub_whispernet_client.h", | |
| 41 ] | |
| 42 | |
| 43 public_deps = [ | |
| 44 ":audio_modem", | |
| 45 ] | |
| 46 deps = [ | |
| 47 "//base", | |
| 48 "//media", | |
| 49 "//media:shared_memory_support", | |
| 50 ] | |
| 51 } | |
| 52 | |
| 53 source_set("unit_tests") { | |
| 54 testonly = true | |
| 55 sources = [ | |
| 56 "audio_player_unittest.cc", | |
| 57 "audio_recorder_unittest.cc", | |
| 58 "modem_unittest.cc", | |
| 59 ] | |
| 60 | |
| 61 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | |
| 62 | |
| 63 deps = [ | |
| 64 ":test_support", | |
| 65 "//base", | |
| 66 "//base/test:test_support", | |
| 67 "//content/test:test_support", | |
| 68 "//media", | |
| 69 "//media:shared_memory_support", | |
| 70 "//testing/gtest", | |
| 71 ] | |
| 72 } | |
| OLD | NEW |