openh264.gn 756 B

123456789101112131415161718192021222324252627282930313233343536
  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. import("//build/config/linux/pkg_config.gni")
  5. import("//build/shim_headers.gni")
  6. pkg_config("config") {
  7. packages = [ "openh264" ]
  8. }
  9. shim_headers("openh264_shim") {
  10. prefix = "wels/"
  11. root_path = "src/codec/api/svc"
  12. headers = [
  13. "codec_api.h",
  14. "codec_app_def.h",
  15. "codec_def.h",
  16. "codec_ver.h",
  17. ]
  18. }
  19. source_set("common") {
  20. deps = [ ":openh264_shim" ]
  21. public_configs = [ ":config" ]
  22. }
  23. source_set("processing") {
  24. deps = [ ":openh264_shim" ]
  25. public_configs = [ ":config" ]
  26. }
  27. source_set("encoder") {
  28. deps = [ ":openh264_shim" ]
  29. public_configs = [ ":config" ]
  30. }