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',
16 'target_name': 'chrome_elf_resources',
19 'output_dir': 'chrome_elf',
20 'branding_path': '../chrome/app/theme/<(branding_path_component)/BRANDING',
21 'template_input_path': '../chrome/app/chrome_version.rc.version',
27 '../chrome/version_resource_rules.gypi',
31 'target_name': 'chrome_elf',
32 'type': 'shared_library',
40 '<(SHARED_INTERMEDIATE_DIR)/chrome_elf/chrome_elf_version.rc',
44 'chrome_elf_breakpad',
46 'chrome_elf_resources',
51 ['target_arch=="ia32"', {
52 # Don't set an x64 base address (to avoid breaking HE-ASLR).
53 'BaseAddress': '0x01c20000',
56 # Set /SUBSYSTEM:WINDOWS.
58 'AdditionalDependencies!': [
61 'IgnoreDefaultLibraryNames': [
68 'target_name': 'chrome_elf_unittests_exe',
69 'product_name': 'chrome_elf_unittests',
72 'blacklist/test/blacklist_test.cc',
73 'chrome_elf_util_unittest.cc',
74 'create_file/chrome_create_file_unittest.cc',
75 'elf_imports_unittest.cc',
76 'ntdll_cache_unittest.cc',
80 '<(SHARED_INTERMEDIATE_DIR)',
84 '../base/base.gyp:base',
85 '../base/base.gyp:run_all_unittests',
86 '../base/base.gyp:test_support_base',
87 '../sandbox/sandbox.gyp:sandbox',
88 '../testing/gtest.gyp:gtest',
90 'blacklist_test_dll_1',
91 'blacklist_test_dll_2',
92 'blacklist_test_dll_3',
93 'blacklist_test_main_dll',
97 # A dummy target to ensure that chrome_elf.dll and chrome.exe gets built
98 # when building chrome_elf_unittests.exe without introducing an
99 # explicit runtime dependency.
100 'target_name': 'chrome_elf_unittests',
103 '../chrome/chrome.gyp:chrome',
105 'chrome_elf_unittests_exe',
109 'target_name': 'chrome_elf_lib',
110 'type': 'static_library',
115 'create_file/chrome_create_file.cc',
116 'create_file/chrome_create_file.h',
122 '../base/base.gyp:base_static',
123 '../sandbox/sandbox.gyp:sandbox',
127 'target_name': 'chrome_elf_constants',
128 'type': 'static_library',
133 'chrome_elf_constants.cc',
134 'chrome_elf_constants.h',
138 'target_name': 'chrome_elf_common',
139 'type': 'static_library',
141 'chrome_elf_constants',
147 'chrome_elf_types.h',
148 'chrome_elf_util.cc',
155 'target_name': 'chrome_elf_breakpad',
156 'type': 'static_library',
159 '<(SHARED_INTERMEDIATE_DIR)',
167 '../breakpad/breakpad.gyp:breakpad_handler',
168 '../chrome/chrome.gyp:chrome_version_header',
173 ['component=="shared_library"', {
176 'target_name': 'chrome_redirects',
177 'type': 'shared_library',
182 'chrome_redirects.def',
183 'chrome_redirects_main.cc',
191 ['target_arch=="ia32"', {
192 # Don't set an x64 base address (to avoid breaking HE-ASLR).
193 'BaseAddress': '0x01c20000',
196 # Set /SUBSYSTEM:WINDOWS.