libwebp.gn 703 B

1234567891011121314151617181920212223242526272829303132333435
  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. import("//build/config/linux/pkg_config.gni")
  5. import("//build/shim_headers.gni")
  6. pkg_config("system_libwebp") {
  7. packages = [
  8. "libwebp",
  9. "libwebpdemux",
  10. "libwebpmux",
  11. ]
  12. }
  13. shim_headers("libwebp_shim") {
  14. root_path = "src/src"
  15. headers = [
  16. "webp/decode.h",
  17. "webp/demux.h",
  18. "webp/encode.h",
  19. "webp/mux.h",
  20. "webp/mux_types.h",
  21. "webp/types.h",
  22. ]
  23. }
  24. source_set("libwebp_webp") {
  25. deps = [ ":libwebp_shim" ]
  26. public_configs = [ ":system_libwebp" ]
  27. }
  28. group("libwebp") {
  29. deps = [ ":libwebp_webp" ]
  30. }