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("config") { |
| 9 packages = [ "openh264" ] |
| 10 } |
| 11 |
| 12 shim_headers("openh264_shim") { |
| 13 prefix = "wels/" |
| 14 root_path = "src/codec/api/svc" |
| 15 headers = [ |
| 16 "codec_api.h", |
| 17 "codec_app_def.h", |
| 18 "codec_def.h", |
| 19 "codec_ver.h", |
| 20 ] |
| 21 } |
| 22 |
| 23 source_set("common") { |
| 24 deps = [ |
| 25 ":openh264_shim", |
| 26 ] |
| 27 public_configs = [ ":config" ] |
| 28 } |
| 29 |
| 30 source_set("processing") { |
| 31 deps = [ |
| 32 ":openh264_shim", |
| 33 ] |
| 34 public_configs = [ ":config" ] |
| 35 } |
| 36 |
| 37 source_set("encoder") { |
| 38 deps = [ |
| 39 ":openh264_shim", |
| 40 ] |
| 41 public_configs = [ ":config" ] |
| 42 } |
OLD | NEW |