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/win_precompile.gypi',
10 '../chrome/version.gypi',
15 'target_name': 'chrome_elf',
16 'type': 'shared_library',
31 'BaseAddress': '0x01c20000',
32 # Set /SUBSYSTEM:WINDOWS.
34 'AdditionalDependencies!': [
37 'IgnoreDefaultLibraryNames': [
44 'target_name': 'chrome_elf_unittests_exe',
45 'product_name': 'chrome_elf_unittests',
48 'blacklist/test/blacklist_test.cc',
49 'create_file/chrome_create_file_unittest.cc',
50 'elf_imports_unittest.cc',
51 'ntdll_cache_unittest.cc',
55 '<(SHARED_INTERMEDIATE_DIR)',
59 '../base/base.gyp:base',
60 '../base/base.gyp:run_all_unittests',
61 '../base/base.gyp:test_support_base',
62 '../sandbox/sandbox.gyp:sandbox',
63 '../testing/gtest.gyp:gtest',
65 'blacklist_test_dll_1',
66 'blacklist_test_dll_2',
67 'blacklist_test_dll_3',
68 'blacklist_test_main_dll',
72 # A dummy target to ensure that chrome_elf.dll and chrome.exe gets build
73 # when building chrome_elf_unittests.exe without introducing an
74 # explicit runtime dependency.
75 'target_name': 'chrome_elf_unittests',
78 '../chrome/chrome.gyp:chrome',
80 'chrome_elf_unittests_exe',
84 'target_name': 'chrome_elf_lib',
85 'type': 'static_library',
90 'chrome_elf_constants.cc',
91 'chrome_elf_constants.h',
93 'create_file/chrome_create_file.cc',
94 'create_file/chrome_create_file.h',
101 ['component=="shared_library"', {
104 'target_name': 'chrome_redirects',
105 'type': 'shared_library',
110 'chrome_redirects.def',
117 'BaseAddress': '0x01c10000',
118 # Set /SUBSYSTEM:WINDOWS.