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 22 matching lines...) Expand all Loading... |
33 { | 33 { |
34 'target_name': 'chrome_elf', | 34 'target_name': 'chrome_elf', |
35 'type': 'shared_library', | 35 'type': 'shared_library', |
36 'include_dirs': [ | 36 'include_dirs': [ |
37 '..', | 37 '..', |
38 ], | 38 ], |
39 'sources': [ | 39 'sources': [ |
40 'chrome_elf.def', | 40 'chrome_elf.def', |
41 'chrome_elf_main.cc', | 41 'chrome_elf_main.cc', |
42 'chrome_elf_main.h', | 42 'chrome_elf_main.h', |
| 43 '../chrome/app/chrome_crash_reporter_client_win.cc', |
| 44 '../chrome/app/chrome_crash_reporter_client_win.h', |
43 '<(SHARED_INTERMEDIATE_DIR)/chrome_elf/chrome_elf_version.rc', | 45 '<(SHARED_INTERMEDIATE_DIR)/chrome_elf/chrome_elf_version.rc', |
44 ], | 46 ], |
45 'dependencies': [ | 47 'dependencies': [ |
46 '../chrome/chrome.gyp:install_static_util', | 48 '../chrome/chrome.gyp:install_static_util', |
47 'blacklist', | 49 'blacklist', |
48 'chrome_elf_crash', | |
49 'chrome_elf_hook_util', | 50 'chrome_elf_hook_util', |
50 'chrome_elf_resources', | 51 'chrome_elf_resources', |
51 'chrome_elf_security', | 52 'chrome_elf_security', |
52 'nt_registry/nt_registry.gyp:chrome_elf_nt_registry', | 53 'nt_registry/nt_registry.gyp:chrome_elf_nt_registry', |
| 54 '../chrome/chrome.gyp:install_static_util', |
| 55 '../components/components.gyp:crash_component', |
| 56 '../components/components.gyp:crash_core_common', |
53 ], | 57 ], |
54 'msvs_settings': { | 58 'msvs_settings': { |
55 'VCLinkerTool': { | 59 'VCLinkerTool': { |
56 'conditions': [ | 60 'conditions': [ |
57 ['target_arch=="ia32"', { | 61 ['target_arch=="ia32"', { |
58 # Don't set an x64 base address (to avoid breaking HE-ASLR). | 62 # Don't set an x64 base address (to avoid breaking HE-ASLR). |
59 'BaseAddress': '0x01c20000', | 63 'BaseAddress': '0x01c20000', |
60 }], | 64 }], |
61 ], | 65 ], |
62 # Set /SUBSYSTEM:WINDOWS. | 66 # Set /SUBSYSTEM:WINDOWS. |
(...skipping 15 matching lines...) Expand all Loading... |
78 'type': 'static_library', | 82 'type': 'static_library', |
79 'include_dirs': [ | 83 'include_dirs': [ |
80 '..', | 84 '..', |
81 ], | 85 ], |
82 'sources': [ | 86 'sources': [ |
83 'chrome_elf_constants.cc', | 87 'chrome_elf_constants.cc', |
84 'chrome_elf_constants.h', | 88 'chrome_elf_constants.h', |
85 ], | 89 ], |
86 }, | 90 }, |
87 { | 91 { |
88 'target_name': 'chrome_elf_crash', | |
89 'type': 'static_library', | |
90 'include_dirs': [ | |
91 '..', | |
92 ], | |
93 'sources': [ | |
94 '../chrome/app/chrome_crash_reporter_client_win.cc', | |
95 '../chrome/app/chrome_crash_reporter_client_win.h', | |
96 '../chrome/common/chrome_result_codes.h', | |
97 'crash/crash_helper.cc', | |
98 'crash/crash_helper.h', | |
99 ], | |
100 'dependencies': [ | |
101 '../base/base.gyp:base', # This needs to go. | |
102 '../base/base.gyp:base_static', # pe_image | |
103 '../chrome/chrome.gyp:install_static_util', | |
104 '../components/components.gyp:crash_component', | |
105 '../components/components.gyp:crash_core_common', #crash_keys | |
106 'chrome_elf_hook_util', | |
107 ], | |
108 }, | |
109 { | |
110 'target_name': 'chrome_elf_hook_util', | 92 'target_name': 'chrome_elf_hook_util', |
111 'type': 'static_library', | 93 'type': 'static_library', |
112 'include_dirs': [ | 94 'include_dirs': [ |
113 '..', | 95 '..', |
114 ], | 96 ], |
115 'sources': [ | 97 'sources': [ |
116 '../base/macros.h', | 98 'hook_util/thunk_getter.cc', |
117 'hook_util/hook_util.cc', | 99 'hook_util/thunk_getter.h', |
118 'hook_util/hook_util.h', | |
119 ], | |
120 'dependencies': [ | |
121 '../base/base.gyp:base_static', # pe_image | |
122 '../sandbox/sandbox.gyp:sandbox', | |
123 ], | 100 ], |
124 }, | 101 }, |
125 { | 102 { |
126 'target_name': 'chrome_elf_security', | 103 'target_name': 'chrome_elf_security', |
127 'type': 'static_library', | 104 'type': 'static_library', |
128 'include_dirs': [ | 105 'include_dirs': [ |
129 '..', | 106 '..', |
130 ], | 107 ], |
131 'sources': [ | 108 'sources': [ |
132 'chrome_elf_security.cc', | 109 'chrome_elf_security.cc', |
(...skipping 26 matching lines...) Expand all Loading... |
159 '../base/base.gyp:run_all_unittests', | 136 '../base/base.gyp:run_all_unittests', |
160 '../base/base.gyp:test_support_base', | 137 '../base/base.gyp:test_support_base', |
161 '../chrome/chrome.gyp:install_static_util', | 138 '../chrome/chrome.gyp:install_static_util', |
162 '../sandbox/sandbox.gyp:sandbox', | 139 '../sandbox/sandbox.gyp:sandbox', |
163 '../testing/gtest.gyp:gtest', | 140 '../testing/gtest.gyp:gtest', |
164 'blacklist', | 141 'blacklist', |
165 'blacklist_test_dll_1', | 142 'blacklist_test_dll_1', |
166 'blacklist_test_dll_2', | 143 'blacklist_test_dll_2', |
167 'blacklist_test_dll_3', | 144 'blacklist_test_dll_3', |
168 'blacklist_test_main_dll', | 145 'blacklist_test_main_dll', |
169 'chrome_elf_crash', | |
170 'chrome_elf_hook_util', | 146 'chrome_elf_hook_util', |
171 'chrome_elf_security', | 147 'chrome_elf_security', |
172 'nt_registry/nt_registry.gyp:chrome_elf_nt_registry', | 148 'nt_registry/nt_registry.gyp:chrome_elf_nt_registry', |
173 ], | 149 ], |
174 'msvs_settings': { | 150 'msvs_settings': { |
175 'VCLinkerTool': { | 151 'VCLinkerTool': { |
176 'DelayLoadDLLs': [ | 152 'DelayLoadDLLs': [ |
177 'dbghelp.dll', | 153 'dbghelp.dll', |
178 'ole32.dll', | 154 'ole32.dll', |
179 'psapi.dll', | 155 'psapi.dll', |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 'dependencies': [ | 190 'dependencies': [ |
215 'chrome_elf_unittests', | 191 'chrome_elf_unittests', |
216 ], | 192 ], |
217 'includes': [ '../build/isolate.gypi' ], | 193 'includes': [ '../build/isolate.gypi' ], |
218 'sources': [ 'chrome_elf_unittests.isolate' ], | 194 'sources': [ 'chrome_elf_unittests.isolate' ], |
219 }, | 195 }, |
220 ], | 196 ], |
221 }], | 197 }], |
222 ], | 198 ], |
223 } | 199 } |
OLD | NEW |