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 |
11 copy("py_quality_assessment") { | 11 copy("py_quality_assessment") { |
12 testonly = true | 12 testonly = true |
13 sources = [ | 13 sources = [ |
14 "README.md", | 14 "README.md", |
15 "apm_quality_assessment-export.py", | |
16 "apm_quality_assessment-gencfgs.py", | |
17 "apm_quality_assessment.py", | 15 "apm_quality_assessment.py", |
18 "apm_quality_assessment.sh", | 16 "apm_quality_assessment.sh", |
| 17 "apm_quality_assessment_export.py", |
| 18 "apm_quality_assessment_gencfgs.py", |
| 19 "apm_quality_assessment_unittest.py", |
19 ] | 20 ] |
20 outputs = [ | 21 outputs = [ |
21 "$root_build_dir/py_quality_assessment/{{source_file_part}}", | 22 "$root_build_dir/py_quality_assessment/{{source_file_part}}", |
22 ] | 23 ] |
23 deps = [ | 24 deps = [ |
24 ":apm_configs", | 25 ":apm_configs", |
25 ":lib", | 26 ":lib", |
26 ":output", | 27 ":output", |
27 "../..:audioproc_f", | 28 "../..:audioproc_f", |
28 "//resources/audio_processing/test/py_quality_assessment:probing_signals", | 29 "//resources/audio_processing/test/py_quality_assessment:probing_signals", |
29 ] | 30 ] |
30 } # py_quality_assessment | 31 } # py_quality_assessment |
31 | 32 |
32 copy("lib") { | 33 copy("lib") { |
33 testonly = true | 34 testonly = true |
34 sources = [ | 35 sources = [ |
35 "quality_assessment/__init__.py", | 36 "quality_assessment/__init__.py", |
36 "quality_assessment/audioproc_wrapper.py", | 37 "quality_assessment/audioproc_wrapper.py", |
37 "quality_assessment/data_access.py", | 38 "quality_assessment/data_access.py", |
38 "quality_assessment/eval_scores.py", | 39 "quality_assessment/eval_scores.py", |
| 40 "quality_assessment/eval_scores_unittest.py", |
39 "quality_assessment/evaluation.py", | 41 "quality_assessment/evaluation.py", |
40 "quality_assessment/noise_generation.py", | 42 "quality_assessment/noise_generation.py", |
| 43 "quality_assessment/noise_generation_unittest.py", |
41 "quality_assessment/signal_processing.py", | 44 "quality_assessment/signal_processing.py", |
| 45 "quality_assessment/signal_processing_unittest.py", |
42 "quality_assessment/simulation.py", | 46 "quality_assessment/simulation.py", |
43 ] | 47 ] |
44 visibility = [ ":*" ] # Only targets in this file can depend on this. | 48 visibility = [ ":*" ] # Only targets in this file can depend on this. |
45 outputs = [ | 49 outputs = [ |
46 "$root_build_dir/py_quality_assessment/quality_assessment/{{source_file_part
}}", | 50 "$root_build_dir/py_quality_assessment/quality_assessment/{{source_file_part
}}", |
47 ] | 51 ] |
48 deps = [ | 52 deps = [ |
49 "//resources/audio_processing/test/py_quality_assessment:noise_tracks", | 53 "//resources/audio_processing/test/py_quality_assessment:noise_tracks", |
50 ] | 54 ] |
51 } # lib | 55 } # lib |
(...skipping 12 matching lines...) Expand all Loading... |
64 copy("output") { | 68 copy("output") { |
65 testonly = true | 69 testonly = true |
66 sources = [ | 70 sources = [ |
67 "output/README.md", | 71 "output/README.md", |
68 ] | 72 ] |
69 visibility = [ ":*" ] # Only targets in this file can depend on this. | 73 visibility = [ ":*" ] # Only targets in this file can depend on this. |
70 outputs = [ | 74 outputs = [ |
71 "$root_build_dir/py_quality_assessment/output/{{source_file_part}}", | 75 "$root_build_dir/py_quality_assessment/output/{{source_file_part}}", |
72 ] | 76 ] |
73 } # output | 77 } # output |
OLD | NEW |