| 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 11 matching lines...) Expand all Loading... |
| 22 'chrome_elf_main.cc', | 22 'chrome_elf_main.cc', |
| 23 'chrome_elf_main.h', | 23 'chrome_elf_main.h', |
| 24 ], | 24 ], |
| 25 'dependencies': [ | 25 'dependencies': [ |
| 26 'blacklist', | 26 'blacklist', |
| 27 'chrome_elf_lib', | 27 'chrome_elf_lib', |
| 28 ], | 28 ], |
| 29 'msvs_settings': { | 29 'msvs_settings': { |
| 30 'VCLinkerTool': { | 30 'VCLinkerTool': { |
| 31 'BaseAddress': '0x01c20000', | 31 'BaseAddress': '0x01c20000', |
| 32 # Set /SUBSYSTEM:WINDOWS for chrome_elf.dll (for consistency). | 32 # Set /SUBSYSTEM:WINDOWS. |
| 33 'SubSystem': '2', | 33 'SubSystem': '2', |
| 34 'AdditionalDependencies!': [ | 34 'AdditionalDependencies!': [ |
| 35 'user32.lib', | 35 'user32.lib', |
| 36 ], | 36 ], |
| 37 'IgnoreDefaultLibraryNames': [ | 37 'IgnoreDefaultLibraryNames': [ |
| 38 'user32.lib', | 38 'user32.lib', |
| 39 ], | 39 ], |
| 40 }, | 40 }, |
| 41 }, | 41 }, |
| 42 }, | 42 }, |
| 43 { | 43 { |
| 44 'target_name': 'chrome_elf_unittests_exe', | 44 'target_name': 'chrome_elf_unittests_exe', |
| 45 'product_name': 'chrome_elf_unittests', | 45 'product_name': 'chrome_elf_unittests', |
| 46 'type': 'executable', | 46 'type': 'executable', |
| 47 'sources': [ | 47 'sources': [ |
| 48 'blacklist/test/blacklist_test.cc', | 48 'blacklist/test/blacklist_test.cc', |
| 49 'create_file/chrome_create_file_unittest.cc', |
| 49 'elf_imports_unittest.cc', | 50 'elf_imports_unittest.cc', |
| 50 'ntdll_cache_unittest.cc', | 51 'ntdll_cache_unittest.cc', |
| 51 ], | 52 ], |
| 52 'include_dirs': [ | 53 'include_dirs': [ |
| 53 '..', | 54 '..', |
| 54 '<(SHARED_INTERMEDIATE_DIR)', | 55 '<(SHARED_INTERMEDIATE_DIR)', |
| 55 ], | 56 ], |
| 56 'dependencies': [ | 57 'dependencies': [ |
| 57 'chrome_elf_lib', | 58 'chrome_elf_lib', |
| 58 '../base/base.gyp:base', | 59 '../base/base.gyp:base', |
| (...skipping 20 matching lines...) Expand all Loading... |
| 79 'chrome_elf_unittests_exe', | 80 'chrome_elf_unittests_exe', |
| 80 ], | 81 ], |
| 81 }, | 82 }, |
| 82 { | 83 { |
| 83 'target_name': 'chrome_elf_lib', | 84 'target_name': 'chrome_elf_lib', |
| 84 'type': 'static_library', | 85 'type': 'static_library', |
| 85 'include_dirs': [ | 86 'include_dirs': [ |
| 86 '..', | 87 '..', |
| 87 ], | 88 ], |
| 88 'sources': [ | 89 'sources': [ |
| 90 'chrome_elf_constants.cc', |
| 91 'chrome_elf_constants.h', |
| 89 'chrome_elf_types.h', | 92 'chrome_elf_types.h', |
| 93 'create_file/chrome_create_file.cc', |
| 94 'create_file/chrome_create_file.h', |
| 90 'ntdll_cache.cc', | 95 'ntdll_cache.cc', |
| 91 'ntdll_cache.h', | 96 'ntdll_cache.h', |
| 92 ], | 97 ], |
| 93 }, | 98 }, |
| 99 ], # targets |
| 100 'conditions': [ |
| 101 ['component=="shared_library"', { |
| 102 'targets': [ |
| 103 { |
| 104 'target_name': 'chrome_redirects', |
| 105 'type': 'shared_library', |
| 106 'include_dirs': [ |
| 107 '..', |
| 108 ], |
| 109 'sources': [ |
| 110 'chrome_redirects.def', |
| 111 ], |
| 112 'dependencies': [ |
| 113 'chrome_elf_lib', |
| 114 ], |
| 115 'msvs_settings': { |
| 116 'VCLinkerTool': { |
| 117 'BaseAddress': '0x01c10000', |
| 118 # Set /SUBSYSTEM:WINDOWS. |
| 119 'SubSystem': '2', |
| 120 }, |
| 121 }, |
| 122 }, |
| 123 ], |
| 124 }], |
| 94 ], | 125 ], |
| 95 } | 126 } |
| 127 |
| OLD | NEW |