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

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: changes 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 'variables': {
8 'skia_warnings_as_errors': 0,
9 },
10 'targets': [
11 {
12 'target_name': 'libpng',
13 'conditions': [
14 ['skia_libpng_static', {
15 'type': 'static_library',
16 'include_dirs': [
17 '../third_party/externals/libpng',
18 ],
19 'dependencies': [
20 'libzlib.gyp:libzlib',
21 ],
22 'export_dependent_settings': [
23 'libzlib.gyp:libzlib',
24 ],
25 'direct_dependent_settings': {
26 'include_dirs': [
27 '../third_party/externals/libpng',
28 ],
29 },
30 'cflags': [
31 '-w',
32 '-fvisibility=hidden',
33 ],
34 'sources': [
35 '../third_party/externals/libpng/png.c',
36 '../third_party/externals/libpng/pngerror.c',
37 '../third_party/externals/libpng/pnggccrd.c',
38 '../third_party/externals/libpng/pngget.c',
39 '../third_party/externals/libpng/pngmem.c',
40 '../third_party/externals/libpng/pngpread.c',
41 '../third_party/externals/libpng/pngread.c',
42 '../third_party/externals/libpng/pngrio.c',
43 '../third_party/externals/libpng/pngrtran.c',
44 '../third_party/externals/libpng/pngrutil.c',
45 '../third_party/externals/libpng/pngset.c',
46 '../third_party/externals/libpng/pngtrans.c',
47 '../third_party/externals/libpng/pngvcrd.c',
48 '../third_party/externals/libpng/pngwio.c',
49 '../third_party/externals/libpng/pngwrite.c',
50 '../third_party/externals/libpng/pngwtran.c',
51 '../third_party/externals/libpng/pngwutil.c',
52 ],
53 }, {
54 'type': 'none',
55 'dependencies': [
56 'libzlib.gyp:libzlib',
57 ],
58 'export_dependent_settings': [
59 'libzlib.gyp:libzlib',
60 ],
61 'direct_dependent_settings': {
62 'link_settings': {
63 'libraries': [
64 '-lpng',
65 ],
66 },
67 },
68 }]
69 ],
70 }
71 ]
72 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698