aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/libpng/BUILD.gn
blob: fd80aad3b9718b580da371dd2a658f2efdc2e1e6 (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
37
# Copyright 2016 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

declare_args() {
}

import("../third_party.gni")

config("libpng_public") {
  include_dirs = [ "." ]
}
third_party("libpng") {
  public_configs = [ ":libpng_public" ]

  deps = [
    "//third_party/zlib",
  ]
  sources = [
    "png.c",
    "pngerror.c",
    "pngget.c",
    "pngmem.c",
    "pngpread.c",
    "pngread.c",
    "pngrio.c",
    "pngrtran.c",
    "pngrutil.c",
    "pngset.c",
    "pngtrans.c",
    "pngwio.c",
    "pngwrite.c",
    "pngwtran.c",
    "pngwutil.c",
  ]
}