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