Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Side by Side Diff: gyp/libpng.gyp

Issue 152513007: Build Skia for a bare-bones embedded Linux system. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2014 Google Inc.
2 #
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 {
7 'conditions': [
8 ['skia_libpng_static', {
9 'variables': {
10 'skia_warnings_as_errors': 0,
11 },
12 'targets': [
13 {
14 'target_name': 'libpng',
15 'type': 'static_library',
16 'defines': [
17 ],
18 'include_dirs': [
19 '../third_party/externals/libpng',
20 ],
21 'dependencies': [
22 'libzlib.gyp:libzlib',
23 ],
24 'export_dependent_settings': [
25 'libzlib.gyp:libzlib',
26 ],
27 'direct_dependent_settings': {
28 'include_dirs': [
29 '../third_party/externals/libpng',
30 ],
31 },
32 'cflags': [
33 '-w',
34 '-fvisibility=hidden',
35 ],
36 'sources': [
37 '../third_party/externals/libpng/png.c',
38 '../third_party/externals/libpng/pngerror.c',
39 '../third_party/externals/libpng/pnggccrd.c',
40 '../third_party/externals/libpng/pngget.c',
41 '../third_party/externals/libpng/pngmem.c',
42 '../third_party/externals/libpng/pngpread.c',
43 '../third_party/externals/libpng/pngread.c',
44 '../third_party/externals/libpng/pngrio.c',
45 '../third_party/externals/libpng/pngrtran.c',
46 '../third_party/externals/libpng/pngrutil.c',
47 '../third_party/externals/libpng/pngset.c',
48 '../third_party/externals/libpng/pngtrans.c',
49 '../third_party/externals/libpng/pngvcrd.c',
50 '../third_party/externals/libpng/pngwio.c',
51 '../third_party/externals/libpng/pngwrite.c',
52 '../third_party/externals/libpng/pngwtran.c',
53 '../third_party/externals/libpng/pngwutil.c',
54 ],
55 }
56 ]
57 }, {
58 'targets': [
59 {
60 'target_name': 'libpng',
61 'type': 'none',
62 'dependencies': [
63 'libzlib.gyp:libzlib',
64 ],
65 'export_dependent_settings': [
66 'libzlib.gyp:libzlib',
67 ],
68 'direct_dependent_settings': {
69 'link_settings': {
70 'libraries': [
71 '-lpng',
72 ],
73 },
74 },
75 },
76 ],
77 }],
78 ]
79 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698