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

Unified Diff: chrome/chrome_browser.gypi

Issue 8135024: Make use_nss a gyp var so that aura can build w/ nss. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review corrections Created 9 years, 2 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 | « build/common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_browser.gypi
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi
index 636171ae6e537143384f20c18301960f13f4c6c4..fb5031411797390820a22a163252060a3c17c8cf 100644
--- a/chrome/chrome_browser.gypi
+++ b/chrome/chrome_browser.gypi
@@ -4166,6 +4166,24 @@
['exclude', '^browser/ui/webui/certificate_viewer_ui.h'],
],
}],
+ ['use_nss==1', {
+ 'sources': [
+ 'third_party/mozilla_security_manager/nsNSSCertHelper.cpp',
+ 'third_party/mozilla_security_manager/nsNSSCertHelper.h',
+ 'third_party/mozilla_security_manager/nsNSSCertificate.cpp',
+ 'third_party/mozilla_security_manager/nsNSSCertificate.h',
+ 'third_party/mozilla_security_manager/nsUsageArrayHelper.cpp',
+ 'third_party/mozilla_security_manager/nsUsageArrayHelper.h',
+ ],
+ }],
+ ['use_nss==0 and use_openssl==0', {
+ 'sources!': [
+ 'browser/certificate_manager_model.cc',
+ 'browser/certificate_manager_model.h',
+ 'browser/ui/webui/options/certificate_manager_handler.cc',
+ 'browser/ui/webui/options/certificate_manager_handler.h',
+ ],
+ }],
['toolkit_uses_gtk == 1', {
'dependencies': [
'../build/linux/system.gyp:dbus',
@@ -4219,24 +4237,6 @@
'browser/crash_handler_host_linux_stub.cc',
],
}],
- ['use_openssl==0', {
- 'sources': [
- 'third_party/mozilla_security_manager/nsNSSCertHelper.cpp',
- 'third_party/mozilla_security_manager/nsNSSCertHelper.h',
- 'third_party/mozilla_security_manager/nsNSSCertificate.cpp',
- 'third_party/mozilla_security_manager/nsNSSCertificate.h',
- 'third_party/mozilla_security_manager/nsUsageArrayHelper.cpp',
- 'third_party/mozilla_security_manager/nsUsageArrayHelper.h',
- ],
- }],
- ],
- }, { # toolkit_uses_gtk != 1
- 'sources!': [
- # TODO(mattm): Cert manager stuff is really !USE_NSS.
- 'browser/certificate_manager_model.cc',
- 'browser/certificate_manager_model.h',
- 'browser/ui/webui/options/certificate_manager_handler.cc',
- 'browser/ui/webui/options/certificate_manager_handler.h',
],
}],
['OS=="mac"', {
@@ -4996,7 +4996,6 @@
['include', '^browser/ui/views/importer/import_lock_dialog_view.cc'],
['include', '^browser/ui/views/select_file_dialog.cc'],
['include', '^browser/ui/views/stubs_aura.cc'],
- ['include', '^browser/ui/webui/options/certificate_manager_handler.cc'],
],
}],
[ 'use_openssl==1', {
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698