OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 | 8 |
9 # Keep the archive builder happy. | 9 # Keep the archive builder happy. |
10 'chrome_personalization%': 1, | 10 'chrome_personalization%': 1, |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 '../breakpad/breakpad.gyp:breakpad_handler', | 97 '../breakpad/breakpad.gyp:breakpad_handler', |
98 '../chrome/chrome.gyp:chrome_version_header', | 98 '../chrome/chrome.gyp:chrome_version_header', |
99 'chrome_frame.gyp:chrome_frame_utils', | 99 'chrome_frame.gyp:chrome_frame_utils', |
100 'chrome_frame_helper_dll', | 100 'chrome_frame_helper_dll', |
101 'chrome_frame_helper_lib', | 101 'chrome_frame_helper_lib', |
102 ], | 102 ], |
103 'resource_include_dirs': [ | 103 'resource_include_dirs': [ |
104 '<(INTERMEDIATE_DIR)', | 104 '<(INTERMEDIATE_DIR)', |
105 '<(SHARED_INTERMEDIATE_DIR)', | 105 '<(SHARED_INTERMEDIATE_DIR)', |
106 ], | 106 ], |
| 107 'include_dirs': [ |
| 108 # To allow including "chrome_tab.h" |
| 109 '<(INTERMEDIATE_DIR)', |
| 110 '<(INTERMEDIATE_DIR)/../chrome_frame', |
| 111 ], |
107 'sources': [ | 112 'sources': [ |
108 'chrome_frame_helper_main.cc', | 113 'chrome_frame_helper_main.cc', |
109 'chrome_frame_helper_version.rc', | 114 'chrome_frame_helper_version.rc', |
110 ], | 115 ], |
111 'msvs_settings': { | 116 'msvs_settings': { |
112 'VCLinkerTool': { | 117 'VCLinkerTool': { |
113 'OutputFile': | 118 'OutputFile': |
114 '$(OutDir)\\$(ProjectName).exe', | 119 '$(OutDir)\\$(ProjectName).exe', |
115 # Set /SUBSYSTEM:WINDOWS since this is not a command-line program. | 120 # Set /SUBSYSTEM:WINDOWS since this is not a command-line program. |
116 'SubSystem': '2', | 121 'SubSystem': '2', |
117 }, | 122 }, |
118 }, | 123 }, |
119 }, | 124 }, |
120 { | 125 { |
121 'target_name': 'chrome_frame_helper_dll', | 126 'target_name': 'chrome_frame_helper_dll', |
122 'type': 'shared_library', | 127 'type': 'shared_library', |
123 'dependencies': [ | 128 'dependencies': [ |
124 '../chrome/chrome.gyp:chrome_version_header', | 129 '../chrome/chrome.gyp:chrome_version_header', |
125 'chrome_frame_helper_lib', | 130 'chrome_frame_helper_lib', |
126 ], | 131 ], |
127 'resource_include_dirs': [ | 132 'resource_include_dirs': [ |
128 '<(INTERMEDIATE_DIR)', | 133 '<(INTERMEDIATE_DIR)', |
129 '<(SHARED_INTERMEDIATE_DIR)', | 134 '<(SHARED_INTERMEDIATE_DIR)', |
130 ], | 135 ], |
| 136 'include_dirs': [ |
| 137 # To allow including "chrome_tab.h" |
| 138 '<(INTERMEDIATE_DIR)', |
| 139 '<(INTERMEDIATE_DIR)/../chrome_frame', |
| 140 ], |
131 'sources': [ | 141 'sources': [ |
132 'bho_loader.cc', | 142 'bho_loader.cc', |
133 'bho_loader.h', | 143 'bho_loader.h', |
134 'chrome_frame_helper_dll.cc', | 144 'chrome_frame_helper_dll.cc', |
135 'chrome_frame_helper_dll.def', | 145 'chrome_frame_helper_dll.def', |
136 'chrome_frame_helper_version.rc', | 146 'chrome_frame_helper_version.rc', |
137 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', | 147 '<(SHARED_INTERMEDIATE_DIR)/chrome_tab.h', |
138 'chrome_tab.idl', | 148 'chrome_tab.idl', |
139 'event_hooker.cc', | 149 'event_hooker.cc', |
140 'event_hooker.h', | 150 'event_hooker.h', |
141 'iids.cc', | 151 'iids.cc', |
142 ], | 152 ], |
143 'msvs_settings': { | 153 'msvs_settings': { |
144 'VCLinkerTool': { | 154 'VCLinkerTool': { |
145 'OutputFile': '$(OutDir)\\chrome_frame_helper.dll', | 155 'OutputFile': '$(OutDir)\\chrome_frame_helper.dll', |
146 'ProgramDatabaseFile': '$(OutDir)\\chrome_frame_helper_dll.pdb', | 156 'ProgramDatabaseFile': '$(OutDir)\\chrome_frame_helper_dll.pdb', |
147 # Set /SUBSYSTEM:WINDOWS since this is not a command-line program. | 157 # Set /SUBSYSTEM:WINDOWS since this is not a command-line program. |
148 'SubSystem': '2', | 158 'SubSystem': '2', |
149 }, | 159 }, |
150 }, | 160 }, |
151 }, | 161 }, |
152 { | 162 { |
153 'target_name': 'chrome_frame_helper_lib', | 163 'target_name': 'chrome_frame_helper_lib', |
154 'type': 'static_library', | 164 'type': 'static_library', |
155 'dependencies': [ | 165 'dependencies': [ |
156 '../chrome/chrome.gyp:chrome_version_header', | 166 '../chrome/chrome.gyp:chrome_version_header', |
157 ], | 167 ], |
158 'resource_include_dirs': [ | 168 'resource_include_dirs': [ |
159 '<(INTERMEDIATE_DIR)', | 169 '<(INTERMEDIATE_DIR)', |
160 '<(SHARED_INTERMEDIATE_DIR)', | 170 '<(SHARED_INTERMEDIATE_DIR)', |
161 ], | 171 ], |
| 172 'include_dirs': [ |
| 173 # To allow including "chrome_tab.h" |
| 174 '<(INTERMEDIATE_DIR)', |
| 175 '<(INTERMEDIATE_DIR)/../chrome_frame', |
| 176 ], |
162 'sources': [ | 177 'sources': [ |
163 'chrome_frame_helper_util.cc', | 178 'chrome_frame_helper_util.cc', |
164 'chrome_frame_helper_util.h', | 179 'chrome_frame_helper_util.h', |
165 'registry_watcher.cc', | 180 'registry_watcher.cc', |
166 'registry_watcher.h', | 181 'registry_watcher.h', |
167 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', | 182 '<(SHARED_INTERMEDIATE_DIR)/chrome_tab.h', |
168 'chrome_tab.idl', | 183 'chrome_tab.idl', |
169 'iids.cc', | 184 'iids.cc', |
170 ], | 185 ], |
171 'msvs_settings': { | 186 'msvs_settings': { |
172 'VCLinkerTool': { | 187 'VCLinkerTool': { |
173 'AdditionalDependencies': [ | 188 'AdditionalDependencies': [ |
174 'shlwapi.lib', | 189 'shlwapi.lib', |
175 ], | 190 ], |
176 }, | 191 }, |
177 }, | 192 }, |
178 }, | 193 }, |
179 ], | 194 ], |
180 } | 195 } |
OLD | NEW |