OLD | NEW |
(Empty) | |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//build/config/linux/pkg_config.gni") |
| 6 import("//build/shim_headers.gni") |
| 7 |
| 8 pkg_config("system_opus") { |
| 9 packages = [ "opus" ] |
| 10 } |
| 11 |
| 12 shim_headers("opus_shim") { |
| 13 root_path = "src/include" |
| 14 headers = [ |
| 15 "opus.h", |
| 16 "opus_defines.h", |
| 17 "opus_multistream.h", |
| 18 "opus_types.h", |
| 19 ] |
| 20 } |
| 21 |
| 22 source_set("opus") { |
| 23 deps = [ |
| 24 ":opus_shim", |
| 25 ] |
| 26 public_configs = [ ":system_opus" ] |
| 27 } |
| 28 |
| 29 source_set("opus_compare") { |
| 30 } |
| 31 |
| 32 source_set("opus_demo") { |
| 33 } |
| 34 |
| 35 source_set("test_opus_api") { |
| 36 } |
| 37 |
| 38 source_set("test_opus_decode") { |
| 39 } |
| 40 |
| 41 source_set("test_opus_encode") { |
| 42 } |
| 43 |
| 44 source_set("test_opus_padding") { |
| 45 } |
OLD | NEW |