1 # Copyright 2013 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 { 6 'targets': [ 7 { 8 'target_name': 'opus', 9 'type': 'none', 10 'direct_dependent_settings': { 11 'cflags': [ 12 '<!@(pkg-config --cflags opus)', 13 ], 14 }, 15 'variables': { 16 'headers_root_path': 'src/include', 17 'header_filenames': [ 18 'opus_custom.h', 19 'opus_defines.h', 20 'opus_multistream.h', 21 'opus_types.h', 22 'opus.h', 23 ], 24 }, 25 'includes': [ 26 '../../build/shim_headers.gypi', 27 ], 28 'link_settings': { 29 'ldflags': [ 30 '<!@(pkg-config --libs-only-L --libs-only-other opus)', 31 ], 32 'libraries': [ 33 '<!@(pkg-config --libs-only-l opus)', 34 ], 35 }, 36 }, 37 ], 38 } 39