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

Side by Side 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: include cert manager if either nss or openssl 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 unified diff | Download patch | Annotate | Revision Log
« build/common.gypi ('K') | « build/common.gypi ('k') | no next file » | 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'browser', 8 'target_name': 'browser',
9 'type': 'static_library', 9 'type': 'static_library',
10 'dependencies': [ 10 'dependencies': [
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 'browser/browsing_data_quota_helper.cc', 312 'browser/browsing_data_quota_helper.cc',
313 'browser/browsing_data_quota_helper.h', 313 'browser/browsing_data_quota_helper.h',
314 'browser/browsing_data_quota_helper_impl.cc', 314 'browser/browsing_data_quota_helper_impl.cc',
315 'browser/browsing_data_quota_helper_impl.h', 315 'browser/browsing_data_quota_helper_impl.h',
316 'browser/browsing_data_remover.cc', 316 'browser/browsing_data_remover.cc',
317 'browser/browsing_data_remover.h', 317 'browser/browsing_data_remover.h',
318 'browser/bug_report_data.cc', 318 'browser/bug_report_data.cc',
319 'browser/bug_report_data.h', 319 'browser/bug_report_data.h',
320 'browser/bug_report_util.cc', 320 'browser/bug_report_util.cc',
321 'browser/bug_report_util.h', 321 'browser/bug_report_util.h',
322 'browser/certificate_manager_model.cc',
323 'browser/certificate_manager_model.h',
mattm 2011/10/05 03:44:47 These should stay here and be excluded when we don
DaveMoore 2011/10/05 04:02:57 Done.
324 'browser/certificate_viewer.cc', 322 'browser/certificate_viewer.cc',
325 'browser/certificate_viewer.h', 323 'browser/certificate_viewer.h',
326 'browser/character_encoding.cc', 324 'browser/character_encoding.cc',
327 'browser/character_encoding.h', 325 'browser/character_encoding.h',
328 'browser/chrome_benchmarking_message_filter.cc', 326 'browser/chrome_benchmarking_message_filter.cc',
329 'browser/chrome_benchmarking_message_filter.h', 327 'browser/chrome_benchmarking_message_filter.h',
330 'browser/chrome_browser_application_mac.h', 328 'browser/chrome_browser_application_mac.h',
331 'browser/chrome_browser_application_mac.mm', 329 'browser/chrome_browser_application_mac.mm',
332 'browser/chrome_browser_main.cc', 330 'browser/chrome_browser_main.cc',
333 'browser/chrome_browser_main.h', 331 'browser/chrome_browser_main.h',
(...skipping 3825 matching lines...) Expand 10 before | Expand all | Expand 10 after
4159 # Exclude WebUI certificate viewer if not POSIX or mac (these OS's have 4157 # Exclude WebUI certificate viewer if not POSIX or mac (these OS's have
4160 # native certificate viewers). 4158 # native certificate viewers).
4161 ['os_posix == 0 or OS == "mac"', { 4159 ['os_posix == 0 or OS == "mac"', {
4162 'sources/': [ 4160 'sources/': [
4163 ['exclude', '^browser/ui/webui/certificate_viewer.cc'], 4161 ['exclude', '^browser/ui/webui/certificate_viewer.cc'],
4164 ['exclude', '^browser/ui/webui/certificate_viewer.h'], 4162 ['exclude', '^browser/ui/webui/certificate_viewer.h'],
4165 ['exclude', '^browser/ui/webui/certificate_viewer_ui.cc'], 4163 ['exclude', '^browser/ui/webui/certificate_viewer_ui.cc'],
4166 ['exclude', '^browser/ui/webui/certificate_viewer_ui.h'], 4164 ['exclude', '^browser/ui/webui/certificate_viewer_ui.h'],
4167 ], 4165 ],
4168 }], 4166 }],
4167 ['use_nss==1', {
4168 'sources': [
4169 'third_party/mozilla_security_manager/nsNSSCertHelper.cpp',
4170 'third_party/mozilla_security_manager/nsNSSCertHelper.h',
4171 'third_party/mozilla_security_manager/nsNSSCertificate.cpp',
4172 'third_party/mozilla_security_manager/nsNSSCertificate.h',
4173 'third_party/mozilla_security_manager/nsUsageArrayHelper.cpp',
4174 'third_party/mozilla_security_manager/nsUsageArrayHelper.h',
4175 ],
4176 }],
4177 ['use_nss==1 or use_openssl==1', {
4178 'sources': [
mattm 2011/10/05 03:44:47 Should keep it the excluding way
DaveMoore 2011/10/05 04:02:57 Done.
4179 'browser/certificate_manager_model.cc',
4180 'browser/certificate_manager_model.h',
4181 'browser/ui/webui/options/certificate_manager_handler.cc',
4182 'browser/ui/webui/options/certificate_manager_handler.h',
4183 ],
4184 }],
4169 ['toolkit_uses_gtk == 1', { 4185 ['toolkit_uses_gtk == 1', {
4170 'dependencies': [ 4186 'dependencies': [
4171 '../build/linux/system.gyp:dbus', 4187 '../build/linux/system.gyp:dbus',
4172 '../build/linux/system.gyp:gconf', 4188 '../build/linux/system.gyp:gconf',
4173 '../build/linux/system.gyp:gtk', 4189 '../build/linux/system.gyp:gtk',
4174 '../build/linux/system.gyp:gtkprint', 4190 '../build/linux/system.gyp:gtkprint',
4175 '../build/linux/system.gyp:ssl', 4191 '../build/linux/system.gyp:ssl',
4176 '../build/linux/system.gyp:x11', 4192 '../build/linux/system.gyp:x11',
4177 '../dbus/dbus.gyp:dbus', 4193 '../dbus/dbus.gyp:dbus',
4178 '../third_party/undoview/undoview.gyp:undoview', 4194 '../third_party/undoview/undoview.gyp:undoview',
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
4212 'include_dirs': [ 4228 'include_dirs': [
4213 # breakpad_linux.cc uses generated file_version_info_linux.h. 4229 # breakpad_linux.cc uses generated file_version_info_linux.h.
4214 '<(SHARED_INTERMEDIATE_DIR)', 4230 '<(SHARED_INTERMEDIATE_DIR)',
4215 '../breakpad/src', 4231 '../breakpad/src',
4216 ], 4232 ],
4217 }, { # linux_breakpad==0 4233 }, { # linux_breakpad==0
4218 'sources': [ 4234 'sources': [
4219 'browser/crash_handler_host_linux_stub.cc', 4235 'browser/crash_handler_host_linux_stub.cc',
4220 ], 4236 ],
4221 }], 4237 }],
4222 ['use_openssl==0', {
4223 'sources': [
4224 'third_party/mozilla_security_manager/nsNSSCertHelper.cpp',
4225 'third_party/mozilla_security_manager/nsNSSCertHelper.h',
4226 'third_party/mozilla_security_manager/nsNSSCertificate.cpp',
4227 'third_party/mozilla_security_manager/nsNSSCertificate.h',
4228 'third_party/mozilla_security_manager/nsUsageArrayHelper.cpp',
4229 'third_party/mozilla_security_manager/nsUsageArrayHelper.h',
4230 ],
4231 }],
4232 ],
4233 }, { # toolkit_uses_gtk != 1
4234 'sources!': [
4235 # TODO(mattm): Cert manager stuff is really !USE_NSS.
4236 'browser/certificate_manager_model.cc',
4237 'browser/certificate_manager_model.h',
4238 'browser/ui/webui/options/certificate_manager_handler.cc',
4239 'browser/ui/webui/options/certificate_manager_handler.h',
4240 ], 4238 ],
4241 }], 4239 }],
4242 ['OS=="mac"', { 4240 ['OS=="mac"', {
4243 'sources!': [ 4241 'sources!': [
4244 'browser/automation/automation_provider_list_generic.cc', 4242 'browser/automation/automation_provider_list_generic.cc',
4245 'browser/bookmarks/bookmark_context_menu.cc', 4243 'browser/bookmarks/bookmark_context_menu.cc',
4246 'browser/bookmarks/bookmark_drop_info.cc', 4244 'browser/bookmarks/bookmark_drop_info.cc',
4247 'browser/first_run/upgrade_util.cc', 4245 'browser/first_run/upgrade_util.cc',
4248 'browser/importer/nss_decryptor_system_nss.cc', 4246 'browser/importer/nss_decryptor_system_nss.cc',
4249 'browser/importer/nss_decryptor_system_nss.h', 4247 'browser/importer/nss_decryptor_system_nss.h',
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
4989 ['include', '^browser/crash_handler_host_linux_stub.cc'], 4987 ['include', '^browser/crash_handler_host_linux_stub.cc'],
4990 ['include', '^browser/ui/login/login_prompt_ui.cc'], 4988 ['include', '^browser/ui/login/login_prompt_ui.cc'],
4991 ['include', '^browser/ui/views/aura/aura_init.cc'], 4989 ['include', '^browser/ui/views/aura/aura_init.cc'],
4992 ['include', '^browser/ui/views/browser_bubble_aura.cc'], 4990 ['include', '^browser/ui/views/browser_bubble_aura.cc'],
4993 ['include', '^browser/ui/views/constrained_html_delegate_views.cc'], 4991 ['include', '^browser/ui/views/constrained_html_delegate_views.cc'],
4994 ['include', '^browser/ui/views/dropdown_bar_host_aura.cc'], 4992 ['include', '^browser/ui/views/dropdown_bar_host_aura.cc'],
4995 ['include', '^browser/ui/views/frame/browser_frame_aura.cc'], 4993 ['include', '^browser/ui/views/frame/browser_frame_aura.cc'],
4996 ['include', '^browser/ui/views/importer/import_lock_dialog_view.cc'] , 4994 ['include', '^browser/ui/views/importer/import_lock_dialog_view.cc'] ,
4997 ['include', '^browser/ui/views/select_file_dialog.cc'], 4995 ['include', '^browser/ui/views/select_file_dialog.cc'],
4998 ['include', '^browser/ui/views/stubs_aura.cc'], 4996 ['include', '^browser/ui/views/stubs_aura.cc'],
4999 ['include', '^browser/ui/webui/options/certificate_manager_handler.c c'],
5000 ], 4997 ],
5001 }], 4998 }],
5002 [ 'use_openssl==1', { 4999 [ 'use_openssl==1', {
5003 'sources!': [ 5000 'sources!': [
5004 'browser/importer/nss_decryptor.cc', 5001 'browser/importer/nss_decryptor.cc',
5005 'browser/importer/nss_decryptor_system_nss.cc', 5002 'browser/importer/nss_decryptor_system_nss.cc',
5006 'browser/importer/nss_decryptor_system_nss.h', 5003 'browser/importer/nss_decryptor_system_nss.h',
5007 'browser/ui/crypto_module_password_dialog_nss.cc', 5004 'browser/ui/crypto_module_password_dialog_nss.cc',
5008 ]}, { 5005 ]}, {
5009 'sources!': [ 5006 'sources!': [
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
5071 'type': 'static_library', 5068 'type': 'static_library',
5072 'sources': [ 'browser/history/in_memory_url_index_cache.proto' ], 5069 'sources': [ 'browser/history/in_memory_url_index_cache.proto' ],
5073 'variables': { 5070 'variables': {
5074 'proto_in_dir': 'browser/history', 5071 'proto_in_dir': 'browser/history',
5075 'proto_out_dir': 'chrome/browser/history', 5072 'proto_out_dir': 'chrome/browser/history',
5076 }, 5073 },
5077 'includes': [ '../build/protoc.gypi' ] 5074 'includes': [ '../build/protoc.gypi' ]
5078 }, 5075 },
5079 ], 5076 ],
5080 } 5077 }
OLDNEW
« build/common.gypi ('K') | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698