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
3 # found in the LICENSE file.
9 '../build/util/version.gypi',
10 '../build/win_precompile.gypi',
15 'target_name': 'chrome_elf',
16 'type': 'shared_library',
27 'chrome_elf_breakpad',
32 'BaseAddress': '0x01c20000',
33 # Set /SUBSYSTEM:WINDOWS.
35 'AdditionalDependencies!': [
38 'IgnoreDefaultLibraryNames': [
44 ['component=="shared_library"', {
45 # In component builds, all targets depend on chrome_redirects by
46 # default. Remove it here to avoid a circular dependency.
48 '../chrome_elf/chrome_elf.gyp:chrome_redirects',
54 'target_name': 'chrome_elf_unittests_exe',
55 'product_name': 'chrome_elf_unittests',
58 'blacklist/test/blacklist_test.cc',
59 'chrome_elf_util_unittest.cc',
60 'create_file/chrome_create_file_unittest.cc',
61 'elf_imports_unittest.cc',
62 'ntdll_cache_unittest.cc',
66 '<(SHARED_INTERMEDIATE_DIR)',
70 '../base/base.gyp:base',
71 '../base/base.gyp:run_all_unittests',
72 '../base/base.gyp:test_support_base',
73 '../sandbox/sandbox.gyp:sandbox',
74 '../testing/gtest.gyp:gtest',
76 'blacklist_test_dll_1',
77 'blacklist_test_dll_2',
78 'blacklist_test_dll_3',
79 'blacklist_test_main_dll',
82 ['component=="shared_library"', {
83 # In component builds, all targets depend on chrome_redirects by
84 # default. Remove it here so we are able to test it.
86 '../chrome_elf/chrome_elf.gyp:chrome_redirects',
92 # A dummy target to ensure that chrome_elf.dll and chrome.exe gets built
93 # when building chrome_elf_unittests.exe without introducing an
94 # explicit runtime dependency.
95 'target_name': 'chrome_elf_unittests',
98 '../chrome/chrome.gyp:chrome',
100 'chrome_elf_unittests_exe',
104 'target_name': 'chrome_elf_lib',
105 'type': 'static_library',
110 'create_file/chrome_create_file.cc',
111 'create_file/chrome_create_file.h',
119 ['component=="shared_library"', {
120 # In component builds, all targets depend on chrome_redirects by
121 # default. Remove it here to avoid a circular dependency.
123 '../chrome_elf/chrome_elf.gyp:chrome_redirects',
129 'target_name': 'chrome_elf_constants',
130 'type': 'static_library',
135 'chrome_elf_constants.cc',
136 'chrome_elf_constants.h',
139 ['component=="shared_library"', {
140 # In component builds, all targets depend on chrome_redirects by
141 # default. Remove it here so we are able to test it.
143 '../chrome_elf/chrome_elf.gyp:chrome_redirects',
149 'target_name': 'chrome_elf_common',
150 'type': 'static_library',
152 'chrome_elf_constants',
158 'chrome_elf_types.h',
159 'chrome_elf_util.cc',
163 ['component=="shared_library"', {
164 # In component builds, all targets depend on chrome_redirects by
165 # default. Remove it here so we are able to test it.
167 '../chrome_elf/chrome_elf.gyp:chrome_redirects',
173 'target_name': 'chrome_elf_breakpad',
174 'type': 'static_library',
177 '<(SHARED_INTERMEDIATE_DIR)',
185 '../breakpad/breakpad.gyp:breakpad_handler',
186 '../chrome/chrome.gyp:chrome_version_header',
191 ['component=="shared_library"', {
194 'target_name': 'chrome_redirects',
195 'type': 'shared_library',
200 'chrome_redirects.def',
201 'chrome_redirects_main.cc',
208 'BaseAddress': '0x01c10000',
209 # Set /SUBSYSTEM:WINDOWS.
214 ['component=="shared_library"', {
215 # In component builds, all targets depend on chrome_redirects by
216 # default. Remove it here to avoid a circular dependency.
218 '../chrome_elf/chrome_elf.gyp:chrome_redirects',