summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/build/linux/unbundle/openh264.gn
blob: 882e0a8223bf7de7156d7932112405d48e80c6a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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" ]
}