blob: 5f2fdebac91a8601076aa6b7a98abebbcf2bd5b6 [file] [log] [blame]
Ben Murdoch097c5b22016-05-18 11:27:45 +01001# 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
5import("//build/config/linux/pkg_config.gni")
6import("//build/shim_headers.gni")
7
8pkg_config("system_flac") {
9 packages = [ "flac" ]
10}
11
12shim_headers("flac_shim") {
13 root_path = "include"
14 headers = [
15 "FLAC/all.h",
16 "FLAC/assert.h",
17 "FLAC/callback.h",
18 "FLAC/export.h",
19 "FLAC/format.h",
20 "FLAC/metadata.h",
21 "FLAC/ordinals.h",
22 "FLAC/stream_decoder.h",
23 "FLAC/stream_encoder.h",
24 ]
25}
26
27source_set("flac") {
28 deps = [
29 ":flac_shim",
30 ]
31 public_configs = [ ":system_flac" ]
32}