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

Side by Side Diff: third_party/expat/expat.gyp

Issue 7051014: Globally replace <(library) with static_library (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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
« no previous file with comments | « third_party/cld/cld.gyp ('k') | third_party/harfbuzz-ng/harfbuzz.gyp » ('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) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 { 5 {
6 'target_defaults': { 6 'target_defaults': {
7 'defines': [ 7 'defines': [
8 '_LIB', 8 '_LIB',
9 'XML_STATIC', # Compile for static linkage. 9 'XML_STATIC', # Compile for static linkage.
10 ], 10 ],
(...skipping 15 matching lines...) Expand all
26 'libraries': [ 26 'libraries': [
27 '-lexpat', 27 '-lexpat',
28 ], 28 ],
29 }, 29 },
30 }, 30 },
31 ], 31 ],
32 }, { # OS != linux 32 }, { # OS != linux
33 'targets': [ 33 'targets': [
34 { 34 {
35 'target_name': 'expat', 35 'target_name': 'expat',
36 'type': '<(library)', 36 'type': 'static_library',
37 'sources': [ 37 'sources': [
38 'files/lib/expat.h', 38 'files/lib/expat.h',
39 'files/lib/xmlparse.c', 39 'files/lib/xmlparse.c',
40 'files/lib/xmlrole.c', 40 'files/lib/xmlrole.c',
41 'files/lib/xmltok.c', 41 'files/lib/xmltok.c',
42 ], 42 ],
43 43
44 # Prefer adding a dependency to expat and relying on the following 44 # Prefer adding a dependency to expat and relying on the following
45 # direct_dependent_settings rule over manually adding the include 45 # direct_dependent_settings rule over manually adding the include
46 # path. This is because you'll want any translation units that 46 # path. This is because you'll want any translation units that
(...skipping 22 matching lines...) Expand all
69 ], 69 ],
70 }], 70 }],
71 ], 71 ],
72 } 72 }
73 73
74 # Local Variables: 74 # Local Variables:
75 # tab-width:2 75 # tab-width:2
76 # indent-tabs-mode:nil 76 # indent-tabs-mode:nil
77 # End: 77 # End:
78 # vim: set expandtab tabstop=2 shiftwidth=2: 78 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « third_party/cld/cld.gyp ('k') | third_party/harfbuzz-ng/harfbuzz.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698