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 'targets': [ 6 { 7 'target_name': 'libvpx', 8 'type': 'none', 9 'direct_dependent_settings': { 10 'cflags': [ 11 '<!@(pkg-config --cflags vpx)', 12 ], 13 }, 14 'variables': { 15 'headers_root_path': 'source/libvpx', 16 'header_filenames': [ 17 'vpx/vp8.h', 18 'vpx/vp8cx.h', 19 'vpx/vp8dx.h', 20 'vpx/vpx_codec.h', 21 'vpx/vpx_codec_impl_bottom.h', 22 'vpx/vpx_codec_impl_top.h', 23 'vpx/vpx_decoder.h', 24 'vpx/vpx_encoder.h', 25 'vpx/vpx_frame_buffer.h', 26 'vpx/vpx_image.h', 27 'vpx/vpx_integer.h', 28 ], 29 }, 30 'includes': [ 31 '../../build/shim_headers.gypi', 32 ], 33 'link_settings': { 34 'ldflags': [ 35 '<!@(pkg-config --libs-only-L --libs-only-other vpx)', 36 ], 37 'libraries': [ 38 '<!@(pkg-config --libs-only-l vpx)', 39 ], 40 }, 41 }, 42 ], 43 } 44