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

Unified Diff: build/common.gypi

Issue 4799003: Simplify gyp files by adding a global glob for openssl/nss (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/base.gypi ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index c9f219ec5a79fca42b64fc13d2dbb9ddac9c4fe3..bd51828e5e63cef40b2fba94c4226cb3fd6085e6 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -653,6 +653,18 @@
['toolkit_views==0', {
'sources/': [ ['exclude', '_views\\.cc$'] ]
}],
+ ['use_openssl==1', {
+ 'sources/': [
+ ['exclude', '_nss\\.(cc|c)$'],
wtc 2010/11/12 14:47:50 These patterns, except '/nss/', don't match the .h
joth 2010/11/12 14:56:38 I agree -- reason I didn't is none of the ones abo
wtc 2010/11/12 15:06:40 I see. We should request the help of a GYP expert
+ ['exclude', '/nss/'],
+ ['exclude', '(/|_|^)nss_[^/]*\\.(cc|c)$'],
wtc 2010/11/12 14:47:50 What's the [^/] part for? To disallow '/'? (I am
joth 2010/11/12 14:56:38 exactly. So this matches nss_util.cc and foo_nss_u
+ ],
+ }, {
+ 'sources/': [
+ ['exclude', '_openssl\\.cc$'],
+ ['exclude', '(/|_|^)openssl_[^/]*\\.cc$'],
+ ],
+ }],
],
}],
], # target_conditions for 'target_defaults'
« no previous file with comments | « base/base.gypi ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698