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

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

Issue 140783009: Revert 245464 "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', 44 'target_name': 'chrome_elf_unittests',
75 'type': 'executable', 45 'type': 'executable',
76 'sources': [ 46 'sources': [
77 'blacklist/test/blacklist_test.cc', 47 'blacklist/test/blacklist_test.cc',
78 'create_file/chrome_create_file_unittest.cc',
79 'elf_imports_unittest.cc', 48 'elf_imports_unittest.cc',
80 'ntdll_cache_unittest.cc', 49 'ntdll_cache_unittest.cc',
81 ], 50 ],
82 'include_dirs': [ 51 'include_dirs': [
83 '..', 52 '..',
84 '<(SHARED_INTERMEDIATE_DIR)', 53 '<(SHARED_INTERMEDIATE_DIR)',
85 ], 54 ],
86 'dependencies': [ 55 'dependencies': [
87 'chrome_elf_lib', 56 'chrome_elf_lib',
88 '../base/base.gyp:base', 57 '../base/base.gyp:base',
89 '../base/base.gyp:run_all_unittests', 58 '../base/base.gyp:run_all_unittests',
90 '../base/base.gyp:test_support_base', 59 '../base/base.gyp:test_support_base',
91 '../sandbox/sandbox.gyp:sandbox', 60 '../sandbox/sandbox.gyp:sandbox',
92 '../testing/gtest.gyp:gtest', 61 '../testing/gtest.gyp:gtest',
93 'blacklist', 62 'blacklist',
94 'blacklist_test_dll_1', 63 'blacklist_test_dll_1',
95 'blacklist_test_dll_2', 64 'blacklist_test_dll_2',
96 'blacklist_test_dll_3', 65 'blacklist_test_dll_3',
97 'blacklist_test_main_dll', 66 'blacklist_test_main_dll',
98 ], 67 ],
99 }, 68 },
100 { 69 {
101 'target_name': 'chrome_elf_lib', 70 'target_name': 'chrome_elf_lib',
102 'type': 'static_library', 71 'type': 'static_library',
103 'include_dirs': [ 72 'include_dirs': [
104 '..', 73 '..',
105 ], 74 ],
106 'sources': [ 75 'sources': [
107 'chrome_elf_constants.cc',
108 'chrome_elf_constants.h',
109 'chrome_elf_types.h', 76 'chrome_elf_types.h',
110 'create_file/chrome_create_file.cc',
111 'create_file/chrome_create_file.h',
112 'ntdll_cache.cc', 77 'ntdll_cache.cc',
113 'ntdll_cache.h', 78 'ntdll_cache.h',
114 ], 79 ],
115 'conditions': [
116 ['component=="shared_library"', {
117 # In component builds, all targets depend on chrome_redirects by
118 # default. Remove it here to avoid a circular dependency.
119 'dependencies!': [
120 '../chrome_elf/chrome_elf.gyp:chrome_redirects',
121 ],
122 }],
123 ],
124 }, 80 },
125 ], 81 ],
126 } 82 }
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