Hash :
d0ef13a2
Author :
Date :
2017-08-28T22:53:24
Stand-alone build with gn. This should do the same things as the stand-alone gyp build, but with gn. You should switch to gn as gyp support will go away. You need a recent enough version of gn. If yours is too old try this one: ./buildtools/linux64/gn If "gclient sync" or anything fails with an ImportError on gyp stuff, try running it with the following PYTHONPATH in the environment: PYTHONPATH=tools/gyp/pylib BUG=angleproject:1569 Change-Id: I56d19bec2d8b649a7bd65062c656cbfc69ea3dd8 Reviewed-on: https://chromium-review.googlesource.com/642588 Reviewed-by: Frank Henigman <fjhenigman@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
# Copyright (c) 2017 The ANGLE Project Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
config("libpng_config") {
include_dirs = [ "src" ]
}
static_library("libpng") {
sources = [
"src/png.c",
"src/pngerror.c",
"src/pngget.c",
"src/pngmem.c",
"src/pngpread.c",
"src/pngread.c",
"src/pngrio.c",
"src/pngrtran.c",
"src/pngrutil.c",
"src/pngset.c",
"src/pngtrans.c",
"src/pngwio.c",
"src/pngwrite.c",
"src/pngwtran.c",
"src/pngwutil.c",
]
if (is_win) {
cflags = [ "/wd4028" ]
}
configs -= [ "//build/config/compiler:chromium_code" ]
public_configs = [ ":libpng_config" ]
deps = [
"//third_party/zlib:zlib",
]
}