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

Side by Side Diff: build/linux/system.gyp

Issue 7054041: Revert 87309 - Second attempt to fix linux redux builder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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 | « base/base.gyp ('k') | chrome/chrome_browser.gypi » ('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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'conditions': [ 6 'conditions': [
7 ['sysroot!=""', { 7 ['sysroot!=""', {
8 'variables': { 8 'variables': {
9 'pkg-config': './pkg-config-wrapper "<(sysroot)"', 9 'pkg-config': './pkg-config-wrapper "<(sysroot)"',
10 }, 10 },
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 'ldflags': [ 67 'ldflags': [
68 '<!@(<(pkg-config) --libs-only-L --libs-only-other gtk+-unix-print -2.0)', 68 '<!@(<(pkg-config) --libs-only-L --libs-only-other gtk+-unix-print -2.0)',
69 ], 69 ],
70 'libraries': [ 70 'libraries': [
71 '<!@(<(pkg-config) --libs-only-l gtk+-unix-print-2.0)', 71 '<!@(<(pkg-config) --libs-only-l gtk+-unix-print-2.0)',
72 ], 72 ],
73 }, 73 },
74 }]] 74 }]]
75 }, 75 },
76 { 76 {
77 'target_name': 'ssl', 77 'target_name': 'nss',
78 'type': 'settings', 78 'type': 'settings',
79 'conditions': [ 79 'conditions': [
80 ['_toolset=="target"', { 80 ['_toolset=="target"', {
81 'conditions': [ 81 'conditions': [
82 ['use_openssl==1', { 82 ['use_system_ssl==0', {
83 'dependencies': [
84 '../../third_party/openssl/openssl.gyp:openssl',
85 ],
86 }],
87 ['use_openssl==0 and use_system_ssl==0', {
88 'dependencies': [ 83 'dependencies': [
89 '../../net/third_party/nss/ssl.gyp:ssl', 84 '../../net/third_party/nss/ssl.gyp:ssl',
90 '../../third_party/zlib/zlib.gyp:zlib', 85 '../../third_party/zlib/zlib.gyp:zlib',
91 ], 86 ],
92 'direct_dependent_settings': { 87 'direct_dependent_settings': {
93 'cflags': [ 88 'cflags': [
94 # We need for our local copies of the libssl3 headers to come 89 # We need for our local copies of the libssl3 headers to come
95 # first, otherwise the code will build, but will fallback to 90 # first, otherwise the code will build, but will fallback to
96 # the set of features advertised in the system headers. 91 # the set of features advertised in the system headers.
97 # Unfortunately, there's no include path that we can filter 92 # Unfortunately, there's no include path that we can filter
98 # out of $(pkg-config --cflags nss) and GYP include paths 93 # out of $(pkg-config --cflags nss) and GYP include paths
99 # come after cflags on the command line. So we have these 94 # come after cflags on the command line. So we have these
100 # bodges: 95 # bodges:
101 '-Inet/third_party/nss/ssl', # for mak e 96 '-Inet/third_party/nss/ssl', # for mak e
102 '-ISource/WebKit/chromium/net/third_party/nss/ssl', # for mak e in webkit 97 '-ISource/WebKit/chromium/net/third_party/nss/ssl', # for mak e in webkit
103 '<!@(<(pkg-config) --cflags nss)', 98 '<!@(<(pkg-config) --cflags nss)',
104 ], 99 ],
105 }, 100 },
106 'link_settings': { 101 'link_settings': {
107 'ldflags': [ 102 'ldflags': [
108 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)', 103 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)',
109 ], 104 ],
110 'libraries': [ 105 'libraries': [
111 '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")', 106 '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")',
112 ], 107 ],
113 }, 108 },
114 }], 109 }, {
115 ['use_openssl==0 and use_system_ssl==1', {
116 'direct_dependent_settings': { 110 'direct_dependent_settings': {
117 'cflags': [ 111 'cflags': [
118 '<!@(<(pkg-config) --cflags nss)', 112 '<!@(<(pkg-config) --cflags nss)',
119 ], 113 ],
120 'defines': [ 114 'defines': [
121 'USE_SYSTEM_SSL', 115 'USE_SYSTEM_SSL',
122 ], 116 ],
123 }, 117 },
124 'link_settings': { 118 'link_settings': {
125 'ldflags': [ 119 'ldflags': [
126 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)', 120 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)',
127 ], 121 ],
128 'libraries': [ 122 'libraries': [
129 '<!@(<(pkg-config) --libs-only-l nss)', 123 '<!@(<(pkg-config) --libs-only-l nss)',
130 ], 124 ],
131 }, 125 },
132 }], 126 }
133 ] 127 ]]
134 }], 128 }],
135 ], 129 ],
136 }, 130 },
137 { 131 {
138 'target_name': 'freetype2', 132 'target_name': 'freetype2',
139 'type': 'settings', 133 'type': 'settings',
140 'conditions': [ 134 'conditions': [
141 ['_toolset=="target"', { 135 ['_toolset=="target"', {
142 'direct_dependent_settings': { 136 'direct_dependent_settings': {
143 'cflags': [ 137 'cflags': [
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 ], 424 ],
431 }, 425 },
432 ], 426 ],
433 } 427 }
434 428
435 # Local Variables: 429 # Local Variables:
436 # tab-width:2 430 # tab-width:2
437 # indent-tabs-mode:nil 431 # indent-tabs-mode:nil
438 # End: 432 # End:
439 # vim: set expandtab tabstop=2 shiftwidth=2: 433 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « base/base.gyp ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698