OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. |
| 2 # |
| 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 |
| 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 |
| 9 import("../../../../webrtc.gni") |
| 10 |
| 11 copy("py_quality_assessment") { |
| 12 testonly = true |
| 13 sources = [ |
| 14 "README.md", |
| 15 "apm_quality_assessment-export.py", |
| 16 "apm_quality_assessment-gencfgs.py", |
| 17 "apm_quality_assessment.py", |
| 18 "apm_quality_assessment.sh", |
| 19 ] |
| 20 outputs = [ |
| 21 "$root_build_dir/py_quality_assessment/{{source_file_part}}", |
| 22 ] |
| 23 deps = [ |
| 24 ":apm_configs", |
| 25 ":lib", |
| 26 ":output", |
| 27 "../..:audioproc_f", |
| 28 "//resources/audio_processing/test/py_quality_assessment:probing_signals", |
| 29 ] |
| 30 } # py_quality_assessment |
| 31 |
| 32 copy("lib") { |
| 33 testonly = true |
| 34 sources = [ |
| 35 "quality_assessment/__init__.py", |
| 36 "quality_assessment/data_access.py", |
| 37 "quality_assessment/eval_scores.py", |
| 38 "quality_assessment/noise_generation.py", |
| 39 "quality_assessment/simulation.py", |
| 40 ] |
| 41 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 42 outputs = [ |
| 43 "$root_build_dir/py_quality_assessment/quality_assessment/{{source_file_part
}}", |
| 44 ] |
| 45 deps = [ |
| 46 "//resources/audio_processing/test/py_quality_assessment:noise_tracks", |
| 47 ] |
| 48 } # lib |
| 49 |
| 50 copy("apm_configs") { |
| 51 testonly = true |
| 52 sources = [ |
| 53 "apm_configs/default.json", |
| 54 ] |
| 55 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 56 outputs = [ |
| 57 "$root_build_dir/py_quality_assessment/apm_configs/{{source_file_part}}", |
| 58 ] |
| 59 } # apm_configs |
| 60 |
| 61 copy("output") { |
| 62 testonly = true |
| 63 sources = [ |
| 64 "output/README.md", |
| 65 ] |
| 66 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 67 outputs = [ |
| 68 "$root_build_dir/py_quality_assessment/output/{{source_file_part}}", |
| 69 ] |
| 70 } # output |
OLD | NEW |