OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 'xul_sdk_dir': '../third_party/xulrunner-sdk/<(OS)', | 8 'xul_sdk_dir': '../third_party/xulrunner-sdk/<(OS)', |
9 | 9 |
10 'variables': { | 10 'variables': { |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 'dependencies': [ | 145 'dependencies': [ |
146 '../base/base.gyp:test_support_base', | 146 '../base/base.gyp:test_support_base', |
147 '../ceee/ie/common/common.gyp:ie_common', | 147 '../ceee/ie/common/common.gyp:ie_common', |
148 '../ceee/testing/utils/test_utils.gyp:test_utils', | 148 '../ceee/testing/utils/test_utils.gyp:test_utils', |
149 '../testing/gmock.gyp:gmock', | 149 '../testing/gmock.gyp:gmock', |
150 '../testing/gtest.gyp:gtest', | 150 '../testing/gtest.gyp:gtest', |
151 'chrome_frame_ie', | 151 'chrome_frame_ie', |
152 'chrome_frame_privileged_mock', | 152 'chrome_frame_privileged_mock', |
153 'chrome_frame_strings', | 153 'chrome_frame_strings', |
154 'chrome_tab_idl', | 154 'chrome_tab_idl', |
| 155 'xulrunner_sdk', |
155 ], | 156 ], |
156 'sources': [ | 157 'sources': [ |
157 'chrome_tab.h', | 158 'chrome_tab.h', |
158 'chrome_frame_histograms.h', | 159 'chrome_frame_histograms.h', |
159 'chrome_frame_histograms.cc', | 160 'chrome_frame_histograms.cc', |
160 'chrome_frame_unittest_main.cc', | 161 'chrome_frame_unittest_main.cc', |
161 'chrome_launcher.cc', | 162 'chrome_launcher.cc', |
162 'chrome_launcher.h', | 163 'chrome_launcher.h', |
163 'chrome_launcher_unittest.cc', | 164 'chrome_launcher_unittest.cc', |
164 'function_stub_unittest.cc', | 165 'function_stub_unittest.cc', |
(...skipping 16 matching lines...) Expand all Loading... |
181 'test/urlmon_moniker_unittest.cc', | 182 'test/urlmon_moniker_unittest.cc', |
182 'test/util_unittests.cc', | 183 'test/util_unittests.cc', |
183 'test/win_event_receiver.h', | 184 'test/win_event_receiver.h', |
184 'test/win_event_receiver.cc', | 185 'test/win_event_receiver.cc', |
185 'unittest_precompile.h', | 186 'unittest_precompile.h', |
186 'unittest_precompile.cc', | 187 'unittest_precompile.cc', |
187 'urlmon_upload_data_stream.cc', | 188 'urlmon_upload_data_stream.cc', |
188 'urlmon_upload_data_stream_unittest.cc', | 189 'urlmon_upload_data_stream_unittest.cc', |
189 'vtable_patch_manager_unittest.cc', | 190 'vtable_patch_manager_unittest.cc', |
190 ], | 191 ], |
| 192 'include_dirs': [ |
| 193 '<@(xul_include_directories)', |
| 194 ], |
191 'resource_include_dirs': [ | 195 'resource_include_dirs': [ |
192 '<(INTERMEDIATE_DIR)', | 196 '<(INTERMEDIATE_DIR)', |
193 '<(SHARED_INTERMEDIATE_DIR)', | 197 '<(SHARED_INTERMEDIATE_DIR)', |
194 ], | 198 ], |
195 'conditions': [ | 199 'conditions': [ |
196 # We needed to extract this test from the chrome_frame_unittests because | 200 # We needed to extract this test from the chrome_frame_unittests because |
197 # we can't instrument code for coverage if it depends on 3rd party | 201 # we can't instrument code for coverage if it depends on 3rd party |
198 # binaries that we don't have PDBs for. See here for more details: | 202 # binaries that we don't have PDBs for. See here for more details: |
199 # http://connect.microsoft.com/VisualStudio/feedback/details/176188/can-
not-disable-warning-lnk4099 | 203 # http://connect.microsoft.com/VisualStudio/feedback/details/176188/can-
not-disable-warning-lnk4099 |
200 ['coverage==0', { | 204 ['coverage==0', { |
201 'dependencies': [ | 205 'dependencies': [ |
202 'chrome_frame_npapi', | 206 'chrome_frame_npapi', |
203 'xulrunner_sdk', | |
204 ], | 207 ], |
205 'sources': [ | 208 'sources': [ |
206 'chrome_frame_npapi_unittest.cc', | 209 'chrome_frame_npapi_unittest.cc', |
207 ], | 210 ], |
208 'conditions': [ | 211 'conditions': [ |
209 ['OS=="win"', { | 212 ['OS=="win"', { |
210 'msvs_settings': { | 213 'msvs_settings': { |
211 'VCLinkerTool': { | 214 'VCLinkerTool': { |
212 'DelayLoadDLLs': ['xpcom.dll', 'nspr4.dll'], | 215 'DelayLoadDLLs': ['xpcom.dll', 'nspr4.dll'], |
213 }, | 216 }, |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 '../testing/gtest.gyp:gtest', | 269 '../testing/gtest.gyp:gtest', |
267 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', | 270 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', |
268 '../third_party/iaccessible2/iaccessible2.gyp:IAccessible2Proxy', | 271 '../third_party/iaccessible2/iaccessible2.gyp:IAccessible2Proxy', |
269 '../third_party/libxslt/libxslt.gyp:libxslt', | 272 '../third_party/libxslt/libxslt.gyp:libxslt', |
270 'chrome_frame_ie', | 273 'chrome_frame_ie', |
271 'chrome_frame_npapi', | 274 'chrome_frame_npapi', |
272 'chrome_frame_strings', | 275 'chrome_frame_strings', |
273 'chrome_frame_utils', | 276 'chrome_frame_utils', |
274 'chrome_tab_idl', | 277 'chrome_tab_idl', |
275 'npchrome_frame', | 278 'npchrome_frame', |
276 'xulrunner_sdk', | |
277 ], | 279 ], |
278 'sources': [ | 280 'sources': [ |
279 '../base/test_suite.h', | 281 '../base/test_suite.h', |
280 'cfproxy_test.cc', | 282 'cfproxy_test.cc', |
281 'external_tab_test.cc', | 283 'external_tab_test.cc', |
282 'test/automation_client_mock.cc', | 284 'test/automation_client_mock.cc', |
283 'test/automation_client_mock.h', | 285 'test/automation_client_mock.h', |
284 'test/chrome_frame_test_utils.cc', | 286 'test/chrome_frame_test_utils.cc', |
285 'test/chrome_frame_test_utils.h', | 287 'test/chrome_frame_test_utils.h', |
286 'test/chrome_frame_ui_test_utils.cc', | 288 'test/chrome_frame_ui_test_utils.cc', |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 }, | 427 }, |
426 }, | 428 }, |
427 'link_settings': { | 429 'link_settings': { |
428 'libraries': [ | 430 'libraries': [ |
429 '-loleacc.lib', | 431 '-loleacc.lib', |
430 ], | 432 ], |
431 }, | 433 }, |
432 'msvs_settings': { | 434 'msvs_settings': { |
433 'VCLinkerTool': { | 435 'VCLinkerTool': { |
434 'IgnoreDefaultLibraryNames': ['nspr.lib', 'nspr4.lib'], | 436 'IgnoreDefaultLibraryNames': ['nspr.lib', 'nspr4.lib'], |
435 'DelayLoadDLLs': ['nspr4.dll'], | |
436 }, | 437 }, |
437 }, | 438 }, |
438 'dependencies': [ | 439 'dependencies': [ |
439 '../breakpad/breakpad.gyp:breakpad_handler', | 440 '../breakpad/breakpad.gyp:breakpad_handler', |
440 '../chrome/chrome.gyp:automation', | 441 '../chrome/chrome.gyp:automation', |
441 '../chrome/chrome.gyp:crash_service', | 442 '../chrome/chrome.gyp:crash_service', |
442 '../chrome/chrome.gyp:installer_util', | 443 '../chrome/chrome.gyp:installer_util', |
443 '../google_update/google_update.gyp:google_update', | 444 '../google_update/google_update.gyp:google_update', |
444 ], | 445 ], |
445 'sources': [ | 446 'sources': [ |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
681 }, | 682 }, |
682 { | 683 { |
683 'target_name': 'chrome_frame_npapi', | 684 'target_name': 'chrome_frame_npapi', |
684 'type': 'static_library', | 685 'type': 'static_library', |
685 'dependencies': [ | 686 'dependencies': [ |
686 'chrome_frame_common', | 687 'chrome_frame_common', |
687 'chrome_frame_npapi_core', | 688 'chrome_frame_npapi_core', |
688 'chrome_frame_strings', | 689 'chrome_frame_strings', |
689 'chrome_frame_utils', | 690 'chrome_frame_utils', |
690 '../chrome/chrome.gyp:common', | 691 '../chrome/chrome.gyp:common', |
691 'xulrunner_sdk', | |
692 ], | 692 ], |
693 'sources': [ | 693 'sources': [ |
694 'chrome_frame_npapi.cc', | 694 'chrome_frame_npapi.cc', |
695 'chrome_frame_npapi.h', | 695 'chrome_frame_npapi.h', |
696 'ff_30_privilege_check.cc', | 696 'ff_30_privilege_check.cc', |
697 'ff_privilege_check.h', | 697 'ff_privilege_check.h', |
698 'np_event_listener.cc', | 698 'np_event_listener.cc', |
699 'np_event_listener.h', | 699 'np_event_listener.h', |
700 'np_proxy_service.cc', | 700 'np_proxy_service.cc', |
701 'np_proxy_service.h', | 701 'np_proxy_service.h', |
702 'np_utils.cc', | 702 'np_utils.cc', |
703 'np_utils.h', | 703 'np_utils.h', |
704 'npapi_url_request.cc', | 704 'npapi_url_request.cc', |
705 'npapi_url_request.h', | 705 'npapi_url_request.h', |
706 'ns_associate_iid_win.h', | 706 'ns_associate_iid_win.h', |
707 'ns_isupports_impl.h', | 707 'ns_isupports_impl.h', |
708 'scoped_ns_ptr_win.h', | 708 'scoped_ns_ptr_win.h', |
709 ], | 709 ], |
| 710 'include_dirs': [ |
| 711 '<@(xul_include_directories)', |
| 712 ], |
710 }, | 713 }, |
711 { | 714 { |
712 'target_name': 'chrome_frame_strings', | 715 'target_name': 'chrome_frame_strings', |
713 'type': 'none', | 716 'type': 'none', |
714 'rules': [ | 717 'rules': [ |
715 { | 718 { |
716 'rule_name': 'grit', | 719 'rule_name': 'grit', |
717 'extension': 'grd', | 720 'extension': 'grd', |
718 'inputs': [ | 721 'inputs': [ |
719 '../tools/grit/grit.py', | 722 '../tools/grit/grit.py', |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1179 ], # 'conditions' | 1182 ], # 'conditions' |
1180 } | 1183 } |
1181 | 1184 |
1182 # vim: shiftwidth=2:et:ai:tabstop=2 | 1185 # vim: shiftwidth=2:et:ai:tabstop=2 |
1183 | 1186 |
1184 # Local Variables: | 1187 # Local Variables: |
1185 # tab-width:2 | 1188 # tab-width:2 |
1186 # indent-tabs-mode:nil | 1189 # indent-tabs-mode:nil |
1187 # End: | 1190 # End: |
1188 # vim: set expandtab tabstop=2 shiftwidth=2: | 1191 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |