Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Side by Side Diff: trunk/src/chrome_elf/chrome_elf.gyp

Issue 144333003: Revert 246313 "Use an alternate mechanism for CreateFile calls i..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « trunk/src/chrome_elf/chrome_elf.def ('k') | trunk/src/chrome_elf/chrome_elf_constants.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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',
11 'blacklist.gypi', 11 'blacklist.gypi',
12 ], 12 ],
13 'targets': [ 13 'targets': [
14 {
15 'target_name': 'chrome_redirects',
16 'type': 'shared_library',
17 'include_dirs': [
18 '..',
19 ],
20 'sources': [
21 'chrome_redirects.def',
22 ],
23 'dependencies': [
24 'chrome_elf_lib',
25 ],
26 'msvs_settings': {
27 'VCLinkerTool': {
28 'BaseAddress': '0x01c10000',
29 # Set /SUBSYSTEM:WINDOWS.
30 'SubSystem': '2',
31 },
32 },
33 'conditions': [
34 ['component=="shared_library"', {
35 # In component builds, all targets depend on chrome_redirects by
36 # default. Remove it here to avoid a circular dependency.
37 'dependencies!': [
38 '../chrome_elf/chrome_elf.gyp:chrome_redirects',
39 ],
40 }],
41 ],
42 },
43 { 14 {
44 'target_name': 'chrome_elf', 15 'target_name': 'chrome_elf',
45 'type': 'shared_library', 16 'type': 'shared_library',
46 'include_dirs': [ 17 'include_dirs': [
47 '..', 18 '..',
48 ], 19 ],
49 'sources': [ 20 'sources': [
50 'chrome_elf.def', 21 'chrome_elf.def',
51 'chrome_elf_main.cc', 22 'chrome_elf_main.cc',
52 'chrome_elf_main.h', 23 'chrome_elf_main.h',
53 ], 24 ],
54 'dependencies': [ 25 'dependencies': [
55 'blacklist', 26 'blacklist',
56 'chrome_elf_lib', 27 'chrome_elf_lib',
57 'chrome_redirects',
58 ], 28 ],
59 'msvs_settings': { 29 'msvs_settings': {
60 'VCLinkerTool': { 30 'VCLinkerTool': {
61 'BaseAddress': '0x01c20000', 31 'BaseAddress': '0x01c20000',
62 # Set /SUBSYSTEM:WINDOWS. 32 # Set /SUBSYSTEM:WINDOWS for chrome_elf.dll (for consistency).
63 'SubSystem': '2', 33 'SubSystem': '2',
64 'AdditionalDependencies!': [ 34 'AdditionalDependencies!': [
65 'user32.lib', 35 'user32.lib',
66 ], 36 ],
67 'IgnoreDefaultLibraryNames': [ 37 'IgnoreDefaultLibraryNames': [
68 'user32.lib', 38 'user32.lib',
69 ], 39 ],
70 }, 40 },
71 }, 41 },
72 }, 42 },
73 { 43 {
74 'target_name': 'chrome_elf_unittests_exe', 44 'target_name': 'chrome_elf_unittests_exe',
75 'product_name': 'chrome_elf_unittests', 45 'product_name': 'chrome_elf_unittests',
76 'type': 'executable', 46 'type': 'executable',
77 'sources': [ 47 'sources': [
78 'blacklist/test/blacklist_test.cc', 48 'blacklist/test/blacklist_test.cc',
79 'create_file/chrome_create_file_unittest.cc',
80 'elf_imports_unittest.cc', 49 'elf_imports_unittest.cc',
81 'ntdll_cache_unittest.cc', 50 'ntdll_cache_unittest.cc',
82 ], 51 ],
83 'include_dirs': [ 52 'include_dirs': [
84 '..', 53 '..',
85 '<(SHARED_INTERMEDIATE_DIR)', 54 '<(SHARED_INTERMEDIATE_DIR)',
86 ], 55 ],
87 'dependencies': [ 56 'dependencies': [
88 'chrome_elf_lib', 57 'chrome_elf_lib',
89 '../base/base.gyp:base', 58 '../base/base.gyp:base',
(...skipping 20 matching lines...) Expand all
110 'chrome_elf_unittests_exe', 79 'chrome_elf_unittests_exe',
111 ], 80 ],
112 }, 81 },
113 { 82 {
114 'target_name': 'chrome_elf_lib', 83 'target_name': 'chrome_elf_lib',
115 'type': 'static_library', 84 'type': 'static_library',
116 'include_dirs': [ 85 'include_dirs': [
117 '..', 86 '..',
118 ], 87 ],
119 'sources': [ 88 'sources': [
120 'chrome_elf_constants.cc',
121 'chrome_elf_constants.h',
122 'chrome_elf_types.h', 89 'chrome_elf_types.h',
123 'create_file/chrome_create_file.cc',
124 'create_file/chrome_create_file.h',
125 'ntdll_cache.cc', 90 'ntdll_cache.cc',
126 'ntdll_cache.h', 91 'ntdll_cache.h',
127 ], 92 ],
128 'conditions': [
129 ['component=="shared_library"', {
130 # In component builds, all targets depend on chrome_redirects by
131 # default. Remove it here to avoid a circular dependency.
132 'dependencies!': [
133 '../chrome_elf/chrome_elf.gyp:chrome_redirects',
134 ],
135 }],
136 ],
137 }, 93 },
138 ], 94 ],
139 } 95 }
OLDNEW
« no previous file with comments | « trunk/src/chrome_elf/chrome_elf.def ('k') | trunk/src/chrome_elf/chrome_elf_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698