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 ] |
| 37 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 38 outputs = [ |
| 39 "$root_build_dir/py_quality_assessment/quality_assessment/{{source_file_part
}}", |
| 40 ] |
| 41 deps = [ |
| 42 "//resources/audio_processing/test/py_quality_assessment:noise_tracks", |
| 43 ] |
| 44 } # lib |
| 45 |
| 46 copy("apm_configs") { |
| 47 testonly = true |
| 48 sources = [ |
| 49 "quality_assessment/apm_configs/default.json", |
| 50 ] |
| 51 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 52 outputs = [ |
| 53 "$root_build_dir/py_quality_assessment/apm_configs/{{source_file_part}}", |
| 54 ] |
| 55 } # apm_configs |
| 56 |
| 57 copy("output") { |
| 58 testonly = true |
| 59 sources = [ |
| 60 "output/README.md", |
| 61 ] |
| 62 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 63 outputs = [ |
| 64 "$root_build_dir/py_quality_assessment/output/{{source_file_part}}", |
| 65 ] |
| 66 } # output |
OLD | NEW |