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': { |
11 'version_py_path': '../tools/build/version.py', | 11 'version_py_path': '../tools/build/version.py', |
12 'version_path': 'VERSION', | 12 'version_path': 'VERSION', |
13 }, | 13 }, |
14 'version_py_path': '<(version_py_path) -f', | 14 'version_py_path': '<(version_py_path) -f', |
15 'version_path': '<(version_path)', | 15 'version_path': '<(version_path)', |
16 | 16 |
17 # Keep the archive builder happy. | 17 # Keep the archive builder happy. |
18 'chrome_personalization%': 1, | 18 'chrome_personalization%': 1, |
19 'use_syncapi_stub%': 0, | 19 'use_syncapi_stub%': 0, |
20 | 20 |
21 # Deps info. | 21 # Deps info. |
22 'xul_include_directories': [ | 22 'xul_include_directories': [ |
23 '<(xul_sdk_dir)/include/caps', | 23 '<(xul_sdk_dir)/include/caps', |
24 '<(xul_sdk_dir)/include/dom', | 24 '<(xul_sdk_dir)/include/dom', |
25 '<(xul_sdk_dir)/include/js', | 25 '<(xul_sdk_dir)/include/js', |
26 '<(xul_sdk_dir)/include/nspr', | 26 '<(xul_sdk_dir)/include/nspr', |
27 '<(xul_sdk_dir)/include/string', | 27 '<(xul_sdk_dir)/include/string', |
28 '<(xul_sdk_dir)/include/xpcom', | 28 '<(xul_sdk_dir)/include/xpcom', |
29 '<(xul_sdk_dir)/include/xpconnect', | 29 '<(xul_sdk_dir)/include/xpconnect', |
30 ], | 30 ], |
31 'conditions': [ | 31 'conditions': [ |
32 ['OS=="win"', { | 32 ['OS=="win"', { |
33 'python': [ | 33 'python': [ |
34 '<(DEPTH)\\third_party\\python_24\\setup_env.bat && python' | 34 '<(DEPTH)\\third_party\\python_24\\setup_env.bat && python' |
35 ], | 35 ], |
36 }, { # OS != win | 36 }, { # OS != win |
37 'python': [ | 37 'python': [ |
38 'python' | 38 'python' |
39 ], | 39 ], |
40 }], | 40 }], |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 'libraries': [ | 81 'libraries': [ |
82 '../third_party/xulrunner-sdk/win/lib/xpcomglue_s.lib', | 82 '../third_party/xulrunner-sdk/win/lib/xpcomglue_s.lib', |
83 '../third_party/xulrunner-sdk/win/lib/xpcom.lib', | 83 '../third_party/xulrunner-sdk/win/lib/xpcom.lib', |
84 '../third_party/xulrunner-sdk/win/lib/nspr4.lib', | 84 '../third_party/xulrunner-sdk/win/lib/nspr4.lib', |
85 ], | 85 ], |
86 }, | 86 }, |
87 },], | 87 },], |
88 ], | 88 ], |
89 }, | 89 }, |
90 { | 90 { |
| 91 # Builds our IDL file to the shared intermediate directory. |
| 92 'target_name': 'chrome_tab_idl', |
| 93 'type': 'none', |
| 94 'msvs_settings': { |
| 95 'VCMIDLTool': { |
| 96 'OutputDirectory': '<(SHARED_INTERMEDIATE_DIR)', |
| 97 }, |
| 98 }, |
| 99 'sources': [ |
| 100 'chrome_tab.idl', |
| 101 ], |
| 102 # Add the output dir for those who depend on us. |
| 103 'direct_dependent_settings': { |
| 104 'include_dirs': ['<(SHARED_INTERMEDIATE_DIR)'], |
| 105 }, |
| 106 }, |
| 107 { |
| 108 'target_name': 'chrome_frame_privileged_mock', |
| 109 'type': 'none', |
| 110 'dependencies': [ |
| 111 'chrome_tab_idl', |
| 112 ], |
| 113 'sources': [ |
| 114 '../ceee/testing/utils/com_mock.py', |
| 115 '<(SHARED_INTERMEDIATE_DIR)/chrome_tab.h', |
| 116 ], |
| 117 'actions': [ |
| 118 { |
| 119 'action_name': 'make_chrome_frame_privileged_mock', |
| 120 'msvs_cygwin_shell': 0, |
| 121 'msvs_quote_cmd': 0, |
| 122 'inputs': [ |
| 123 '../ceee/testing/utils/com_mock.py', |
| 124 ], |
| 125 'outputs': [ |
| 126 '<(SHARED_INTERMEDIATE_DIR)/mock_ichromeframeprivileged.gen', |
| 127 ], |
| 128 'action': [ |
| 129 '<@(python)', |
| 130 '../ceee/testing/utils/com_mock.py', |
| 131 'IChromeFramePrivileged', |
| 132 '<(SHARED_INTERMEDIATE_DIR)/chrome_tab.h', |
| 133 '> "<(SHARED_INTERMEDIATE_DIR)/mock_ichromeframeprivileged.gen"', |
| 134 ], |
| 135 }, |
| 136 ], |
| 137 # All who use this need to be able to find the .gen file we generate. |
| 138 'all_dependent_settings': { |
| 139 'include_dirs': ['<(SHARED_INTERMEDIATE_DIR)'], |
| 140 }, |
| 141 }, |
| 142 { |
91 'target_name': 'chrome_frame_unittests', | 143 'target_name': 'chrome_frame_unittests', |
92 'type': 'executable', | 144 'type': 'executable', |
93 'dependencies': [ | 145 'dependencies': [ |
94 '../base/base.gyp:test_support_base', | 146 '../base/base.gyp:test_support_base', |
| 147 '../ceee/ie/common/common.gyp:ie_common', |
| 148 '../ceee/testing/utils/test_utils.gyp:test_utils', |
95 '../testing/gmock.gyp:gmock', | 149 '../testing/gmock.gyp:gmock', |
96 '../testing/gtest.gyp:gtest', | 150 '../testing/gtest.gyp:gtest', |
97 'chrome_frame_ie', | 151 'chrome_frame_ie', |
| 152 'chrome_frame_privileged_mock', |
98 'chrome_frame_strings', | 153 'chrome_frame_strings', |
| 154 'chrome_tab_idl', |
99 ], | 155 ], |
100 'sources': [ | 156 'sources': [ |
101 'chrome_tab.h', | 157 'chrome_tab.h', |
102 'chrome_tab.idl', | |
103 'chrome_frame_histograms.h', | 158 'chrome_frame_histograms.h', |
104 'chrome_frame_histograms.cc', | 159 'chrome_frame_histograms.cc', |
105 'chrome_frame_unittest_main.cc', | 160 'chrome_frame_unittest_main.cc', |
106 'chrome_launcher.cc', | 161 'chrome_launcher.cc', |
107 'chrome_launcher.h', | 162 'chrome_launcher.h', |
108 'chrome_launcher_unittest.cc', | 163 'chrome_launcher_unittest.cc', |
109 'function_stub_unittest.cc', | 164 'function_stub_unittest.cc', |
110 'renderer_glue.cc', | 165 'renderer_glue.cc', |
| 166 'test/chrome_frame_activex_unittest.cc', |
| 167 'test/chrome_tab_mocks.h', |
111 'test/chrome_frame_test_utils.h', | 168 'test/chrome_frame_test_utils.h', |
112 'test/chrome_frame_test_utils.cc', | 169 'test/chrome_frame_test_utils.cc', |
113 'test/com_message_event_unittest.cc', | 170 'test/com_message_event_unittest.cc', |
114 'test/exception_barrier_unittest.cc', | 171 'test/exception_barrier_unittest.cc', |
115 'test/html_util_unittests.cc', | 172 'test/html_util_unittests.cc', |
116 'test/http_negotiate_unittest.cc', | 173 'test/http_negotiate_unittest.cc', |
117 'test/policy_settings_unittest.cc', | 174 'test/policy_settings_unittest.cc', |
118 'test/simulate_input.h', | 175 'test/simulate_input.h', |
119 'test/simulate_input.cc', | 176 'test/simulate_input.cc', |
120 'test/urlmon_moniker_tests.h', | 177 'test/urlmon_moniker_tests.h', |
121 'test/urlmon_moniker_unittest.cc', | 178 'test/urlmon_moniker_unittest.cc', |
122 'test/util_unittests.cc', | 179 'test/util_unittests.cc', |
123 'test/win_event_receiver.h', | 180 'test/win_event_receiver.h', |
124 'test/win_event_receiver.cc', | 181 'test/win_event_receiver.cc', |
125 'unittest_precompile.h', | 182 'unittest_precompile.h', |
126 'unittest_precompile.cc', | 183 'unittest_precompile.cc', |
127 'urlmon_upload_data_stream.cc', | 184 'urlmon_upload_data_stream.cc', |
128 'urlmon_upload_data_stream_unittest.cc', | 185 'urlmon_upload_data_stream_unittest.cc', |
129 'vtable_patch_manager_unittest.cc', | 186 'vtable_patch_manager_unittest.cc', |
130 ], | 187 ], |
131 'include_dirs': [ | |
132 # To allow including "chrome_tab.h" | |
133 '<(INTERMEDIATE_DIR)', | |
134 ], | |
135 'resource_include_dirs': [ | 188 'resource_include_dirs': [ |
136 '<(INTERMEDIATE_DIR)', | 189 '<(INTERMEDIATE_DIR)', |
137 '<(SHARED_INTERMEDIATE_DIR)', | 190 '<(SHARED_INTERMEDIATE_DIR)', |
138 ], | 191 ], |
139 'conditions': [ | 192 'conditions': [ |
140 # We needed to extract this test from the chrome_frame_unittests because | 193 # We needed to extract this test from the chrome_frame_unittests because |
141 # we can't instrument code for coverage if it depends on 3rd party | 194 # we can't instrument code for coverage if it depends on 3rd party |
142 # binaries that we don't have PDBs for. See here for more details: | 195 # binaries that we don't have PDBs for. See here for more details: |
143 # http://connect.microsoft.com/VisualStudio/feedback/details/176188/can-
not-disable-warning-lnk4099 | 196 # http://connect.microsoft.com/VisualStudio/feedback/details/176188/can-
not-disable-warning-lnk4099 |
144 ['coverage==0', { | 197 ['coverage==0', { |
145 'dependencies': [ | 198 'dependencies': [ |
146 'chrome_frame_npapi', | 199 'chrome_frame_npapi', |
147 'xulrunner_sdk', | 200 'xulrunner_sdk', |
148 ], | 201 ], |
149 'sources': [ | 202 'sources': [ |
150 'chrome_frame_npapi_unittest.cc', | 203 'chrome_frame_npapi_unittest.cc', |
151 ], | 204 ], |
152 'conditions': [ | 205 'conditions': [ |
153 ['OS=="win"', { | 206 ['OS=="win"', { |
154 'msvs_settings': { | 207 'msvs_settings': { |
155 'VCLinkerTool': { | 208 'VCLinkerTool': { |
156 'DelayLoadDLLs': ['xpcom.dll', 'nspr4.dll'], | 209 'DelayLoadDLLs': ['xpcom.dll', 'nspr4.dll'], |
157 }, | 210 }, |
158 }, | 211 }, |
159 'dependencies': [ | 212 'dependencies': [ |
160 # TODO(slightlyoff): Get automation targets working on OS X | 213 # TODO(slightlyoff): Get automation targets working on OS X |
161 '../chrome/chrome.gyp:automation', | 214 '../chrome/chrome.gyp:automation', |
162 ], | 215 ], |
163 }], | 216 }], |
164 ], | 217 ], |
165 }], | 218 }], |
166 ['OS=="win"', { | 219 ['OS=="win"', { |
167 'link_settings': { | 220 'link_settings': { |
168 'libraries': [ | 221 'libraries': [ |
169 '-lshdocvw.lib', '-loleacc.lib', | 222 '-lshdocvw.lib', '-loleacc.lib', |
170 ], | 223 ], |
171 }, | 224 }, |
172 'msvs_settings': { | 225 'msvs_settings': { |
173 'VCLinkerTool': { | 226 'VCLinkerTool': { |
174 'DelayLoadDLLs': ['shdocvw.dll'], | 227 'DelayLoadDLLs': ['shdocvw.dll'], |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 '../chrome/chrome.gyp:debugger', | 259 '../chrome/chrome.gyp:debugger', |
207 '../chrome/chrome.gyp:renderer', | 260 '../chrome/chrome.gyp:renderer', |
208 '../net/net.gyp:net_test_support', | 261 '../net/net.gyp:net_test_support', |
209 '../testing/gmock.gyp:gmock', | 262 '../testing/gmock.gyp:gmock', |
210 '../testing/gtest.gyp:gtest', | 263 '../testing/gtest.gyp:gtest', |
211 '../third_party/libxslt/libxslt.gyp:libxslt', | 264 '../third_party/libxslt/libxslt.gyp:libxslt', |
212 'chrome_frame_ie', | 265 'chrome_frame_ie', |
213 'chrome_frame_npapi', | 266 'chrome_frame_npapi', |
214 'chrome_frame_strings', | 267 'chrome_frame_strings', |
215 'chrome_frame_utils', | 268 'chrome_frame_utils', |
| 269 'chrome_tab_idl', |
216 'npchrome_frame', | 270 'npchrome_frame', |
217 'xulrunner_sdk', | 271 'xulrunner_sdk', |
218 ], | 272 ], |
219 'sources': [ | 273 'sources': [ |
220 '../base/test_suite.h', | 274 '../base/test_suite.h', |
221 'cfproxy_test.cc', | 275 'cfproxy_test.cc', |
222 'external_tab_test.cc', | 276 'external_tab_test.cc', |
223 'test/automation_client_mock.cc', | 277 'test/automation_client_mock.cc', |
224 'test/automation_client_mock.h', | 278 'test/automation_client_mock.h', |
225 'test/chrome_frame_test_utils.cc', | 279 'test/chrome_frame_test_utils.cc', |
(...skipping 24 matching lines...) Expand all Loading... |
250 'test/test_with_web_server.cc', | 304 'test/test_with_web_server.cc', |
251 'test/test_with_web_server.h', | 305 'test/test_with_web_server.h', |
252 'test/ui_test.cc', | 306 'test/ui_test.cc', |
253 'test/urlmon_moniker_tests.h', | 307 'test/urlmon_moniker_tests.h', |
254 'test/urlmon_moniker_integration_test.cc', | 308 'test/urlmon_moniker_integration_test.cc', |
255 'test/url_request_test.cc', | 309 'test/url_request_test.cc', |
256 'test/win_event_receiver.cc', | 310 'test/win_event_receiver.cc', |
257 'test/win_event_receiver.h', | 311 'test/win_event_receiver.h', |
258 'chrome_launcher_version.rc', | 312 'chrome_launcher_version.rc', |
259 'chrome_tab.h', | 313 'chrome_tab.h', |
260 'chrome_tab.idl', | |
261 'test_utils.cc', | 314 'test_utils.cc', |
262 'test_utils.h', | 315 'test_utils.h', |
263 ], | 316 ], |
264 'include_dirs': [ | 317 'include_dirs': [ |
265 '<@(xul_include_directories)', | 318 '<@(xul_include_directories)', |
266 '<(DEPTH)/third_party/wtl/include', | 319 '<(DEPTH)/third_party/wtl/include', |
267 # To allow including "chrome_tab.h" | |
268 '<(INTERMEDIATE_DIR)', | |
269 ], | 320 ], |
270 'resource_include_dirs': [ | 321 'resource_include_dirs': [ |
271 '<(INTERMEDIATE_DIR)', | 322 '<(INTERMEDIATE_DIR)', |
272 ], | 323 ], |
273 'conditions': [ | 324 'conditions': [ |
274 ['OS=="win"', { | 325 ['OS=="win"', { |
275 'link_settings': { | 326 'link_settings': { |
276 'libraries': [ | 327 'libraries': [ |
277 '-loleacc.lib', | 328 '-loleacc.lib', |
278 ], | 329 ], |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 '../chrome/chrome.gyp:test_support_ui', | 373 '../chrome/chrome.gyp:test_support_ui', |
323 '../chrome/chrome.gyp:utility', | 374 '../chrome/chrome.gyp:utility', |
324 '../testing/gmock.gyp:gmock', | 375 '../testing/gmock.gyp:gmock', |
325 '../testing/gtest.gyp:gtest', | 376 '../testing/gtest.gyp:gtest', |
326 '../third_party/libxml/libxml.gyp:libxml', | 377 '../third_party/libxml/libxml.gyp:libxml', |
327 '../third_party/libxslt/libxslt.gyp:libxslt', | 378 '../third_party/libxslt/libxslt.gyp:libxslt', |
328 'chrome_frame_ie', | 379 'chrome_frame_ie', |
329 'chrome_frame_npapi', | 380 'chrome_frame_npapi', |
330 'chrome_frame_strings', | 381 'chrome_frame_strings', |
331 'chrome_frame_utils', | 382 'chrome_frame_utils', |
| 383 'chrome_tab_idl', |
332 'npchrome_frame', | 384 'npchrome_frame', |
333 'xulrunner_sdk', | 385 'xulrunner_sdk', |
334 ], | 386 ], |
335 'sources': [ | 387 'sources': [ |
336 '../base/perf_test_suite.h', | 388 '../base/perf_test_suite.h', |
337 '../base/perftimer.cc', | 389 '../base/perftimer.cc', |
338 '../base/test/test_file_util.h', | 390 '../base/test/test_file_util.h', |
339 '../chrome/test/chrome_process_util.cc', | 391 '../chrome/test/chrome_process_util.cc', |
340 '../chrome/test/chrome_process_util.h', | 392 '../chrome/test/chrome_process_util.h', |
341 '../chrome/test/ui/ui_test.cc', | 393 '../chrome/test/ui/ui_test.cc', |
342 'chrome_tab.h', | 394 'chrome_tab.h', |
343 'chrome_tab.idl', | |
344 'test/chrome_frame_test_utils.cc', | 395 'test/chrome_frame_test_utils.cc', |
345 'test/chrome_frame_test_utils.h', | 396 'test/chrome_frame_test_utils.h', |
346 'test/perf/chrome_frame_perftest.cc', | 397 'test/perf/chrome_frame_perftest.cc', |
347 'test/perf/chrome_frame_perftest.h', | 398 'test/perf/chrome_frame_perftest.h', |
348 'test/perf/run_all.cc', | 399 'test/perf/run_all.cc', |
349 'test/perf/silverlight.cc', | 400 'test/perf/silverlight.cc', |
350 'test/simulate_input.cc', | 401 'test/simulate_input.cc', |
351 'test/simulate_input.h', | 402 'test/simulate_input.h', |
352 'test_utils.cc', | 403 'test_utils.cc', |
353 'test_utils.h', | 404 'test_utils.h', |
354 'test/win_event_receiver.cc', | 405 'test/win_event_receiver.cc', |
355 'test/win_event_receiver.h', | 406 'test/win_event_receiver.h', |
356 ], | 407 ], |
357 'include_dirs': [ | 408 'include_dirs': [ |
358 '<@(xul_include_directories)', | 409 '<@(xul_include_directories)', |
359 '<(DEPTH)/third_party/wtl/include', | 410 '<(DEPTH)/third_party/wtl/include', |
360 # To allow including "chrome_tab.h" | |
361 '<(INTERMEDIATE_DIR)', | |
362 ], | 411 ], |
363 'conditions': [ | 412 'conditions': [ |
364 ['OS=="win"', { | 413 ['OS=="win"', { |
365 'configurations': { | 414 'configurations': { |
366 'Debug_Base': { | 415 'Debug_Base': { |
367 'msvs_settings': { | 416 'msvs_settings': { |
368 'VCLinkerTool': { | 417 'VCLinkerTool': { |
369 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 418 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
370 }, | 419 }, |
371 }, | 420 }, |
(...skipping 29 matching lines...) Expand all Loading... |
401 '../chrome/chrome.gyp:debugger', | 450 '../chrome/chrome.gyp:debugger', |
402 '../chrome/chrome.gyp:renderer', | 451 '../chrome/chrome.gyp:renderer', |
403 '../chrome/chrome.gyp:syncapi', | 452 '../chrome/chrome.gyp:syncapi', |
404 '../net/net.gyp:net_test_support', | 453 '../net/net.gyp:net_test_support', |
405 '../skia/skia.gyp:skia', | 454 '../skia/skia.gyp:skia', |
406 '../testing/gtest.gyp:gtest', | 455 '../testing/gtest.gyp:gtest', |
407 '../third_party/icu/icu.gyp:icui18n', | 456 '../third_party/icu/icu.gyp:icui18n', |
408 '../third_party/icu/icu.gyp:icuuc', | 457 '../third_party/icu/icu.gyp:icuuc', |
409 'chrome_frame_npapi', | 458 'chrome_frame_npapi', |
410 'chrome_frame_ie', | 459 'chrome_frame_ie', |
| 460 'chrome_tab_idl', |
411 'npchrome_frame', | 461 'npchrome_frame', |
412 ], | 462 ], |
413 'sources': [ | 463 'sources': [ |
414 '../net/url_request/url_request_unittest.cc', | 464 '../net/url_request/url_request_unittest.cc', |
415 '../net/url_request/url_request_unittest.h', | 465 '../net/url_request/url_request_unittest.h', |
416 'test/chrome_frame_test_utils.cc', | 466 'test/chrome_frame_test_utils.cc', |
417 'test/chrome_frame_test_utils.h', | 467 'test/chrome_frame_test_utils.h', |
418 'test/simulate_input.cc', | 468 'test/simulate_input.cc', |
419 'test/simulate_input.h', | 469 'test/simulate_input.h', |
420 'test/test_server.cc', | 470 'test/test_server.cc', |
421 'test/test_server.h', | 471 'test/test_server.h', |
422 'test/win_event_receiver.cc', | 472 'test/win_event_receiver.cc', |
423 'test/win_event_receiver.h', | 473 'test/win_event_receiver.h', |
424 'test/net/fake_external_tab.cc', | 474 'test/net/fake_external_tab.cc', |
425 'test/net/fake_external_tab.h', | 475 'test/net/fake_external_tab.h', |
426 'test/net/process_singleton_subclass.cc', | 476 'test/net/process_singleton_subclass.cc', |
427 'test/net/process_singleton_subclass.h', | 477 'test/net/process_singleton_subclass.h', |
428 'test/net/test_automation_provider.cc', | 478 'test/net/test_automation_provider.cc', |
429 'test/net/test_automation_provider.h', | 479 'test/net/test_automation_provider.h', |
430 'test/net/test_automation_resource_message_filter.cc', | 480 'test/net/test_automation_resource_message_filter.cc', |
431 'test/net/test_automation_resource_message_filter.h', | 481 'test/net/test_automation_resource_message_filter.h', |
432 'chrome_tab.h', | 482 'chrome_tab.h', |
433 'chrome_tab.idl', | |
434 ], | |
435 'include_dirs': [ | |
436 # To allow including "chrome_tab.h" | |
437 '<(INTERMEDIATE_DIR)', | |
438 ], | 483 ], |
439 'conditions': [ | 484 'conditions': [ |
440 ['OS=="win"', { | 485 ['OS=="win"', { |
441 'link_settings': { | 486 'link_settings': { |
442 'libraries': [ | 487 'libraries': [ |
443 '-loleacc.lib', | 488 '-loleacc.lib', |
444 ], | 489 ], |
445 }, | 490 }, |
446 'msvs_settings': { | 491 'msvs_settings': { |
447 'VCLinkerTool': { | 492 'VCLinkerTool': { |
(...skipping 30 matching lines...) Expand all Loading... |
478 '../base/base.gyp:test_support_base', | 523 '../base/base.gyp:test_support_base', |
479 '../chrome/chrome.gyp:browser', | 524 '../chrome/chrome.gyp:browser', |
480 '../chrome/chrome.gyp:debugger', | 525 '../chrome/chrome.gyp:debugger', |
481 '../chrome/chrome.gyp:renderer', | 526 '../chrome/chrome.gyp:renderer', |
482 '../chrome/chrome.gyp:test_support_common', | 527 '../chrome/chrome.gyp:test_support_common', |
483 '../testing/gmock.gyp:gmock', | 528 '../testing/gmock.gyp:gmock', |
484 '../testing/gtest.gyp:gtest', | 529 '../testing/gtest.gyp:gtest', |
485 'chrome_frame_ie', | 530 'chrome_frame_ie', |
486 'chrome_frame_npapi', | 531 'chrome_frame_npapi', |
487 'chrome_frame_strings', | 532 'chrome_frame_strings', |
| 533 'chrome_tab_idl', |
488 ], | 534 ], |
489 'sources': [ | 535 'sources': [ |
490 'test/reliability/run_all_unittests.cc', | 536 'test/reliability/run_all_unittests.cc', |
491 'test/reliability/page_load_test.cc', | 537 'test/reliability/page_load_test.cc', |
492 'test/reliability/page_load_test.h', | 538 'test/reliability/page_load_test.h', |
493 'test/reliability/reliability_test_suite.h', | 539 'test/reliability/reliability_test_suite.h', |
494 'test/chrome_frame_test_utils.cc', | 540 'test/chrome_frame_test_utils.cc', |
495 'test/chrome_frame_test_utils.h', | 541 'test/chrome_frame_test_utils.h', |
496 'test/ie_event_sink.cc', | 542 'test/ie_event_sink.cc', |
497 'test/ie_event_sink.h', | 543 'test/ie_event_sink.h', |
498 'test_utils.cc', | 544 'test_utils.cc', |
499 'test_utils.h', | 545 'test_utils.h', |
500 'test/simulate_input.cc', | 546 'test/simulate_input.cc', |
501 'test/simulate_input.h', | 547 'test/simulate_input.h', |
502 'test/win_event_receiver.cc', | 548 'test/win_event_receiver.cc', |
503 'test/win_event_receiver.h', | 549 'test/win_event_receiver.h', |
504 'chrome_tab.h', | 550 'chrome_tab.h', |
505 'chrome_tab.idl', | |
506 '../base/test/test_file_util_win.cc', | 551 '../base/test/test_file_util_win.cc', |
507 '../chrome/test/ui/ui_test.cc', | 552 '../chrome/test/ui/ui_test.cc', |
508 '../chrome/test/ui/ui_test_suite.cc', | 553 '../chrome/test/ui/ui_test_suite.cc', |
509 '../chrome/test/ui/ui_test_suite.h', | 554 '../chrome/test/ui/ui_test_suite.h', |
510 '../chrome/test/chrome_process_util.cc', | 555 '../chrome/test/chrome_process_util.cc', |
511 '../chrome/test/chrome_process_util.h', | 556 '../chrome/test/chrome_process_util.h', |
512 ], | 557 ], |
513 'include_dirs': [ | |
514 # To allow including "chrome_tab.h" | |
515 '<(INTERMEDIATE_DIR)', | |
516 ], | |
517 'resource_include_dirs': [ | 558 'resource_include_dirs': [ |
518 '<(INTERMEDIATE_DIR)', | 559 '<(INTERMEDIATE_DIR)', |
519 ], | 560 ], |
520 'conditions': [ | 561 'conditions': [ |
521 ['OS=="win"', { | 562 ['OS=="win"', { |
522 'link_settings': { | 563 'link_settings': { |
523 'libraries': [ | 564 'libraries': [ |
524 '-loleacc.lib', | 565 '-loleacc.lib', |
525 ], | 566 ], |
526 }, | 567 }, |
527 'dependencies': [ | 568 'dependencies': [ |
528 # TODO(slightlyoff): Get automation targets working on OS X | 569 # TODO(slightlyoff): Get automation targets working on OS X |
529 '../chrome/chrome.gyp:automation', | 570 '../chrome/chrome.gyp:automation', |
530 '../chrome/chrome.gyp:installer_util', | 571 '../chrome/chrome.gyp:installer_util', |
531 '../google_update/google_update.gyp:google_update', | 572 '../google_update/google_update.gyp:google_update', |
532 ], | 573 ], |
533 'configurations': { | 574 'configurations': { |
534 'Debug_Base': { | 575 'Debug_Base': { |
535 'msvs_settings': { | 576 'msvs_settings': { |
536 'VCLinkerTool': { | 577 'VCLinkerTool': { |
537 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 578 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
538 }, | 579 }, |
539 }, | 580 }, |
540 }, | 581 }, |
541 }, | 582 }, |
542 }], | 583 }], |
543 ], | 584 ], |
544 }, | 585 }, |
545 | 586 { |
| 587 'target_name': 'chrome_frame_npapi_core', |
| 588 'type': 'static_library', |
| 589 'dependencies': [ |
| 590 '../base/base.gyp:base', |
| 591 ], |
| 592 'sources': [ |
| 593 'np_browser_functions.cc', |
| 594 'np_browser_functions.h', |
| 595 ], |
| 596 }, |
546 { | 597 { |
547 'target_name': 'chrome_frame_npapi', | 598 'target_name': 'chrome_frame_npapi', |
548 'type': 'static_library', | 599 'type': 'static_library', |
549 'dependencies': [ | 600 'dependencies': [ |
550 'chrome_frame_common', | 601 'chrome_frame_common', |
| 602 'chrome_frame_npapi_core', |
551 'chrome_frame_strings', | 603 'chrome_frame_strings', |
552 'chrome_frame_utils', | 604 'chrome_frame_utils', |
553 '../chrome/chrome.gyp:common', | 605 '../chrome/chrome.gyp:common', |
554 'xulrunner_sdk', | 606 'xulrunner_sdk', |
555 ], | 607 ], |
556 'sources': [ | 608 'sources': [ |
557 'chrome_frame_npapi.cc', | 609 'chrome_frame_npapi.cc', |
558 'chrome_frame_npapi.h', | 610 'chrome_frame_npapi.h', |
559 'ff_30_privilege_check.cc', | 611 'ff_30_privilege_check.cc', |
560 'ff_privilege_check.h', | 612 'ff_privilege_check.h', |
561 'np_browser_functions.cc', | |
562 'np_browser_functions.h', | |
563 'np_event_listener.cc', | 613 'np_event_listener.cc', |
564 'np_event_listener.h', | 614 'np_event_listener.h', |
565 'np_proxy_service.cc', | 615 'np_proxy_service.cc', |
566 'np_proxy_service.h', | 616 'np_proxy_service.h', |
567 'np_utils.cc', | 617 'np_utils.cc', |
568 'np_utils.h', | 618 'np_utils.h', |
569 'npapi_url_request.cc', | 619 'npapi_url_request.cc', |
570 'npapi_url_request.h', | 620 'npapi_url_request.h', |
571 'ns_associate_iid_win.h', | 621 'ns_associate_iid_win.h', |
572 'ns_isupports_impl.h', | 622 'ns_isupports_impl.h', |
(...skipping 10 matching lines...) Expand all Loading... |
583 'inputs': [ | 633 'inputs': [ |
584 '../tools/grit/grit.py', | 634 '../tools/grit/grit.py', |
585 ], | 635 ], |
586 'variables': { | 636 'variables': { |
587 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome_frame', | 637 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome_frame', |
588 }, | 638 }, |
589 'outputs': [ | 639 'outputs': [ |
590 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/grit/<(RULE_INPUT_ROOT).h', | 640 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/grit/<(RULE_INPUT_ROOT).h', |
591 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/<(RULE_INPUT_ROOT).pak', | 641 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/<(RULE_INPUT_ROOT).pak', |
592 ], | 642 ], |
593 'action': ['python', '<@(_inputs)', '-i', | 643 'action': ['python', '<@(_inputs)', '-i', |
594 '<(RULE_INPUT_PATH)', | 644 '<(RULE_INPUT_PATH)', |
595 'build', '-o', '<(grit_out_dir)' | 645 'build', '-o', '<(grit_out_dir)' |
596 ], | 646 ], |
597 'message': 'Generating resources from <(RULE_INPUT_PATH)', | 647 'message': 'Generating resources from <(RULE_INPUT_PATH)', |
598 }, | 648 }, |
599 ], | 649 ], |
600 'sources': [ | 650 'sources': [ |
601 # Localizable resources. | 651 # Localizable resources. |
602 'resources/chrome_frame_resources.grd', | 652 'resources/chrome_frame_resources.grd', |
603 ], | 653 ], |
(...skipping 12 matching lines...) Expand all Loading... |
616 'target_name': 'chrome_frame_utils', | 666 'target_name': 'chrome_frame_utils', |
617 # The intent is that shared util code can be built into a separate lib. | 667 # The intent is that shared util code can be built into a separate lib. |
618 # Currently on the resource loading code is here. | 668 # Currently on the resource loading code is here. |
619 'type': 'static_library', | 669 'type': 'static_library', |
620 'dependencies': [ | 670 'dependencies': [ |
621 '../base/base.gyp:base_i18n', | 671 '../base/base.gyp:base_i18n', |
622 '../breakpad/breakpad.gyp:breakpad_handler', | 672 '../breakpad/breakpad.gyp:breakpad_handler', |
623 '../chrome/chrome.gyp:chrome_version_header', | 673 '../chrome/chrome.gyp:chrome_version_header', |
624 ], | 674 ], |
625 'include_dirs': [ | 675 'include_dirs': [ |
626 # To allow including "chrome_tab.h" | 676 # To allow including "version.h" |
627 '<(SHARED_INTERMEDIATE_DIR)', | 677 '<(SHARED_INTERMEDIATE_DIR)', |
628 ], | 678 ], |
629 'sources': [ | 679 'sources': [ |
630 'crash_server_init.cc', | 680 'crash_server_init.cc', |
631 'crash_server_init.h', | 681 'crash_server_init.h', |
632 'simple_resource_loader.cc', | 682 'simple_resource_loader.cc', |
633 'simple_resource_loader.h', | 683 'simple_resource_loader.h', |
634 ], | 684 ], |
635 }, | 685 }, |
636 { | 686 { |
637 'target_name': 'chrome_frame_ie', | 687 'target_name': 'chrome_frame_ie', |
638 'type': 'static_library', | 688 'type': 'static_library', |
639 'dependencies': [ | 689 'dependencies': [ |
640 'chrome_frame_common', | 690 'chrome_frame_common', |
641 'chrome_frame_strings', | 691 'chrome_frame_strings', |
642 'chrome_frame_utils', | 692 'chrome_frame_utils', |
| 693 'chrome_tab_idl', |
643 '../chrome/chrome.gyp:common', | 694 '../chrome/chrome.gyp:common', |
644 '../chrome/chrome.gyp:utility', | 695 '../chrome/chrome.gyp:utility', |
645 '../build/temp_gyp/googleurl.gyp:googleurl', | 696 '../build/temp_gyp/googleurl.gyp:googleurl', |
646 '../third_party/libxml/libxml.gyp:libxml', | 697 '../third_party/libxml/libxml.gyp:libxml', |
647 '../third_party/bzip2/bzip2.gyp:bzip2', | 698 '../third_party/bzip2/bzip2.gyp:bzip2', |
648 '../webkit/support/webkit_support.gyp:webkit_user_agent', | 699 '../webkit/support/webkit_support.gyp:webkit_user_agent', |
649 ], | 700 ], |
650 'sources': [ | 701 'sources': [ |
651 'bho.cc', | 702 'bho.cc', |
652 'bho.h', | 703 'bho.h', |
(...skipping 10 matching lines...) Expand all Loading... |
663 'chrome_frame_activex.cc', | 714 'chrome_frame_activex.cc', |
664 'chrome_frame_activex.h', | 715 'chrome_frame_activex.h', |
665 'chrome_frame_activex.rgs', | 716 'chrome_frame_activex.rgs', |
666 'chrome_frame_activex_base.h', | 717 'chrome_frame_activex_base.h', |
667 'chrome_frame_histograms.cc', | 718 'chrome_frame_histograms.cc', |
668 'chrome_frame_histograms.h', | 719 'chrome_frame_histograms.h', |
669 'chrome_protocol.cc', | 720 'chrome_protocol.cc', |
670 'chrome_protocol.h', | 721 'chrome_protocol.h', |
671 'chrome_protocol.rgs', | 722 'chrome_protocol.rgs', |
672 'chrome_tab.h', | 723 'chrome_tab.h', |
673 'chrome_tab.idl', | |
674 'com_message_event.cc', | 724 'com_message_event.cc', |
675 'com_message_event.h', | 725 'com_message_event.h', |
676 'com_type_info_holder.cc', | 726 'com_type_info_holder.cc', |
677 'com_type_info_holder.h', | 727 'com_type_info_holder.h', |
678 'delete_chrome_history.cc', | 728 'delete_chrome_history.cc', |
679 'delete_chrome_history.h', | 729 'delete_chrome_history.h', |
680 'exception_barrier.cc', | 730 'exception_barrier.cc', |
681 'exception_barrier.h', | 731 'exception_barrier.h', |
682 'exception_barrier_lowlevel.asm', | 732 'exception_barrier_lowlevel.asm', |
683 'find_dialog.cc', | 733 'find_dialog.cc', |
(...skipping 27 matching lines...) Expand all Loading... |
711 'urlmon_url_request.h', | 761 'urlmon_url_request.h', |
712 'urlmon_url_request_private.h', | 762 'urlmon_url_request_private.h', |
713 'urlmon_upload_data_stream.cc', | 763 'urlmon_upload_data_stream.cc', |
714 'urlmon_upload_data_stream.h', | 764 'urlmon_upload_data_stream.h', |
715 'utils.h', | 765 'utils.h', |
716 'utils.cc', | 766 'utils.cc', |
717 'vtable_patch_manager.cc', | 767 'vtable_patch_manager.cc', |
718 'vtable_patch_manager.h', | 768 'vtable_patch_manager.h', |
719 ], | 769 ], |
720 'include_dirs': [ | 770 'include_dirs': [ |
721 # To allow including "chrome_tab.h" | |
722 '<(INTERMEDIATE_DIR)', | |
723 '<(INTERMEDIATE_DIR)/../chrome_frame', | 771 '<(INTERMEDIATE_DIR)/../chrome_frame', |
724 '<(DEPTH)/third_party/wtl/include', | 772 '<(DEPTH)/third_party/wtl/include', |
725 ], | 773 ], |
726 'conditions': [ | 774 'conditions': [ |
727 ['OS=="win"', { | 775 ['OS=="win"', { |
728 # NOTE(slightlyoff): | 776 # NOTE(slightlyoff): |
729 # this is a fix for the include dirs length limit on the resource | 777 # this is a fix for the include dirs length limit on the resource |
730 # compiler, tickled by the xul_include_dirs variable | 778 # compiler, tickled by the xul_include_dirs variable |
731 'resource_include_dirs': [ | 779 'resource_include_dirs': [ |
732 '<(INTERMEDIATE_DIR)' | 780 '<(INTERMEDIATE_DIR)' |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
800 { | 848 { |
801 'target_name': 'npchrome_frame', | 849 'target_name': 'npchrome_frame', |
802 'type': 'shared_library', | 850 'type': 'shared_library', |
803 'msvs_guid': 'E3DE7E63-D3B6-4A9F-BCC4-5C8169E9C9F2', | 851 'msvs_guid': 'E3DE7E63-D3B6-4A9F-BCC4-5C8169E9C9F2', |
804 'dependencies': [ | 852 'dependencies': [ |
805 '../base/base.gyp:base', | 853 '../base/base.gyp:base', |
806 'chrome_frame_ie', | 854 'chrome_frame_ie', |
807 'chrome_frame_npapi', | 855 'chrome_frame_npapi', |
808 'chrome_frame_strings', | 856 'chrome_frame_strings', |
809 'chrome_frame_utils', | 857 'chrome_frame_utils', |
| 858 'chrome_tab_idl', |
810 'xulrunner_sdk', | 859 'xulrunner_sdk', |
811 'chrome_frame_launcher.gyp:chrome_launcher', | 860 'chrome_frame_launcher.gyp:chrome_launcher', |
812 '../build/temp_gyp/googleurl.gyp:googleurl', | 861 '../build/temp_gyp/googleurl.gyp:googleurl', |
813 'chrome_frame_launcher.gyp:chrome_frame_helper', | 862 'chrome_frame_launcher.gyp:chrome_frame_helper', |
814 'chrome_frame_launcher.gyp:chrome_frame_helper_dll', | 863 'chrome_frame_launcher.gyp:chrome_frame_helper_dll', |
815 '../chrome/chrome.gyp:chrome', | 864 '../chrome/chrome.gyp:chrome', |
816 '../chrome/chrome.gyp:chrome_dll', | 865 '../chrome/chrome.gyp:chrome_dll', |
817 '../chrome/chrome.gyp:chrome_version_header', | 866 '../chrome/chrome.gyp:chrome_version_header', |
818 '../chrome/chrome.gyp:common', | 867 '../chrome/chrome.gyp:common', |
819 '../chrome/chrome.gyp:utility', | 868 '../chrome/chrome.gyp:utility', |
820 ], | 869 ], |
821 'sources': [ | 870 'sources': [ |
822 'chrome_frame_npapi.rgs', | 871 'chrome_frame_npapi.rgs', |
823 'chrome_frame_npapi_entrypoints.cc', | 872 'chrome_frame_npapi_entrypoints.cc', |
824 'chrome_frame_npapi_entrypoints.h', | 873 'chrome_frame_npapi_entrypoints.h', |
825 'chrome_frame_reporting.cc', | 874 'chrome_frame_reporting.cc', |
826 'chrome_frame_reporting.h', | 875 'chrome_frame_reporting.h', |
827 'chrome_tab.cc', | 876 'chrome_tab.cc', |
828 'chrome_tab.def', | 877 'chrome_tab.def', |
829 'chrome_tab.h', | 878 'chrome_tab.h', |
830 'chrome_tab.idl', | |
831 # FIXME(slightlyoff): For chrome_tab.tlb. Giant hack until we can | 879 # FIXME(slightlyoff): For chrome_tab.tlb. Giant hack until we can |
832 # figure out something more gyp-ish. | 880 # figure out something more gyp-ish. |
833 'resources/tlb_resource.rc', | 881 'resources/tlb_resource.rc', |
834 'chrome_tab.rgs', | 882 'chrome_tab.rgs', |
835 'chrome_tab_version.rc', | 883 'chrome_tab_version.rc', |
836 'renderer_glue.cc', | 884 'renderer_glue.cc', |
837 'resource.h', | 885 'resource.h', |
838 ], | 886 ], |
839 'include_dirs': [ | 887 'include_dirs': [ |
840 # To allow including "chrome_tab.h" | |
841 '<(INTERMEDIATE_DIR)', | |
842 '<(INTERMEDIATE_DIR)/../npchrome_frame', | 888 '<(INTERMEDIATE_DIR)/../npchrome_frame', |
843 ], | 889 ], |
844 'conditions': [ | 890 'conditions': [ |
845 ['OS=="win"', { | 891 ['OS=="win"', { |
846 # NOTE(slightlyoff): | 892 # NOTE(slightlyoff): |
847 # this is a fix for the include dirs length limit on the resource | 893 # this is a fix for the include dirs length limit on the resource |
848 # compiler, tickled by the xul_include_dirs variable | 894 # compiler, tickled by the xul_include_dirs variable |
849 'resource_include_dirs': [ | 895 'resource_include_dirs': [ |
850 '<(INTERMEDIATE_DIR)' | 896 '<(INTERMEDIATE_DIR)' |
851 ], | 897 ], |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
928 'suppress_wildcard': 1, | 974 'suppress_wildcard': 1, |
929 'type': 'none', | 975 'type': 'none', |
930 'dependencies': [ | 976 'dependencies': [ |
931 # Some tests are disabled because they depend on browser.lib which | 977 # Some tests are disabled because they depend on browser.lib which |
932 # has some trouble to link with instrumentation. Until this is | 978 # has some trouble to link with instrumentation. Until this is |
933 # fixed on the Chrome side we won't get complete coverage from | 979 # fixed on the Chrome side we won't get complete coverage from |
934 # our tests but we at least get the process rolling... | 980 # our tests but we at least get the process rolling... |
935 # TODO(mad): FIX THIS! | 981 # TODO(mad): FIX THIS! |
936 #'chrome_frame_net_tests', | 982 #'chrome_frame_net_tests', |
937 #'chrome_frame_reliability_tests', | 983 #'chrome_frame_reliability_tests', |
938 | 984 |
939 # Other tests depend on Chrome bins being available when they run. | 985 # Other tests depend on Chrome bins being available when they run. |
940 # Those should be re-enabled as soon as we setup the build slave to | 986 # Those should be re-enabled as soon as we setup the build slave to |
941 # also build (or download an archive of) Chrome, even it it isn't | 987 # also build (or download an archive of) Chrome, even it it isn't |
942 # instrumented itself. | 988 # instrumented itself. |
943 # TODO(mad): FIX THIS! | 989 # TODO(mad): FIX THIS! |
944 #'chrome_frame_perftests', | 990 #'chrome_frame_perftests', |
945 #'chrome_frame_tests', | 991 #'chrome_frame_tests', |
946 | 992 |
947 'chrome_frame_unittests', | 993 'chrome_frame_unittests', |
948 ], # 'dependencies' | 994 ], # 'dependencies' |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1021 ], # 'conditions' | 1067 ], # 'conditions' |
1022 } | 1068 } |
1023 | 1069 |
1024 # vim: shiftwidth=2:et:ai:tabstop=2 | 1070 # vim: shiftwidth=2:et:ai:tabstop=2 |
1025 | 1071 |
1026 # Local Variables: | 1072 # Local Variables: |
1027 # tab-width:2 | 1073 # tab-width:2 |
1028 # indent-tabs-mode:nil | 1074 # indent-tabs-mode:nil |
1029 # End: | 1075 # End: |
1030 # vim: set expandtab tabstop=2 shiftwidth=2: | 1076 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |