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

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

Issue 1275583002: Pull ICU, rename component build GN variables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « net/third_party/nss/ssl/BUILD.gn ('k') | tools/gn/functions_target_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 defines = [ 8 defines = [
9 "CHROME_PNG_WRITE_SUPPORT", 9 "CHROME_PNG_WRITE_SUPPORT",
10 "PNG_USER_CONFIG", 10 "PNG_USER_CONFIG",
11 ] 11 ]
12 12
13 if (is_android) { 13 if (is_android) {
14 #'toolsets': ['target', 'host'], 14 #'toolsets': ['target', 'host'],
15 defines += [ "CHROME_PNG_READ_PACK_SUPPORT" ] # Required by freetype. 15 defines += [ "CHROME_PNG_READ_PACK_SUPPORT" ] # Required by freetype.
16 } 16 }
17 17
18 if (is_win) { 18 if (is_win) {
19 if (component_mode == "shared_library") { 19 if (is_component_build) {
20 defines += [ 20 defines += [
21 "PNG_USE_DLL", 21 "PNG_USE_DLL",
22 "PNG_NO_MODULEDEF", 22 "PNG_NO_MODULEDEF",
23 ] 23 ]
24 } 24 }
25 } 25 }
26 } 26 }
27 27
28 source_set("libpng_sources") { 28 source_set("libpng_sources") {
29 sources = [ 29 sources = [
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 ":libpng_sources", 79 ":libpng_sources",
80 ] 80 ]
81 } 81 }
82 } else { 82 } else {
83 group("libpng") { 83 group("libpng") {
84 public_deps = [ 84 public_deps = [
85 ":libpng_sources", 85 ":libpng_sources",
86 ] 86 ]
87 } 87 }
88 } 88 }
OLDNEW
« no previous file with comments | « net/third_party/nss/ssl/BUILD.gn ('k') | tools/gn/functions_target_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698