1 # Copyright (c) 2008 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.
5 # Ripped and modded from chrome.
13 LIBPNG_DIR = '$THIRD_PARTY_DIR/libpng',
16 '$THIRD_PARTY_DIR/zlib',
29 '$LIBPNG_DIR/pngerror.c',
30 '$LIBPNG_DIR/pngget.c',
31 '$LIBPNG_DIR/pngmem.c',
32 '$LIBPNG_DIR/pngset.c',
33 '$LIBPNG_DIR/pngtrans.c',
36 '$LIBPNG_DIR/pngpread.c',
37 '$LIBPNG_DIR/pngread.c',
38 '$LIBPNG_DIR/pngrio.c',
39 '$LIBPNG_DIR/pngrtran.c',
40 '$LIBPNG_DIR/pngrutil.c',
43 # The following files are not yet needed; exclude them to save size.
44 if not env['OFFICIAL_BUILD']:
47 '$LIBPNG_DIR/pngwio.c',
48 '$LIBPNG_DIR/pngwrite.c',
49 '$LIBPNG_DIR/pngwtran.c',
50 '$LIBPNG_DIR/pngwutil.c',
53 env.GearsStaticLibrary('png-gears', input_files)