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

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: Remove Accidental change 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
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 4106 matching lines...) Expand 10 before | Expand all | Expand 10 after
4117 ['exclude', '^browser/ui/views/task_manager_view.h'], 4117 ['exclude', '^browser/ui/views/task_manager_view.h'],
4118 ['exclude', '^browser/ui/views/user_data_dir_dialog.cc'], 4118 ['exclude', '^browser/ui/views/user_data_dir_dialog.cc'],
4119 ['exclude', '^browser/ui/window_snapshot/window_snapshot_win.cc'], 4119 ['exclude', '^browser/ui/window_snapshot/window_snapshot_win.cc'],
4120 ['include', '^browser/ui/views/simple_message_box_views.cc'], 4120 ['include', '^browser/ui/views/simple_message_box_views.cc'],
4121 ['include', '^browser/ui/views/simple_message_box_views.h'], 4121 ['include', '^browser/ui/views/simple_message_box_views.h'],
4122 ], 4122 ],
4123 'dependencies': [ 4123 'dependencies': [
4124 '../ui/aura/aura.gyp:aura', 4124 '../ui/aura/aura.gyp:aura',
4125 ], 4125 ],
4126 }], 4126 }],
4127 ['OS=="linux"', {
4128 'link_settings': {
4129 'libraries': [
4130 '-lXss',
4131 ],
4132 },
4133 }],
mattm 2011/10/05 02:27:51 unrelated?
4127 ['OS=="linux" and use_aura==1', { 4134 ['OS=="linux" and use_aura==1', {
4128 'dependencies': [ 4135 'dependencies': [
4129 '../build/linux/system.gyp:dbus', 4136 '../build/linux/system.gyp:dbus',
4130 '../build/linux/system.gyp:fontconfig', 4137 '../build/linux/system.gyp:fontconfig',
4131 '../build/linux/system.gyp:x11', 4138 '../build/linux/system.gyp:x11',
4132 '../dbus/dbus.gyp:dbus', 4139 '../dbus/dbus.gyp:dbus',
4133 ], 4140 ],
4134 }], 4141 }],
4135 # Exclude WebUI certificate viewer if not POSIX or mac (these OS's have 4142 # Exclude WebUI certificate viewer if not POSIX or mac (these OS's have
4136 # native certificate viewers). 4143 # native certificate viewers).
4137 ['os_posix == 0 or OS == "mac"', { 4144 ['os_posix == 0 or OS == "mac"', {
4138 'sources/': [ 4145 'sources/': [
4139 ['exclude', '^browser/ui/webui/certificate_viewer.cc'], 4146 ['exclude', '^browser/ui/webui/certificate_viewer.cc'],
4140 ['exclude', '^browser/ui/webui/certificate_viewer.h'], 4147 ['exclude', '^browser/ui/webui/certificate_viewer.h'],
4141 ['exclude', '^browser/ui/webui/certificate_viewer_ui.cc'], 4148 ['exclude', '^browser/ui/webui/certificate_viewer_ui.cc'],
4142 ['exclude', '^browser/ui/webui/certificate_viewer_ui.h'], 4149 ['exclude', '^browser/ui/webui/certificate_viewer_ui.h'],
4143 ], 4150 ],
4144 }], 4151 }],
4152 ['use_nss==1', {
4153 'sources': [
4154 'third_party/mozilla_security_manager/nsNSSCertHelper.cpp',
4155 'third_party/mozilla_security_manager/nsNSSCertHelper.h',
4156 'third_party/mozilla_security_manager/nsNSSCertificate.cpp',
4157 'third_party/mozilla_security_manager/nsNSSCertificate.h',
4158 'third_party/mozilla_security_manager/nsUsageArrayHelper.cpp',
4159 'third_party/mozilla_security_manager/nsUsageArrayHelper.h',
4160 ],
4161 }],
4162 ['use_nss==0 and use_openssl==1', {
mattm 2011/10/05 02:27:51 use_openssl==0
4163 'sources!': [
4164 'browser/certificate_manager_model.cc',
4165 'browser/certificate_manager_model.h',
4166 'browser/ui/webui/options/certificate_manager_handler.cc',
4167 'browser/ui/webui/options/certificate_manager_handler.h',
4168 ],
4169 }],
4145 ['toolkit_uses_gtk == 1', { 4170 ['toolkit_uses_gtk == 1', {
4146 'dependencies': [ 4171 'dependencies': [
4147 '../build/linux/system.gyp:dbus', 4172 '../build/linux/system.gyp:dbus',
4148 '../build/linux/system.gyp:gconf', 4173 '../build/linux/system.gyp:gconf',
4149 '../build/linux/system.gyp:gtk', 4174 '../build/linux/system.gyp:gtk',
4150 '../build/linux/system.gyp:gtkprint', 4175 '../build/linux/system.gyp:gtkprint',
4151 '../build/linux/system.gyp:ssl', 4176 '../build/linux/system.gyp:ssl',
4152 '../build/linux/system.gyp:x11', 4177 '../build/linux/system.gyp:x11',
4153 '../dbus/dbus.gyp:dbus', 4178 '../dbus/dbus.gyp:dbus',
4154 '../third_party/undoview/undoview.gyp:undoview', 4179 '../third_party/undoview/undoview.gyp:undoview',
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
4188 'include_dirs': [ 4213 'include_dirs': [
4189 # breakpad_linux.cc uses generated file_version_info_linux.h. 4214 # breakpad_linux.cc uses generated file_version_info_linux.h.
4190 '<(SHARED_INTERMEDIATE_DIR)', 4215 '<(SHARED_INTERMEDIATE_DIR)',
4191 '../breakpad/src', 4216 '../breakpad/src',
4192 ], 4217 ],
4193 }, { # linux_breakpad==0 4218 }, { # linux_breakpad==0
4194 'sources': [ 4219 'sources': [
4195 'browser/crash_handler_host_linux_stub.cc', 4220 'browser/crash_handler_host_linux_stub.cc',
4196 ], 4221 ],
4197 }], 4222 }],
4198 ['use_openssl==0', {
4199 'sources': [
4200 'third_party/mozilla_security_manager/nsNSSCertHelper.cpp',
4201 'third_party/mozilla_security_manager/nsNSSCertHelper.h',
4202 'third_party/mozilla_security_manager/nsNSSCertificate.cpp',
4203 'third_party/mozilla_security_manager/nsNSSCertificate.h',
4204 'third_party/mozilla_security_manager/nsUsageArrayHelper.cpp',
4205 'third_party/mozilla_security_manager/nsUsageArrayHelper.h',
4206 ],
4207 }],
4208 ],
4209 }, { # toolkit_uses_gtk != 1
4210 'sources!': [
4211 # TODO(mattm): Cert manager stuff is really !USE_NSS.
4212 'browser/certificate_manager_model.cc',
4213 'browser/certificate_manager_model.h',
4214 'browser/ui/webui/options/certificate_manager_handler.cc',
4215 'browser/ui/webui/options/certificate_manager_handler.h',
4216 ], 4223 ],
4217 }], 4224 }],
4218 ['OS=="mac"', { 4225 ['OS=="mac"', {
4219 'sources!': [ 4226 'sources!': [
4220 'browser/automation/automation_provider_list_generic.cc', 4227 'browser/automation/automation_provider_list_generic.cc',
4221 'browser/bookmarks/bookmark_context_menu.cc', 4228 'browser/bookmarks/bookmark_context_menu.cc',
4222 'browser/bookmarks/bookmark_drop_info.cc', 4229 'browser/bookmarks/bookmark_drop_info.cc',
4223 'browser/first_run/upgrade_util.cc', 4230 'browser/first_run/upgrade_util.cc',
4224 'browser/importer/nss_decryptor_system_nss.cc', 4231 'browser/importer/nss_decryptor_system_nss.cc',
4225 'browser/importer/nss_decryptor_system_nss.h', 4232 'browser/importer/nss_decryptor_system_nss.h',
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after
5047 'type': 'static_library', 5054 'type': 'static_library',
5048 'sources': [ 'browser/history/in_memory_url_index_cache.proto' ], 5055 'sources': [ 'browser/history/in_memory_url_index_cache.proto' ],
5049 'variables': { 5056 'variables': {
5050 'proto_in_dir': 'browser/history', 5057 'proto_in_dir': 'browser/history',
5051 'proto_out_dir': 'chrome/browser/history', 5058 'proto_out_dir': 'chrome/browser/history',
5052 }, 5059 },
5053 'includes': [ '../build/protoc.gypi' ] 5060 'includes': [ '../build/protoc.gypi' ]
5054 }, 5061 },
5055 ], 5062 ],
5056 } 5063 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698