Chromium Code Reviews| Index: webrtc/modules/audio_processing/test/py_quality_assessment/BUILD.gn |
| diff --git a/webrtc/modules/audio_processing/test/py_quality_assessment/BUILD.gn b/webrtc/modules/audio_processing/test/py_quality_assessment/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..297b37d5df4a3056170b812d23db29929c7cc25b |
| --- /dev/null |
| +++ b/webrtc/modules/audio_processing/test/py_quality_assessment/BUILD.gn |
| @@ -0,0 +1,52 @@ |
| +# Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. |
| +# |
| +# Use of this source code is governed by a BSD-style license |
| +# that can be found in the LICENSE file in the root of the source |
| +# tree. An additional intellectual property rights grant can be found |
| +# in the file PATENTS. All contributing project authors may |
| +# be found in the AUTHORS file in the root of the source tree. |
| + |
| +import("../../../../webrtc.gni") |
| + |
| +copy("lib") { |
| + testonly = true |
| + sources = [ |
| + "quality_assessment/__init__.py", |
| + ] |
|
aleloi
2017/02/23 14:48:24
I suggest adding 'visibility = [ ":" ]' (hope the
|
| + outputs = [ |
| + "$root_build_dir/py_quality_assessment/quality_assessment/{{source_file_part}}", |
| + ] |
| + deps = [ |
| + "//resources/audio_processing/test/py_quality_assessment:noise_tracks", |
| + ] |
| +} # lib |
| + |
| +copy("apm_configs") { |
| + testonly = true |
| + sources = [ |
| + "quality_assessment/apm_configs/default.json", |
| + ] |
| + outputs = [ |
| + "$root_build_dir/py_quality_assessment/apm_configs/{{source_file_part}}", |
| + ] |
| +} # apm_configs |
| + |
| +copy("py_quality_assessment") { |
|
aleloi
2017/02/23 14:48:24
Please move this to the beginning of the file.
Se
|
| + testonly = true |
| + sources = [ |
| + "README", |
| + "apm_quality_assessment-export.py", |
| + "apm_quality_assessment-gencfgs.py", |
| + "apm_quality_assessment.py", |
| + "apm_quality_assessment.sh", |
| + ] |
| + outputs = [ |
| + "$root_build_dir/py_quality_assessment/{{source_file_part}}", |
| + ] |
| + deps = [ |
| + ":apm_configs", |
| + ":lib", |
| + "../..:audioproc_f", |
| + "//resources/audio_processing/test/py_quality_assessment:probing_signals", |
| + ] |
| +} # py_quality_assessment |