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

Unified Diff: build/common.gypi

Issue 185233012: Build src/crypto for PNaCl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: \ Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DEPS ('k') | crypto/crypto.gyp » ('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 28e3389b76fe724be78b51b54f52bc61a5c1b274..7de47c430300f96ffe6a5279015a0f54fe283faf 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -2211,9 +2211,6 @@
['use_libjpeg_turbo==1', {
'defines': ['USE_LIBJPEG_TURBO=1'],
}],
- ['use_nss==1', {
- 'defines': ['USE_NSS=1'],
- }],
['use_x11==1', {
'defines': ['USE_X11=1'],
}],
@@ -2367,11 +2364,6 @@
}],
],
}],
- ['use_openssl==1', {
- 'defines': [
- 'USE_OPENSSL=1',
- ],
- }],
['enable_eglimage==1', {
'defines': [
'ENABLE_EGLIMAGE=1',
@@ -2523,6 +2515,12 @@
}],
], # conditions for 'target_defaults'
'target_conditions': [
+ ['<(use_openssl)==1 or >(nacl_untrusted_build)==1', {
+ 'defines': ['USE_OPENSSL=1'],
+ }],
+ ['<(use_nss)==1 and >(nacl_untrusted_build)==0', {
+ 'defines': ['USE_NSS=1'],
+ }],
['enable_wexit_time_destructors==1', {
'conditions': [
[ 'clang==1', {
« no previous file with comments | « DEPS ('k') | crypto/crypto.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698