| Index: build/linux/unbundle/openh264.gn
|
| diff --git a/build/linux/unbundle/openh264.gn b/build/linux/unbundle/openh264.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..68ca48784b451dab5b3ee6e1cee3830025fdd7aa
|
| --- /dev/null
|
| +++ b/build/linux/unbundle/openh264.gn
|
| @@ -0,0 +1,42 @@
|
| +# Copyright 2017 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +import("//build/config/linux/pkg_config.gni")
|
| +import("//build/shim_headers.gni")
|
| +
|
| +pkg_config("config") {
|
| + packages = [ "openh264" ]
|
| +}
|
| +
|
| +shim_headers("openh264_shim") {
|
| + prefix = "wels/"
|
| + root_path = "src/codec/api/svc"
|
| + headers = [
|
| + "codec_api.h",
|
| + "codec_app_def.h",
|
| + "codec_def.h",
|
| + "codec_ver.h",
|
| + ]
|
| +}
|
| +
|
| +source_set("common") {
|
| + deps = [
|
| + ":openh264_shim",
|
| + ]
|
| + public_configs = [ ":config" ]
|
| +}
|
| +
|
| +source_set("processing") {
|
| + deps = [
|
| + ":openh264_shim",
|
| + ]
|
| + public_configs = [ ":config" ]
|
| +}
|
| +
|
| +source_set("encoder") {
|
| + deps = [
|
| + ":openh264_shim",
|
| + ]
|
| + public_configs = [ ":config" ]
|
| +}
|
|
|