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',
17 'type': 'shared_library',
28 'chrome_elf_breakpad',
33 'BaseAddress': '0x01c20000',
34 # Set /SUBSYSTEM:WINDOWS.
36 'AdditionalDependencies!': [
39 'IgnoreDefaultLibraryNames': [
46 'target_name': 'chrome_elf_unittests_exe',
47 'product_name': 'chrome_elf_unittests',
50 'blacklist/test/blacklist_test.cc',
51 'chrome_elf_util_unittest.cc',
52 'create_file/chrome_create_file_unittest.cc',
53 'elf_imports_unittest.cc',
54 'ntdll_cache_unittest.cc',
58 '<(SHARED_INTERMEDIATE_DIR)',
62 '../base/base.gyp:base',
63 '../base/base.gyp:run_all_unittests',
64 '../base/base.gyp:test_support_base',
65 '../sandbox/sandbox.gyp:sandbox',
66 '../testing/gtest.gyp:gtest',
68 'blacklist_test_dll_1',
69 'blacklist_test_dll_2',
70 'blacklist_test_dll_3',
71 'blacklist_test_main_dll',
75 # A dummy target to ensure that chrome_elf.dll and chrome.exe gets built
76 # when building chrome_elf_unittests.exe without introducing an
77 # explicit runtime dependency.
78 'target_name': 'chrome_elf_unittests',
81 '../chrome/chrome.gyp:chrome',
83 'chrome_elf_unittests_exe',
87 'target_name': 'chrome_elf_lib',
88 'type': 'static_library',
93 'create_file/chrome_create_file.cc',
94 'create_file/chrome_create_file.h',
103 'target_name': 'chrome_elf_constants',
104 'type': 'static_library',
109 'chrome_elf_constants.cc',
110 'chrome_elf_constants.h',
114 'target_name': 'chrome_elf_common',
115 'type': 'static_library',
117 'chrome_elf_constants',
123 'chrome_elf_types.h',
124 'chrome_elf_util.cc',
129 'target_name': 'chrome_elf_breakpad',
130 'type': 'static_library',
133 '<(SHARED_INTERMEDIATE_DIR)',
141 '../breakpad/breakpad.gyp:breakpad_handler',
142 '../chrome/chrome.gyp:chrome_version_header',
147 ['component=="shared_library"', {
150 'target_name': 'chrome_redirects',
151 'type': 'shared_library',
156 'chrome_redirects.def',
157 'chrome_redirects_main.cc',
164 'BaseAddress': '0x01c10000',
165 # Set /SUBSYSTEM:WINDOWS.