OLD | NEW |
1 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("../../../../webrtc.gni") | 9 import("../../../../webrtc.gni") |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 "apm_quality_assessment_gencfgs.py", | 26 "apm_quality_assessment_gencfgs.py", |
27 ] | 27 ] |
28 outputs = [ | 28 outputs = [ |
29 "$root_build_dir/py_quality_assessment/{{source_file_part}}", | 29 "$root_build_dir/py_quality_assessment/{{source_file_part}}", |
30 ] | 30 ] |
31 deps = [ | 31 deps = [ |
32 ":apm_configs", | 32 ":apm_configs", |
33 ":lib", | 33 ":lib", |
34 ":output", | 34 ":output", |
35 "../..:audioproc_f", | 35 "../..:audioproc_f", |
36 "//resources/audio_processing/test/py_quality_assessment:probing_signals", | 36 "../../../../../resources/audio_processing/test/py_quality_assessment:probin
g_signals", |
37 ] | 37 ] |
38 } | 38 } |
39 | 39 |
40 copy("apm_configs") { | 40 copy("apm_configs") { |
41 testonly = true | 41 testonly = true |
42 sources = [ | 42 sources = [ |
43 "apm_configs/default.json", | 43 "apm_configs/default.json", |
44 ] | 44 ] |
45 visibility = [ ":*" ] # Only targets in this file can depend on this. | 45 visibility = [ ":*" ] # Only targets in this file can depend on this. |
46 outputs = [ | 46 outputs = [ |
(...skipping 17 matching lines...) Expand all Loading... |
64 "quality_assessment/signal_processing.py", | 64 "quality_assessment/signal_processing.py", |
65 "quality_assessment/simulation.py", | 65 "quality_assessment/simulation.py", |
66 "quality_assessment/test_data_generation.py", | 66 "quality_assessment/test_data_generation.py", |
67 "quality_assessment/test_data_generation_factory.py", | 67 "quality_assessment/test_data_generation_factory.py", |
68 ] | 68 ] |
69 visibility = [ ":*" ] # Only targets in this file can depend on this. | 69 visibility = [ ":*" ] # Only targets in this file can depend on this. |
70 outputs = [ | 70 outputs = [ |
71 "$root_build_dir/py_quality_assessment/quality_assessment/{{source_file_part
}}", | 71 "$root_build_dir/py_quality_assessment/quality_assessment/{{source_file_part
}}", |
72 ] | 72 ] |
73 deps = [ | 73 deps = [ |
74 "//resources/audio_processing/test/py_quality_assessment:noise_tracks", | 74 "../../../../../resources/audio_processing/test/py_quality_assessment:noise_
tracks", |
75 ] | 75 ] |
76 } | 76 } |
77 | 77 |
78 copy("output") { | 78 copy("output") { |
79 testonly = true | 79 testonly = true |
80 sources = [ | 80 sources = [ |
81 "output/README.md", | 81 "output/README.md", |
82 ] | 82 ] |
83 visibility = [ ":*" ] # Only targets in this file can depend on this. | 83 visibility = [ ":*" ] # Only targets in this file can depend on this. |
84 outputs = [ | 84 outputs = [ |
(...skipping 12 matching lines...) Expand all Loading... |
97 } | 97 } |
98 | 98 |
99 rtc_executable("fake_polqa") { | 99 rtc_executable("fake_polqa") { |
100 testonly = true | 100 testonly = true |
101 sources = [ | 101 sources = [ |
102 "quality_assessment/fake_polqa.cc", | 102 "quality_assessment/fake_polqa.cc", |
103 ] | 103 ] |
104 visibility = [ ":*" ] # Only targets in this file can depend on this. | 104 visibility = [ ":*" ] # Only targets in this file can depend on this. |
105 output_name = "py_quality_assessment/quality_assessment/fake_polqa" | 105 output_name = "py_quality_assessment/quality_assessment/fake_polqa" |
106 deps = [ | 106 deps = [ |
107 "//webrtc:webrtc_common", | 107 "../../../..:webrtc_common", |
108 "//webrtc/base:rtc_base_approved", | 108 "../../../../base:rtc_base_approved", |
109 ] | 109 ] |
110 } | 110 } |
111 | 111 |
112 copy("lib_unit_tests") { | 112 copy("lib_unit_tests") { |
113 testonly = true | 113 testonly = true |
114 sources = [ | 114 sources = [ |
115 "quality_assessment/eval_scores_unittest.py", | 115 "quality_assessment/eval_scores_unittest.py", |
116 "quality_assessment/signal_processing_unittest.py", | 116 "quality_assessment/signal_processing_unittest.py", |
117 "quality_assessment/simulation_unittest.py", | 117 "quality_assessment/simulation_unittest.py", |
118 "quality_assessment/test_data_generation_unittest.py", | 118 "quality_assessment/test_data_generation_unittest.py", |
119 ] | 119 ] |
120 visibility = [ ":*" ] # Only targets in this file can depend on this. | 120 visibility = [ ":*" ] # Only targets in this file can depend on this. |
121 outputs = [ | 121 outputs = [ |
122 "$root_build_dir/py_quality_assessment/quality_assessment/{{source_file_part
}}", | 122 "$root_build_dir/py_quality_assessment/quality_assessment/{{source_file_part
}}", |
123 ] | 123 ] |
124 } | 124 } |
125 | 125 |
126 copy("scripts_unit_tests") { | 126 copy("scripts_unit_tests") { |
127 testonly = true | 127 testonly = true |
128 sources = [ | 128 sources = [ |
129 "apm_quality_assessment_unittest.py", | 129 "apm_quality_assessment_unittest.py", |
130 ] | 130 ] |
131 visibility = [ ":*" ] # Only targets in this file can depend on this. | 131 visibility = [ ":*" ] # Only targets in this file can depend on this. |
132 outputs = [ | 132 outputs = [ |
133 "$root_build_dir/py_quality_assessment/{{source_file_part}}", | 133 "$root_build_dir/py_quality_assessment/{{source_file_part}}", |
134 ] | 134 ] |
135 } | 135 } |
OLD | NEW |