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

Side by Side Diff: third_party/libxslt/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 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("libxslt_config") { 5 config("libxslt_config") {
6 defines = [ "LIBXSLT_STATIC" ] 6 defines = [ "LIBXSLT_STATIC" ]
7 include_dirs = [ "." ] 7 include_dirs = [ "." ]
8 } 8 }
9 9
10 static_library("libxslt") { 10 static_library("libxslt") {
(...skipping 28 matching lines...) Expand all
39 "libxslt/templates.h", 39 "libxslt/templates.h",
40 "libxslt/transform.c", 40 "libxslt/transform.c",
41 "libxslt/transform.h", 41 "libxslt/transform.h",
42 "libxslt/trio.h", 42 "libxslt/trio.h",
43 "libxslt/triodef.h", 43 "libxslt/triodef.h",
44 "libxslt/variables.c", 44 "libxslt/variables.c",
45 "libxslt/variables.h", 45 "libxslt/variables.h",
46 "libxslt/win32config.h", 46 "libxslt/win32config.h",
47 "libxslt/xslt.c", 47 "libxslt/xslt.c",
48 "libxslt/xslt.h", 48 "libxslt/xslt.h",
49 "libxslt/xsltInternals.h",
49 "libxslt/xsltconfig.h", 50 "libxslt/xsltconfig.h",
50 "libxslt/xsltexports.h", 51 "libxslt/xsltexports.h",
51 "libxslt/xsltInternals.h",
52 "libxslt/xsltlocale.c", 52 "libxslt/xsltlocale.c",
53 "libxslt/xsltlocale.h", 53 "libxslt/xsltlocale.h",
54 "libxslt/xsltutils.c", 54 "libxslt/xsltutils.c",
55 "libxslt/xsltutils.h", 55 "libxslt/xsltutils.h",
56 "libxslt/xsltwin32config.h", 56 "libxslt/xsltwin32config.h",
57 "linux/config.h", 57 "linux/config.h",
58 "mac/config.h", 58 "mac/config.h",
59 ] 59 ]
60 60
61 configs -= [ "//build/config/compiler:chromium_code" ] 61 configs -= [ "//build/config/compiler:chromium_code" ]
62 configs += [ "//build/config/compiler:no_chromium_code" ] 62 configs += [ "//build/config/compiler:no_chromium_code" ]
63 public_configs = [ ":libxslt_config" ] 63 public_configs = [ ":libxslt_config" ]
64 64
65 if (is_linux || is_android) { 65 if (is_linux || is_android) {
66 include_dirs = [ "linux" ] 66 include_dirs = [ "linux" ]
67 } else if (is_win) { 67 } else if (is_win) {
68 include_dirs = [ "win32" ] 68 include_dirs = [ "win32" ]
69 } else if (is_mac) { 69 } else if (is_mac) {
70 include_dirs = [ "mac" ] 70 include_dirs = [ "mac" ]
71 } 71 }
72 72
73 if (is_clang) { 73 if (is_clang) {
74 cflags = [ "-Wno-pointer-sign" ] 74 cflags = [ "-Wno-pointer-sign" ]
75 } 75 }
76 76
77 deps = [ 77 deps = [
78 "//third_party/libxml", 78 "//third_party/libxml",
79 ] 79 ]
80 } 80 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698