OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'variables': { | 5 'variables': { |
6 'chromium_code': 1, | 6 'chromium_code': 1, |
7 }, | 7 }, |
8 'includes': [ | 8 'includes': [ |
9 '../build/util/version.gypi', | 9 '../build/util/version.gypi', |
10 '../build/win_precompile.gypi', | 10 '../build/win_precompile.gypi', |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 }, | 69 }, |
70 }, | 70 }, |
71 { | 71 { |
72 'target_name': 'chrome_elf_unittests_exe', | 72 'target_name': 'chrome_elf_unittests_exe', |
73 'product_name': 'chrome_elf_unittests', | 73 'product_name': 'chrome_elf_unittests', |
74 'type': 'executable', | 74 'type': 'executable', |
75 'sources': [ | 75 'sources': [ |
76 'blacklist/test/blacklist_test.cc', | 76 'blacklist/test/blacklist_test.cc', |
77 'chrome_elf_util_unittest.cc', | 77 'chrome_elf_util_unittest.cc', |
78 'elf_imports_unittest.cc', | 78 'elf_imports_unittest.cc', |
| 79 'run_all_unittests.cc', |
79 ], | 80 ], |
80 'include_dirs': [ | 81 'include_dirs': [ |
81 '..', | 82 '..', |
82 '<(SHARED_INTERMEDIATE_DIR)', | 83 '<(SHARED_INTERMEDIATE_DIR)', |
83 ], | 84 ], |
84 'dependencies': [ | 85 'dependencies': [ |
85 '../base/base.gyp:base', | 86 '../base/base.gyp:base', |
86 '../base/base.gyp:run_all_unittests', | 87 '../base/base.gyp:run_all_unittests', |
87 '../base/base.gyp:test_support_base', | 88 '../base/base.gyp:test_support_base', |
88 '../chrome/chrome.gyp:install_static_util', | 89 '../chrome/chrome.gyp:install_static_util', |
89 '../sandbox/sandbox.gyp:sandbox', | 90 '../sandbox/sandbox.gyp:sandbox', |
90 '../testing/gtest.gyp:gtest', | 91 '../testing/gtest.gyp:gtest', |
91 'blacklist', | 92 'blacklist', |
92 'blacklist_test_dll_1', | 93 'blacklist_test_dll_1', |
93 'blacklist_test_dll_2', | 94 'blacklist_test_dll_2', |
94 'blacklist_test_dll_3', | 95 'blacklist_test_dll_3', |
95 'blacklist_test_main_dll', | 96 'blacklist_test_main_dll', |
96 ], | 97 ], |
| 98 'msvs_settings': { |
| 99 'VCLinkerTool': { |
| 100 'AdditionalDependencies!': [ |
| 101 'user32.lib', |
| 102 ], |
| 103 'IgnoreDefaultLibraryNames': [ |
| 104 'user32.lib', |
| 105 ], |
| 106 'DelayLoadDLLs': [ |
| 107 'dbghelp.dll', |
| 108 'ole32.dll', |
| 109 'psapi.dll', |
| 110 'rpcrt4.dll', |
| 111 'shell32.dll', |
| 112 'shlwapi.dll', |
| 113 'user32.dll', |
| 114 'winhttp.dll', |
| 115 'winmm.dll', |
| 116 'ws2_32.dll', |
| 117 ], |
| 118 }, |
| 119 }, |
97 }, | 120 }, |
98 { | 121 { |
99 # A dummy target to ensure that chrome_elf.dll and chrome.exe gets built | 122 # A dummy target to ensure that chrome_elf.dll and chrome.exe gets built |
100 # when building chrome_elf_unittests.exe without introducing an | 123 # when building chrome_elf_unittests.exe without introducing an |
101 # explicit runtime dependency. | 124 # explicit runtime dependency. |
102 'target_name': 'chrome_elf_unittests', | 125 'target_name': 'chrome_elf_unittests', |
103 'type': 'none', | 126 'type': 'none', |
104 'dependencies': [ | 127 'dependencies': [ |
105 '../chrome/chrome.gyp:chrome', | 128 '../chrome/chrome.gyp:chrome', |
106 '../chrome/chrome.gyp:install_static_util', | 129 '../chrome/chrome.gyp:install_static_util', |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 'dependencies': [ | 184 'dependencies': [ |
162 'chrome_elf_unittests', | 185 'chrome_elf_unittests', |
163 ], | 186 ], |
164 'includes': [ '../build/isolate.gypi' ], | 187 'includes': [ '../build/isolate.gypi' ], |
165 'sources': [ 'chrome_elf_unittests.isolate' ], | 188 'sources': [ 'chrome_elf_unittests.isolate' ], |
166 }, | 189 }, |
167 ], | 190 ], |
168 }], | 191 }], |
169 ], | 192 ], |
170 } | 193 } |
OLD | NEW |