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 25 matching lines...) Expand all Loading... |
36 'sources': [ | 36 'sources': [ |
37 'chrome_elf.def', | 37 'chrome_elf.def', |
38 'chrome_elf_main.cc', | 38 'chrome_elf_main.cc', |
39 'chrome_elf_main.h', | 39 'chrome_elf_main.h', |
40 '<(SHARED_INTERMEDIATE_DIR)/chrome_elf/chrome_elf_version.rc', | 40 '<(SHARED_INTERMEDIATE_DIR)/chrome_elf/chrome_elf_version.rc', |
41 ], | 41 ], |
42 'dependencies': [ | 42 'dependencies': [ |
43 'blacklist', | 43 'blacklist', |
44 'chrome_elf_breakpad', | 44 'chrome_elf_breakpad', |
45 'chrome_elf_resources', | 45 'chrome_elf_resources', |
| 46 '../chrome/chrome.gyp:install_static_util', |
46 ], | 47 ], |
47 'msvs_settings': { | 48 'msvs_settings': { |
48 'VCLinkerTool': { | 49 'VCLinkerTool': { |
49 'conditions': [ | 50 'conditions': [ |
50 ['target_arch=="ia32"', { | 51 ['target_arch=="ia32"', { |
51 # Don't set an x64 base address (to avoid breaking HE-ASLR). | 52 # Don't set an x64 base address (to avoid breaking HE-ASLR). |
52 'BaseAddress': '0x01c20000', | 53 'BaseAddress': '0x01c20000', |
53 }], | 54 }], |
54 ], | 55 ], |
55 # Set /SUBSYSTEM:WINDOWS. | 56 # Set /SUBSYSTEM:WINDOWS. |
(...skipping 17 matching lines...) Expand all Loading... |
73 'elf_imports_unittest.cc', | 74 'elf_imports_unittest.cc', |
74 ], | 75 ], |
75 'include_dirs': [ | 76 'include_dirs': [ |
76 '..', | 77 '..', |
77 '<(SHARED_INTERMEDIATE_DIR)', | 78 '<(SHARED_INTERMEDIATE_DIR)', |
78 ], | 79 ], |
79 'dependencies': [ | 80 'dependencies': [ |
80 '../base/base.gyp:base', | 81 '../base/base.gyp:base', |
81 '../base/base.gyp:run_all_unittests', | 82 '../base/base.gyp:run_all_unittests', |
82 '../base/base.gyp:test_support_base', | 83 '../base/base.gyp:test_support_base', |
| 84 '../chrome/chrome.gyp:install_static_util', |
83 '../sandbox/sandbox.gyp:sandbox', | 85 '../sandbox/sandbox.gyp:sandbox', |
84 '../testing/gtest.gyp:gtest', | 86 '../testing/gtest.gyp:gtest', |
85 'blacklist', | 87 'blacklist', |
86 'blacklist_test_dll_1', | 88 'blacklist_test_dll_1', |
87 'blacklist_test_dll_2', | 89 'blacklist_test_dll_2', |
88 'blacklist_test_dll_3', | 90 'blacklist_test_dll_3', |
89 'blacklist_test_main_dll', | 91 'blacklist_test_main_dll', |
90 ], | 92 ], |
91 }, | 93 }, |
92 { | 94 { |
93 # A dummy target to ensure that chrome_elf.dll and chrome.exe gets built | 95 # A dummy target to ensure that chrome_elf.dll and chrome.exe gets built |
94 # when building chrome_elf_unittests.exe without introducing an | 96 # when building chrome_elf_unittests.exe without introducing an |
95 # explicit runtime dependency. | 97 # explicit runtime dependency. |
96 'target_name': 'chrome_elf_unittests', | 98 'target_name': 'chrome_elf_unittests', |
97 'type': 'none', | 99 'type': 'none', |
98 'dependencies': [ | 100 'dependencies': [ |
99 '../chrome/chrome.gyp:chrome', | 101 '../chrome/chrome.gyp:chrome', |
| 102 '../chrome/chrome.gyp:install_static_util', |
100 'chrome_elf', | 103 'chrome_elf', |
101 'chrome_elf_unittests_exe', | 104 'chrome_elf_unittests_exe', |
102 ], | 105 ], |
103 }, | 106 }, |
104 { | 107 { |
105 'target_name': 'chrome_elf_constants', | 108 'target_name': 'chrome_elf_constants', |
106 'type': 'static_library', | 109 'type': 'static_library', |
107 'include_dirs': [ | 110 'include_dirs': [ |
108 '..', | 111 '..', |
109 ], | 112 ], |
110 'sources': [ | 113 'sources': [ |
111 'chrome_elf_constants.cc', | 114 'chrome_elf_constants.cc', |
112 'chrome_elf_constants.h', | 115 'chrome_elf_constants.h', |
113 ], | 116 ], |
114 }, | 117 }, |
115 { | 118 { |
116 'target_name': 'chrome_elf_common', | 119 'target_name': 'chrome_elf_common', |
117 'type': 'static_library', | 120 'type': 'static_library', |
118 'dependencies': [ | 121 'dependencies': [ |
119 'chrome_elf_constants', | 122 'chrome_elf_constants', |
120 ], | 123 ], |
121 'include_dirs': [ | 124 'include_dirs': [ |
122 '..', | 125 '..', |
123 ], | 126 ], |
124 'sources': [ | 127 'sources': [ |
125 'chrome_elf_util.cc', | |
126 'chrome_elf_util.h', | |
127 'thunk_getter.cc', | 128 'thunk_getter.cc', |
128 'thunk_getter.h', | 129 'thunk_getter.h', |
129 ], | 130 ], |
130 }, | 131 }, |
131 { | 132 { |
132 'target_name': 'chrome_elf_breakpad', | 133 'target_name': 'chrome_elf_breakpad', |
133 'type': 'static_library', | 134 'type': 'static_library', |
134 'include_dirs': [ | 135 'include_dirs': [ |
135 '..', | 136 '..', |
136 '<(SHARED_INTERMEDIATE_DIR)', | 137 '<(SHARED_INTERMEDIATE_DIR)', |
137 ], | 138 ], |
138 'sources': [ | 139 'sources': [ |
139 'breakpad.cc', | 140 'breakpad.cc', |
140 'breakpad.h', | 141 'breakpad.h', |
141 ], | 142 ], |
142 'dependencies': [ | 143 'dependencies': [ |
143 'chrome_elf_common', | 144 'chrome_elf_common', |
144 '../breakpad/breakpad.gyp:breakpad_handler', | 145 '../breakpad/breakpad.gyp:breakpad_handler', |
145 '../chrome/common_constants.gyp:version_header', | 146 '../chrome/common_constants.gyp:version_header', |
| 147 '../chrome/chrome.gyp:install_static_util', |
146 ], | 148 ], |
147 }, | 149 }, |
148 ], # targets | 150 ], # targets |
149 'conditions': [ | 151 'conditions': [ |
150 ['test_isolation_mode != "noop"', { | 152 ['test_isolation_mode != "noop"', { |
151 'targets': [ | 153 'targets': [ |
152 { | 154 { |
153 'target_name': 'chrome_elf_unittests_run', | 155 'target_name': 'chrome_elf_unittests_run', |
154 'type': 'none', | 156 'type': 'none', |
155 'dependencies': [ | 157 'dependencies': [ |
156 'chrome_elf_unittests', | 158 'chrome_elf_unittests', |
157 ], | 159 ], |
158 'includes': [ '../build/isolate.gypi' ], | 160 'includes': [ '../build/isolate.gypi' ], |
159 'sources': [ 'chrome_elf_unittests.isolate' ], | 161 'sources': [ 'chrome_elf_unittests.isolate' ], |
160 }, | 162 }, |
161 ], | 163 ], |
162 }], | 164 }], |
163 ], | 165 ], |
164 } | 166 } |
OLD | NEW |