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

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

Issue 960413003: Apply gn format with 'sources' sorting to src/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-format-sort-2
Patch Set: . Created 5 years, 9 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
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 # Define an "os_include" variable that points at the OS-specific generated 5 # Define an "os_include" variable that points at the OS-specific generated
6 # headers. These were generated by running the configure script offline. 6 # headers. These were generated by running the configure script offline.
7 if (is_linux || is_android || is_nacl) { 7 if (is_linux || is_android || is_nacl) {
8 os_include = "linux" 8 os_include = "linux"
9 } else if (is_mac || is_ios) { 9 } else if (is_mac || is_ios) {
10 os_include = "mac" 10 os_include = "mac"
11 } else if (is_win) { 11 } else if (is_win) {
12 os_include = "win32" 12 os_include = "win32"
13 } 13 }
14 14
15 config("libxml_config") { 15 config("libxml_config") {
16 # Define LIBXML_STATIC as nothing to match how libxml.h (an internal header) 16 # Define LIBXML_STATIC as nothing to match how libxml.h (an internal header)
17 # defines LIBXML_STATIC, otherwise we get the macro redefined warning from 17 # defines LIBXML_STATIC, otherwise we get the macro redefined warning from
18 # GCC. ("defines" does "-DFOO" which defines the macro FOO as 1.) 18 # GCC. ("defines" does "-DFOO" which defines the macro FOO as 1.)
19 cflags = [ "-DLIBXML_STATIC=" ] 19 cflags = [ "-DLIBXML_STATIC=" ]
20 20
21 include_dirs = [ 21 include_dirs = [
22 "src/include", 22 "src/include",
23 "$os_include/include", 23 "$os_include/include",
24 ] 24 ]
25 } 25 }
26 26
27 static_library("libxml") { 27 static_library("libxml") {
28 output_name = "libxml2" 28 output_name = "libxml2"
29 sources = [ 29 sources = [
30 "chromium/libxml_utils.cc",
30 "chromium/libxml_utils.h", 31 "chromium/libxml_utils.h",
31 "chromium/libxml_utils.cc",
32 "linux/config.h", 32 "linux/config.h",
33 "linux/include/libxml/xmlversion.h", 33 "linux/include/libxml/xmlversion.h",
34 "mac/config.h", 34 "mac/config.h",
35 "mac/include/libxml/xmlversion.h", 35 "mac/include/libxml/xmlversion.h",
36 "src/DOCBparser.c",
37 "src/HTMLparser.c",
38 "src/HTMLtree.c",
39 "src/SAX.c",
40 "src/SAX2.c",
41 "src/acconfig.h",
42 "src/c14n.c",
43 "src/catalog.c",
44 "src/chvalid.c",
45 "src/debugXML.c",
46 "src/dict.c",
47 "src/elfgcchack.h",
48 "src/encoding.c",
49 "src/entities.c",
50 "src/error.c",
51 "src/globals.c",
52 "src/hash.c",
53 "src/include/libxml/DOCBparser.h",
54 "src/include/libxml/HTMLparser.h",
55 "src/include/libxml/HTMLtree.h",
56 "src/include/libxml/SAX.h",
57 "src/include/libxml/SAX2.h",
36 "src/include/libxml/c14n.h", 58 "src/include/libxml/c14n.h",
37 "src/include/libxml/catalog.h", 59 "src/include/libxml/catalog.h",
38 "src/include/libxml/chvalid.h", 60 "src/include/libxml/chvalid.h",
39 "src/include/libxml/debugXML.h", 61 "src/include/libxml/debugXML.h",
40 "src/include/libxml/dict.h", 62 "src/include/libxml/dict.h",
41 "src/include/libxml/DOCBparser.h",
42 "src/include/libxml/encoding.h", 63 "src/include/libxml/encoding.h",
43 "src/include/libxml/entities.h", 64 "src/include/libxml/entities.h",
44 "src/include/libxml/globals.h", 65 "src/include/libxml/globals.h",
45 "src/include/libxml/hash.h", 66 "src/include/libxml/hash.h",
46 "src/include/libxml/HTMLparser.h",
47 "src/include/libxml/HTMLtree.h",
48 "src/include/libxml/list.h", 67 "src/include/libxml/list.h",
49 "src/include/libxml/nanoftp.h", 68 "src/include/libxml/nanoftp.h",
50 "src/include/libxml/nanohttp.h", 69 "src/include/libxml/nanohttp.h",
51 "src/include/libxml/parser.h", 70 "src/include/libxml/parser.h",
52 "src/include/libxml/parserInternals.h", 71 "src/include/libxml/parserInternals.h",
53 "src/include/libxml/pattern.h", 72 "src/include/libxml/pattern.h",
54 "src/include/libxml/relaxng.h", 73 "src/include/libxml/relaxng.h",
55 "src/include/libxml/SAX.h",
56 "src/include/libxml/SAX2.h",
57 "src/include/libxml/schemasInternals.h", 74 "src/include/libxml/schemasInternals.h",
58 "src/include/libxml/schematron.h", 75 "src/include/libxml/schematron.h",
59 "src/include/libxml/threads.h", 76 "src/include/libxml/threads.h",
60 "src/include/libxml/tree.h", 77 "src/include/libxml/tree.h",
61 "src/include/libxml/uri.h", 78 "src/include/libxml/uri.h",
62 "src/include/libxml/valid.h", 79 "src/include/libxml/valid.h",
63 "src/include/libxml/xinclude.h", 80 "src/include/libxml/xinclude.h",
64 "src/include/libxml/xlink.h", 81 "src/include/libxml/xlink.h",
82 "src/include/libxml/xmlIO.h",
65 "src/include/libxml/xmlautomata.h", 83 "src/include/libxml/xmlautomata.h",
66 "src/include/libxml/xmlerror.h", 84 "src/include/libxml/xmlerror.h",
67 "src/include/libxml/xmlexports.h", 85 "src/include/libxml/xmlexports.h",
68 "src/include/libxml/xmlIO.h",
69 "src/include/libxml/xmlmemory.h", 86 "src/include/libxml/xmlmemory.h",
70 "src/include/libxml/xmlmodule.h", 87 "src/include/libxml/xmlmodule.h",
71 "src/include/libxml/xmlreader.h", 88 "src/include/libxml/xmlreader.h",
72 "src/include/libxml/xmlregexp.h", 89 "src/include/libxml/xmlregexp.h",
73 "src/include/libxml/xmlsave.h", 90 "src/include/libxml/xmlsave.h",
74 "src/include/libxml/xmlschemas.h", 91 "src/include/libxml/xmlschemas.h",
75 "src/include/libxml/xmlschemastypes.h", 92 "src/include/libxml/xmlschemastypes.h",
76 "src/include/libxml/xmlstring.h", 93 "src/include/libxml/xmlstring.h",
77 "src/include/libxml/xmlunicode.h", 94 "src/include/libxml/xmlunicode.h",
78 "src/include/libxml/xmlwriter.h", 95 "src/include/libxml/xmlwriter.h",
79 "src/include/libxml/xpath.h", 96 "src/include/libxml/xpath.h",
80 "src/include/libxml/xpathInternals.h", 97 "src/include/libxml/xpathInternals.h",
81 "src/include/libxml/xpointer.h", 98 "src/include/libxml/xpointer.h",
82 "src/include/win32config.h", 99 "src/include/win32config.h",
83 "src/include/wsockcompat.h", 100 "src/include/wsockcompat.h",
84 "src/acconfig.h",
85 "src/c14n.c",
86 "src/catalog.c",
87 "src/chvalid.c",
88 "src/debugXML.c",
89 "src/dict.c",
90 "src/DOCBparser.c",
91 "src/elfgcchack.h",
92 "src/encoding.c",
93 "src/entities.c",
94 "src/error.c",
95 "src/globals.c",
96 "src/hash.c",
97 "src/HTMLparser.c",
98 "src/HTMLtree.c",
99 "src/legacy.c", 101 "src/legacy.c",
100 "src/libxml.h", 102 "src/libxml.h",
101 "src/list.c", 103 "src/list.c",
102 "src/nanoftp.c", 104 "src/nanoftp.c",
103 "src/nanohttp.c", 105 "src/nanohttp.c",
104 "src/parser.c", 106 "src/parser.c",
105 "src/parserInternals.c", 107 "src/parserInternals.c",
106 "src/pattern.c", 108 "src/pattern.c",
107 "src/relaxng.c", 109 "src/relaxng.c",
108 "src/SAX.c",
109 "src/SAX2.c",
110 "src/schematron.c", 110 "src/schematron.c",
111 "src/threads.c", 111 "src/threads.c",
112 "src/tree.c", 112 "src/tree.c",
113 113
114 #"src/trio.c", 114 #"src/trio.c",
115 #"src/trio.h", 115 #"src/trio.h",
116 #"src/triodef.h", 116 #"src/triodef.h",
117 #"src/trionan.c", 117 #"src/trionan.c",
118 #"src/trionan.h", 118 #"src/trionan.h",
119 #"src/triop.h", 119 #"src/triop.h",
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 "-Wno-tautological-pointer-compare", 175 "-Wno-tautological-pointer-compare",
176 176
177 # threads.c attempts to forward declare a pthread_equal which doesn't 177 # threads.c attempts to forward declare a pthread_equal which doesn't
178 # match the prototype in pthreads.h 178 # match the prototype in pthreads.h
179 "-Wno-ignored-attributes", 179 "-Wno-ignored-attributes",
180 ] 180 ]
181 } 181 }
182 182
183 include_dirs = [ "$os_include" ] 183 include_dirs = [ "$os_include" ]
184 } 184 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698