| 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/win_precompile.gypi', | 9 '../build/win_precompile.gypi', |
| 10 '../chrome/version.gypi', | 10 '../chrome/version.gypi', |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 '../base/base.gyp:run_all_unittests', | 60 '../base/base.gyp:run_all_unittests', |
| 61 '../base/base.gyp:test_support_base', | 61 '../base/base.gyp:test_support_base', |
| 62 '../sandbox/sandbox.gyp:sandbox', | 62 '../sandbox/sandbox.gyp:sandbox', |
| 63 '../testing/gtest.gyp:gtest', | 63 '../testing/gtest.gyp:gtest', |
| 64 'blacklist', | 64 'blacklist', |
| 65 'blacklist_test_dll_1', | 65 'blacklist_test_dll_1', |
| 66 'blacklist_test_dll_2', | 66 'blacklist_test_dll_2', |
| 67 'blacklist_test_dll_3', | 67 'blacklist_test_dll_3', |
| 68 'blacklist_test_main_dll', | 68 'blacklist_test_main_dll', |
| 69 ], | 69 ], |
| 70 'conditions': [ |
| 71 ['component=="shared_library"', { |
| 72 # In component builds, all targets depend on chrome_redirects by |
| 73 # default. Remove it here so we are able to test it. |
| 74 'dependencies!': [ |
| 75 '../chrome_elf/chrome_elf.gyp:chrome_redirects', |
| 76 ], |
| 77 }], |
| 78 ], |
| 70 }, | 79 }, |
| 71 { | 80 { |
| 72 # A dummy target to ensure that chrome_elf.dll and chrome.exe gets build | 81 # A dummy target to ensure that chrome_elf.dll and chrome.exe gets built |
| 73 # when building chrome_elf_unittests.exe without introducing an | 82 # when building chrome_elf_unittests.exe without introducing an |
| 74 # explicit runtime dependency. | 83 # explicit runtime dependency. |
| 75 'target_name': 'chrome_elf_unittests', | 84 'target_name': 'chrome_elf_unittests', |
| 76 'type': 'none', | 85 'type': 'none', |
| 77 'dependencies': [ | 86 'dependencies': [ |
| 78 '../chrome/chrome.gyp:chrome', | 87 '../chrome/chrome.gyp:chrome', |
| 79 'chrome_elf', | 88 'chrome_elf', |
| 80 'chrome_elf_unittests_exe', | 89 'chrome_elf_unittests_exe', |
| 81 ], | 90 ], |
| 82 }, | 91 }, |
| 83 { | 92 { |
| 84 'target_name': 'chrome_elf_lib', | 93 'target_name': 'chrome_elf_lib', |
| 85 'type': 'static_library', | 94 'type': 'static_library', |
| 86 'include_dirs': [ | 95 'include_dirs': [ |
| 87 '..', | 96 '..', |
| 88 ], | 97 ], |
| 89 'sources': [ | 98 'sources': [ |
| 90 'chrome_elf_constants.cc', | 99 'chrome_elf_constants.cc', |
| 91 'chrome_elf_constants.h', | 100 'chrome_elf_constants.h', |
| 92 'chrome_elf_types.h', | 101 'chrome_elf_types.h', |
| 93 'create_file/chrome_create_file.cc', | 102 'create_file/chrome_create_file.cc', |
| 94 'create_file/chrome_create_file.h', | 103 'create_file/chrome_create_file.h', |
| 95 'ntdll_cache.cc', | 104 'ntdll_cache.cc', |
| 96 'ntdll_cache.h', | 105 'ntdll_cache.h', |
| 97 ], | 106 ], |
| 107 'conditions': [ |
| 108 ['component=="shared_library"', { |
| 109 # In component builds, all targets depend on chrome_redirects by |
| 110 # default. Remove it here to avoid a circular dependency. |
| 111 'dependencies!': [ |
| 112 '../chrome_elf/chrome_elf.gyp:chrome_redirects', |
| 113 ], |
| 114 }], |
| 115 ], |
| 98 }, | 116 }, |
| 99 ], # targets | 117 ], # targets |
| 100 'conditions': [ | 118 'conditions': [ |
| 101 ['component=="shared_library"', { | 119 ['component=="shared_library"', { |
| 102 'targets': [ | 120 'targets': [ |
| 103 { | 121 { |
| 104 'target_name': 'chrome_redirects', | 122 'target_name': 'chrome_redirects', |
| 105 'type': 'shared_library', | 123 'type': 'shared_library', |
| 106 'include_dirs': [ | 124 'include_dirs': [ |
| 107 '..', | 125 '..', |
| 108 ], | 126 ], |
| 109 'sources': [ | 127 'sources': [ |
| 110 'chrome_redirects.def', | 128 'chrome_redirects.def', |
| 111 ], | 129 ], |
| 112 'dependencies': [ | 130 'dependencies': [ |
| 113 'chrome_elf_lib', | 131 'chrome_elf_lib', |
| 114 ], | 132 ], |
| 115 'msvs_settings': { | 133 'msvs_settings': { |
| 116 'VCLinkerTool': { | 134 'VCLinkerTool': { |
| 117 'BaseAddress': '0x01c10000', | 135 'BaseAddress': '0x01c10000', |
| 118 # Set /SUBSYSTEM:WINDOWS. | 136 # Set /SUBSYSTEM:WINDOWS. |
| 119 'SubSystem': '2', | 137 'SubSystem': '2', |
| 120 }, | 138 }, |
| 121 }, | 139 }, |
| 140 'conditions': [ |
| 141 ['component=="shared_library"', { |
| 142 # In component builds, all targets depend on chrome_redirects by |
| 143 # default. Remove it here to avoid a circular dependency. |
| 144 'dependencies!': [ |
| 145 '../chrome_elf/chrome_elf.gyp:chrome_redirects', |
| 146 ], |
| 147 }], |
| 148 ], |
| 122 }, | 149 }, |
| 123 ], | 150 ], |
| 124 }], | 151 }], |
| 125 ], | 152 ], |
| 126 } | 153 } |
| 127 | 154 |
| OLD | NEW |