flac.gn 668 B

123456789101112131415161718192021222324252627282930
  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_flac") {
  7. packages = [ "flac" ]
  8. }
  9. shim_headers("flac_shim") {
  10. root_path = "include"
  11. headers = [
  12. "FLAC/all.h",
  13. "FLAC/assert.h",
  14. "FLAC/callback.h",
  15. "FLAC/export.h",
  16. "FLAC/format.h",
  17. "FLAC/metadata.h",
  18. "FLAC/ordinals.h",
  19. "FLAC/stream_decoder.h",
  20. "FLAC/stream_encoder.h",
  21. ]
  22. }
  23. source_set("flac") {
  24. deps = [ ":flac_shim" ]
  25. public_configs = [ ":system_flac" ]
  26. }