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

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

Issue 595073002: Replace forward_dependent_configs with public_deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « third_party/dom_distiller_js/BUILD.gn ('k') | third_party/fontconfig/BUILD.gn » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 if (is_linux) { 5 if (is_linux) {
6 config("expat_config") { 6 config("expat_config") {
7 libs = [ "expat" ] 7 libs = [ "expat" ]
8 } 8 }
9 9
10 group("expat") { 10 group("expat") {
11 direct_dependent_configs = [ ":expat_config" ] 11 public_configs = [ ":expat_config" ]
12 } 12 }
13 } else { 13 } else {
14 config("expat_config") { 14 config("expat_config") {
15 include_dirs = [ "files/lib" ] 15 include_dirs = [ "files/lib" ]
16 defines = [ "XML_STATIC" ] 16 defines = [ "XML_STATIC" ]
17 } 17 }
18 18
19 static_library("expat") { 19 static_library("expat") {
20 sources = [ 20 sources = [
21 "files/lib/expat.h", 21 "files/lib/expat.h",
22 "files/lib/xmlparse.c", 22 "files/lib/xmlparse.c",
23 "files/lib/xmlrole.c", 23 "files/lib/xmlrole.c",
24 "files/lib/xmltok.c", 24 "files/lib/xmltok.c",
25 ] 25 ]
26 26
27 direct_dependent_configs = [ ":expat_config" ] 27 public_configs = [ ":expat_config" ]
28 28
29 defines = [ "_LIB" ] 29 defines = [ "_LIB" ]
30 if (is_win) { 30 if (is_win) {
31 defines += [ "COMPILED_FROM_DSP" ] 31 defines += [ "COMPILED_FROM_DSP" ]
32 } else { 32 } else {
33 defines += [ "HAVE_EXPAT_CONFIG_H" ] 33 defines += [ "HAVE_EXPAT_CONFIG_H" ]
34 } 34 }
35 } 35 }
36 } 36 }
OLDNEW
« no previous file with comments | « third_party/dom_distiller_js/BUILD.gn ('k') | third_party/fontconfig/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698