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

Side by Side Diff: apps/apps.gypi

Issue 223613005: Create new app_shell.gyp for app_shell targets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 6 years, 8 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 | « no previous file | apps/shell/app_shell.gyp » ('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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'apps', 8 'target_name': 'apps',
9 'type': 'static_library', 9 'type': 'static_library',
10 'variables': { 'enable_wexit_time_destructors': 1, }, 10 'variables': { 'enable_wexit_time_destructors': 1, },
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 }, { # toolkit_views==0 96 }, { # toolkit_views==0
97 'sources/': [ 97 'sources/': [
98 ['exclude', 'ui/views/'], 98 ['exclude', 'ui/views/'],
99 ], 99 ],
100 }], 100 }],
101 ], 101 ],
102 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 102 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
103 'msvs_disabled_warnings': [ 4267, ], 103 'msvs_disabled_warnings': [ 4267, ],
104 }, 104 },
105 ], # targets 105 ], # targets
106 'conditions': [
107 ['chromeos==1 or (OS=="linux" and use_aura==1) or (OS=="win" and use_aura==1 )', {
108 'targets': [
109 {
110 'target_name': 'app_shell_pak',
111 'type': 'none',
112 'dependencies': [
113 # Need extension related resources in common_resources.pak and
114 # renderer_resources_100_percent.pak
115 'chrome_resources.gyp:chrome_resources',
116 # Need app related resources in theme_resources_100_percent.pak
117 'chrome_resources.gyp:theme_resources',
118 # Need dev-tools related resources in shell_resources.pak and
119 # devtools_resources.pak.
120 '../content/content_shell_and_tests.gyp:generate_content_shell_resou rces',
121 '../content/browser/devtools/devtools_resources.gyp:devtools_resourc es',
122 '../ui/base/strings/ui_strings.gyp:ui_strings',
123 '../ui/resources/ui_resources.gyp:ui_resources',
124 ],
125 'actions': [
126 {
127 'action_name': 'repack_app_shell_pack',
128 'variables': {
129 'pak_inputs': [
130 '<(grit_out_dir)/common_resources.pak',
131 '<(grit_out_dir)/extensions_api_resources.pak',
132 # TODO(jamescook): extra the extension/app related resources
133 # from generated_resources_en-US.pak and
134 # theme_resources_100_percent.pak.
135 '<(SHARED_INTERMEDIATE_DIR)/chrome/generated_resources_en-US.p ak',
136 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources_100_perc ent.pak',
137 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources_100_percent .pak',
138 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak',
139 '<(SHARED_INTERMEDIATE_DIR)/ui/app_locale_settings/app_locale_ settings_en-US.pak',
140 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_p ercent.pak',
141 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_strings/ui_strings_en-US.pak ',
142 '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak',
143 ],
144 'pak_output': '<(PRODUCT_DIR)/app_shell.pak',
145 },
146 'includes': [ '../build/repack_action.gypi' ],
147 },
148 ],
149 },
150 {
151 'target_name': 'app_shell_lib',
152 'type': 'static_library',
153 'defines!': ['CONTENT_IMPLEMENTATION'],
154 'variables': {
155 'chromium_code': 1,
156 },
157 'dependencies': [
158 'app_shell_pak',
159 'apps',
160 'common/extensions/api/api.gyp:chrome_api',
161 'test_support_common',
162 '../base/base.gyp:base',
163 '../base/base.gyp:base_prefs_test_support',
164 '../content/content.gyp:content',
165 '../content/content_shell_and_tests.gyp:content_shell_lib',
166 '../extensions/common/api/api.gyp:extensions_api',
167 '../skia/skia.gyp:skia',
168 '../ui/views/views.gyp:views',
169 '../ui/wm/wm.gyp:wm_test_support',
170 ],
171 'include_dirs': [
172 '..',
173 ],
174 'sources': [
175 'shell/app/shell_main_delegate.cc',
176 'shell/app/shell_main_delegate.h',
177 'shell/browser/shell_app_sorting.cc',
178 'shell/browser/shell_app_sorting.h',
179 'shell/browser/shell_app_window_delegate.cc',
180 'shell/browser/shell_app_window_delegate.h',
181 'shell/browser/shell_apps_client.cc',
182 'shell/browser/shell_apps_client.h',
183 'shell/browser/shell_browser_context.cc',
184 'shell/browser/shell_browser_context.h',
185 'shell/browser/shell_browser_main_parts.cc',
186 'shell/browser/shell_browser_main_parts.h',
187 'shell/browser/shell_content_browser_client.cc',
188 'shell/browser/shell_content_browser_client.h',
189 'shell/browser/shell_desktop_controller.cc',
190 'shell/browser/shell_desktop_controller.h',
191 'shell/browser/shell_extension_system.cc',
192 'shell/browser/shell_extension_system.h',
193 'shell/browser/shell_extension_system_factory.cc',
194 'shell/browser/shell_extension_system_factory.h',
195 'shell/browser/shell_extension_web_contents_observer.cc',
196 'shell/browser/shell_extension_web_contents_observer.h',
197 'shell/browser/shell_extensions_browser_client.cc',
198 'shell/browser/shell_extensions_browser_client.h',
199 'shell/common/shell_content_client.cc',
200 'shell/common/shell_content_client.h',
201 'shell/common/shell_extensions_client.cc',
202 'shell/common/shell_extensions_client.h',
203 'shell/renderer/shell_content_renderer_client.cc',
204 'shell/renderer/shell_content_renderer_client.h',
205 ],
206 },
207 {
208 'target_name': 'app_shell',
209 'type': 'executable',
210 'defines!': ['CONTENT_IMPLEMENTATION'],
211 'variables': {
212 'chromium_code': 1,
213 },
214 'dependencies': [
215 'app_shell_lib',
216 'app_shell_pak',
217 ],
218 'include_dirs': [
219 '..',
220 ],
221 'sources': [
222 'shell/app/shell_main.cc',
223 ],
224 'conditions': [
225 ['OS=="win"', {
226 'msvs_settings': {
227 'VCLinkerTool': {
228 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
229 },
230 },
231 'msvs_large_pdb': 1,
232 'dependencies': [
233 '../sandbox/sandbox.gyp:sandbox',
234 ],
235 }],
236 ],
237 },
238 {
239 'target_name': 'apps_browsertests',
240 'type': '<(gtest_target_type)',
241 'variables': {
242 'chromium_code': 1,
243 },
244 'dependencies': [
245 'app_shell_lib',
246 # TODO(yoz): find the right deps
247 '../base/base.gyp:test_support_base',
248 '../content/content.gyp:content_app_both',
249 '../content/content_shell_and_tests.gyp:content_browser_test_support ',
250 '../content/content_shell_and_tests.gyp:test_support_content',
251 '../testing/gtest.gyp:gtest',
252 ],
253 'defines': [
254 'HAS_OUT_OF_PROC_TEST_RUNNER',
255 ],
256 'msvs_large_pdb': 1,
257 'sources': [
258 # TODO(yoz): Refactor once we have a second test target.
259 'test/app_shell_test.h',
260 'test/app_shell_test.cc',
261 'test/apps_test_launcher_delegate.cc',
262 'test/apps_test_launcher_delegate.h',
263 'test/apps_tests_main.cc',
264 ],
265 },
266 ], # targets
267 }], # chromeos==1 or linux aura or win aura
268 ], # conditions
269 } 106 }
OLDNEW
« no previous file with comments | « no previous file | apps/shell/app_shell.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698