diff options
author | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-27 21:29:36 +0000 |
---|---|---|
committer | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-27 21:29:36 +0000 |
commit | 4cfa7b62ee01fcb4c2b17b6b68a1c98b64dfe480 (patch) | |
tree | 5c5123473629c462e928e32a6c4cacf3553ef21e | |
parent | 280671f2f21d70e8ee725c8a84c91a25a1775da3 (diff) | |
download | chromium_src-4cfa7b62ee01fcb4c2b17b6b68a1c98b64dfe480.zip chromium_src-4cfa7b62ee01fcb4c2b17b6b68a1c98b64dfe480.tar.gz chromium_src-4cfa7b62ee01fcb4c2b17b6b68a1c98b64dfe480.tar.bz2 |
Add .dll (and a .exe) files to the gyp build:
* activex_test_control.dll
* browser_tests.dll
* browser_tests.exe
* memory_watcher.dll
* rlz.dll
* security_tests.dll
* test_chrome_plugin.dll
* themes/default.dll
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/113915
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17023 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | build/all.gyp | 4 | ||||
-rw-r--r-- | chrome/chrome.gyp | 168 | ||||
-rw-r--r-- | rlz/rlz.gyp | 29 | ||||
-rw-r--r-- | tools/memory_watcher/memory_watcher.gyp | 41 |
4 files changed, 239 insertions, 3 deletions
diff --git a/build/all.gyp b/build/all.gyp index e3544f9..f636583 100644 --- a/build/all.gyp +++ b/build/all.gyp @@ -63,12 +63,14 @@ 'dependencies': [ '../breakpad/breakpad.gyp:*', '../courgette/courgette.gyp:*', + '../gears/gears.gyp:*', + '../rlz/rlz.gyp:*', '../sandbox/sandbox.gyp:*', '../third_party/bsdiff/bsdiff.gyp:*', '../third_party/bspatch/bspatch.gyp:*', + '../tools/memory_watcher/memory_watcher.gyp:*', '../webkit/activex_shim/activex_shim.gyp:*', '../webkit/activex_shim_dll/activex_shim_dll.gyp:*', - '../gears/gears.gyp:*', ], }, { 'dependencies': [ diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index 5ef7988..7a63dd3 100644 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -3450,11 +3450,14 @@ '../build/temp_gyp/googleurl.gyp:*', - '../sandbox/sandbox.gyp:*', + '../breakpad/breakpad.gyp:*', '../courgette/courgette.gyp:*', + '../gears/gears.gyp:*', + '../rlz/rlz.gyp:*', + '../sandbox/sandbox.gyp:*', + '../tools/memory_watcher/memory_watcher.gyp:*', '../webkit/activex_shim/activex_shim.gyp:*', '../webkit/activex_shim_dll/activex_shim_dll.gyp:*', - '../breakpad/breakpad.gyp:*', ], }, { @@ -3563,6 +3566,32 @@ }, }, { + 'target_name': 'activex_test_control', + 'type': 'shared_library', + 'include_dirs': [ + '..', + '<(INTERMEDIATE_DIR)', + ], + 'link_settings': { + 'libraries': [ + '-lcomsuppw.lib', + ], + }, + 'sources': [ + 'test/activex_test_control/activex_test_control.cc', + 'test/activex_test_control/activex_test_control.def', + 'test/activex_test_control/activex_test_control.idl', + 'test/activex_test_control/activex_test_control.rc', + 'test/activex_test_control/activex_test_control.rgs', + 'test/activex_test_control/chrome_test_control.bmp', + 'test/activex_test_control/chrome_test_control.cc', + 'test/activex_test_control/chrome_test_control.h', + 'test/activex_test_control/chrome_test_control.rgs', + 'test/activex_test_control/chrome_test_control_cp.h', + 'test/activex_test_control/resource.h', + ], + }, + { 'target_name': 'automated_ui_tests', 'type': 'executable', 'dependencies': [ @@ -3596,6 +3625,76 @@ }, }, { + 'target_name': 'browser_tests', + 'type': 'executable', + 'dependencies': [ + 'installer/installer.gyp:installer_util', + ], + 'include_dirs': [ + '..', + ], + 'sources': [ + 'test/browser/browser_tests_launcher.cc', + ], + }, + { + 'target_name': 'browser_tests_dll', + 'type': 'shared_library', + 'product_name': 'browser_tests', + 'dependencies': [ + 'browser', + 'chrome_resources', + 'renderer', + 'installer/installer.gyp:installer_util_strings', + '../base/base.gyp:base', + '../base/base.gyp:base_gfx', + '../net/net.gyp:net', + '../net/net.gyp:net_resources', + '../skia/skia.gyp:skia', + '../testing/gtest.gyp:gtest', + '../webkit/webkit.gyp:glue', + '../webkit/webkit.gyp:webkit_resources', + ], + 'include_dirs': [ + '..', + 'third_party/wtl/include', + ], + 'sources': [ + '../webkit/glue/resources/aliasb.cur', + '../webkit/glue/resources/cell.cur', + '../webkit/glue/resources/col_resize.cur', + '../webkit/glue/resources/copy.cur', + '../webkit/glue/resources/row_resize.cur', + '../webkit/glue/resources/vertical_text.cur', + '../webkit/glue/resources/zoom_in.cur', + '../webkit/glue/resources/zoom_out.cur', + 'app/chrome_dll.rc', + 'app/chrome_dll_resource.h', + 'app/chrome_dll_version.rc.version', + 'browser/child_process_security_policy_browser_test.cc', + 'browser/renderer_host/web_cache_manager_browser_test.cc', + 'browser/ssl/ssl_browser_tests.cc', + 'browser/task_manager_browsertest.cc', + 'browser/views/find_bar_win_browsertest.cc', + 'test/browser/run_all_unittests.cc', + 'test/data/resource.h', + 'test/data/resource.rc', + 'test/in_process_browser_test.cc', + 'test/in_process_browser_test.h', + 'test/ui_test_utils.cc', + 'test/ui_test_utils.h', + 'test/unit/chrome_test_suite.h', + 'tools/build/win/precompiled_wtl.cc', + 'tools/build/win/precompiled_wtl.h', + ], + 'configurations': { + 'Debug': { + 'msvs_precompiled_header': 'tools/build/win/precompiled_wtl.h', + 'msvs_precompiled_source': 'tools/build/win/precompiled_wtl.cc', + }, + }, + }, + { 'target_name': 'convert_dict', 'type': 'executable', 'dependencies': [ @@ -3787,6 +3886,21 @@ ], }, { + 'target_name': 'security_tests', + 'type': 'shared_library', + 'include_dirs': [ + '..', + ], + 'sources': [ + 'test/injection_test_dll.h', + 'test/security_tests/ipc_security_tests.cc', + 'test/security_tests/ipc_security_tests.h', + 'test/security_tests/security_tests.cc', + '../sandbox/tests/validation_tests/commands.cc', + '../sandbox/tests/validation_tests/commands.h', + ], + }, + { 'target_name': 'selenium_tests', 'type': 'executable', 'dependencies': [ @@ -3831,6 +3945,56 @@ ], }, { + 'target_name': 'test_chrome_plugin', + 'type': 'shared_library', + 'dependencies': [ + '../base/base.gyp:base', + '../build/temp_gyp/googleurl.gyp:googleurl', + ], + 'include_dirs': [ + '..', + ], + 'link_settings': { + 'libraries': [ + '-lwinmm.lib', + ], + }, + 'sources': [ + 'test/chrome_plugin/test_chrome_plugin.cc', + 'test/chrome_plugin/test_chrome_plugin.def', + 'test/chrome_plugin/test_chrome_plugin.h', + ], + }, + { + 'target_name': 'theme_dll', + 'type': 'shared_library', + 'product_name': 'default', + 'dependencies': [ + 'theme_resources', + '../app/app.gyp:app_resources', + ], + 'sources': [ + '<(grit_out_dir)/theme_resources.rc', + '<(SHARED_INTERMEDIATE_DIR)/app/app_resources.rc', + ], + 'msvs_settings': { + 'VCLinkerTool': { + 'BaseAddress': '0x3CE00000', + 'OutputFile': '<(PRODUCT_DIR)/themes/default.dll', + 'ResourceOnlyDLL': 'true', + }, + }, + 'configurations': { + 'Debug': { + 'msvs_settings': { + 'VCLinkerTool': { + 'LinkIncremental': '1', # /INCREMENTAL:NO + }, + }, + }, + }, + }, + { 'target_name': 'url_fetch_test', 'type': 'executable', 'dependencies': [ diff --git a/rlz/rlz.gyp b/rlz/rlz.gyp new file mode 100644 index 0000000..c38223d --- /dev/null +++ b/rlz/rlz.gyp @@ -0,0 +1,29 @@ +# Copyright (c) 2009 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'includes': [ + '../build/common.gypi', + ], + 'conditions': [ + [ 'OS == "win"', { + 'targets': [ + { + 'target_name': 'rlz', + 'type': 'none', + 'msvs_guid': 'BF4F447B-72B5-4059-BE1B-F94337B1F385', + 'copies': [ + { + 'destination': '<(PRODUCT_DIR)', + 'files': [ + 'binaries/rlz.dll', + 'binaries/rlz_dll.pdb', + ], + }, + ], + }, + ], + }], + ], +} diff --git a/tools/memory_watcher/memory_watcher.gyp b/tools/memory_watcher/memory_watcher.gyp new file mode 100644 index 0000000..045e650 --- /dev/null +++ b/tools/memory_watcher/memory_watcher.gyp @@ -0,0 +1,41 @@ +# Copyright (c) 2009 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'includes': [
+ '../../build/common.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'memory_watcher',
+ 'type': 'shared_library',
+ 'msvs_guid': '3BD81303-4E14-4559-AA69-B30C3BAB08DD',
+ 'dependencies': [
+ '../../base/base.gyp:base',
+ ],
+ 'defines': [
+ 'BUILD_MEMORY_WATCHER',
+ ],
+ 'include_dirs': [
+ '../..',
+ ],
+ 'sources': [
+ 'call_stack.cc',
+ 'call_stack.h',
+ 'dllmain.cc',
+ 'hotkey.h',
+ 'ia32_modrm_map.cc',
+ 'ia32_opcode_map.cc',
+ 'memory_hook.cc',
+ 'memory_hook.h',
+ 'memory_watcher.cc',
+ 'memory_watcher.h',
+ 'mini_disassembler.cc',
+ 'preamble_patcher.cc',
+ 'preamble_patcher.h',
+ 'preamble_patcher_with_stub.cc',
+ ],
+ },
+ ],
+}
|