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

Side by Side Diff: third_party/libpng/BUILD.gn

Issue 305993002: Update skia and ui GN builds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git log Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 config("libpng_config") { 5 config("libpng_config") {
6 include_dirs = [ 6 include_dirs = [
7 ".", 7 ".",
8 ] 8 ]
9 9
10 defines = [ 10 defines = [
(...skipping 11 matching lines...) Expand all
22 if (is_win) { 22 if (is_win) {
23 if (component_mode == "shared_library") { 23 if (component_mode == "shared_library") {
24 defines += [ 24 defines += [
25 "PNG_USE_DLL", 25 "PNG_USE_DLL",
26 "PNG_NO_MODULEDEF", 26 "PNG_NO_MODULEDEF",
27 ] 27 ]
28 } 28 }
29 } 29 }
30 } 30 }
31 31
32 static_library("libpng") { 32 source_set("libpng") {
33 sources = [ 33 sources = [
34 "png.c", 34 "png.c",
35 "png.h", 35 "png.h",
36 "pngconf.h", 36 "pngconf.h",
37 "pngerror.c", 37 "pngerror.c",
38 "pnggccrd.c", 38 "pnggccrd.c",
39 "pngget.c", 39 "pngget.c",
40 "pngmem.c", 40 "pngmem.c",
41 "pngpread.c", 41 "pngpread.c",
42 "pngread.c", 42 "pngread.c",
(...skipping 14 matching lines...) Expand all
57 configs += [ "//build/config/compiler:no_chromium_code" ] 57 configs += [ "//build/config/compiler:no_chromium_code" ]
58 58
59 forward_dependent_configs_from = [ "//third_party/zlib" ] 59 forward_dependent_configs_from = [ "//third_party/zlib" ]
60 60
61 direct_dependent_configs = [ ":libpng_config" ] 61 direct_dependent_configs = [ ":libpng_config" ]
62 62
63 deps = [ 63 deps = [
64 "//third_party/zlib", 64 "//third_party/zlib",
65 ] 65 ]
66 } 66 }
OLDNEW
« no previous file with comments | « third_party/libevent/BUILD.gn ('k') | third_party/libusb/BUILD.gn » ('j') | ui/base/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698