opus.gn (745B)
1 # Copyright 2017 The Chromium Authors 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("//chromium/build/config/linux/pkg_config.gni") 6 import("//chromium/build/shim_headers.gni") 7 8 pkg_config("opus_config") { 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 = [ ":opus_shim" ] 24 public_configs = [ ":opus_config" ] 25 } 26 27 source_set("opus_compare") { 28 } 29 30 source_set("opus_demo") { 31 } 32 33 source_set("test_opus_api") { 34 } 35 36 source_set("test_opus_decode") { 37 } 38 39 source_set("test_opus_encode") { 40 } 41 42 source_set("test_opus_padding") { 43 }