OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 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_libvpx") { |
| 9 packages = [ "vpx" ] |
| 10 } |
| 11 |
| 12 shim_headers("libvpx_shim") { |
| 13 root_path = "source/libvpx" |
| 14 headers = [ |
| 15 "vpx/vp8.h", |
| 16 "vpx/vp8cx.h", |
| 17 "vpx/vp8dx.h", |
| 18 "vpx/vpx_codec.h", |
| 19 "vpx/vpx_codec_impl_bottom.h", |
| 20 "vpx/vpx_codec_impl_top.h", |
| 21 "vpx/vpx_decoder.h", |
| 22 "vpx/vpx_encoder.h", |
| 23 "vpx/vpx_frame_buffer.h", |
| 24 "vpx/vpx_image.h", |
| 25 "vpx/vpx_integer.h", |
| 26 ] |
| 27 } |
| 28 |
| 29 source_set("libvpx") { |
| 30 deps = [ |
| 31 ":libvpx_shim", |
| 32 ] |
| 33 public_configs = [ ":system_libvpx" ] |
| 34 } |
OLD | NEW |