Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Side by Side Diff: components/audio_modem/BUILD.gn

Issue 1306153002: Revert of Sync more GN unit tests with GYP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tests3
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/BUILD.gn ('k') | components/autofill/core/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 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 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 source_set("audio_modem") { 5 static_library("audio_modem") {
6 public = [
7 "public/audio_modem_types.h",
8 "public/modem.h",
9 "public/whispernet_client.h",
10 ]
11 sources = [ 6 sources = [
12 "audio_modem_switches.cc", 7 "audio_modem_switches.cc",
13 "audio_modem_switches.h", 8 "audio_modem_switches.h",
14 "audio_player.h", 9 "audio_player.h",
15 "audio_player_impl.cc", 10 "audio_player_impl.cc",
16 "audio_player_impl.h", 11 "audio_player_impl.h",
17 "audio_recorder.h", 12 "audio_recorder.h",
18 "audio_recorder_impl.cc", 13 "audio_recorder_impl.cc",
19 "audio_recorder_impl.h", 14 "audio_recorder_impl.h",
20 "constants.cc", 15 "constants.cc",
21 "modem_impl.cc", 16 "modem_impl.cc",
22 "modem_impl.h", 17 "modem_impl.h",
18 "public/audio_modem_types.h",
19 "public/modem.h",
20 "public/whispernet_client.h",
23 ] 21 ]
24 22
25 deps = [ 23 deps = [
26 "//base", 24 "//base",
27 "//content", 25 "//content",
28 "//media", 26 "//media",
29 "//media:shared_memory_support", 27 "//media:shared_memory_support",
30 "//third_party/webrtc/common_audio", 28 "//third_party/webrtc/common_audio",
31 ] 29 ]
32 } 30 }
33 31
34 source_set("test_support") { 32 source_set("test_support") {
35 testonly = true
36 sources = [ 33 sources = [
37 "test/random_samples.cc", 34 "test/random_samples.cc",
38 "test/random_samples.h", 35 "test/random_samples.h",
39 "test/stub_modem.cc", 36 "test/stub_modem.cc",
40 "test/stub_modem.h", 37 "test/stub_modem.h",
41 "test/stub_whispernet_client.cc", 38 "test/stub_whispernet_client.cc",
42 "test/stub_whispernet_client.h", 39 "test/stub_whispernet_client.h",
43 ] 40 ]
44 41
45 public_deps = [
46 ":audio_modem",
47 ]
48 deps = [ 42 deps = [
49 "//base", 43 "//base",
50 "//media", 44 "//media",
51 ] 45 ]
52 } 46 }
53
54 source_set("unit_tests") {
55 testonly = true
56 sources = [
57 "audio_player_unittest.cc",
58 "audio_recorder_unittest.cc",
59 "modem_unittest.cc",
60 ]
61
62 deps = [
63 ":test_support",
64 "//testing/gtest",
65 ]
66 }
OLDNEW
« no previous file with comments | « components/BUILD.gn ('k') | components/autofill/core/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698