summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi12
1 files changed, 12 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 02b99c7..f9e774a 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)$'],
+ ['exclude', '/nss/'],
+ ['exclude', '(/|_|^)nss_[^/]*\\.(cc|c)$'],
+ ],
+ }, {
+ 'sources/': [
+ ['exclude', '_openssl\\.cc$'],
+ ['exclude', '(/|_|^)openssl_[^/]*\\.cc$'],
+ ],
+ }],
],
}],
], # target_conditions for 'target_defaults'