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

Side by Side Diff: apps/shell/app_shell.gyp

Issue 412713002: Move apps/shell to extensions/shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 40% Created 6 years, 5 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 | « apps/shell/app/shell_main_delegate.cc ('k') | apps/shell/app_shell_resources.grd » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 'chromium_code': 1,
8 },
9 'targets': [
10 {
11 'target_name': 'app_shell_resources',
12 'type': 'none',
13 'actions': [
14 {
15 'action_name': 'generate_app_shell_resources',
16 'variables': {
17 'grit_grd_file': 'app_shell_resources.grd',
18 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/apps/shell',
19 },
20 'includes': [ '../../build/grit_action.gypi' ],
21 },
22 ],
23 },
24 {
25 'target_name': 'app_shell_pak',
26 'type': 'none',
27 'dependencies': [
28 'app_shell_resources',
29 # Need extension related resources in common_resources.pak and
30 # renderer_resources_100_percent.pak
31 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
32 # Need dev-tools related resources in shell_resources.pak and
33 # devtools_resources.pak.
34 '<(DEPTH)/content/content_shell_and_tests.gyp:content_shell_resources',
35 '<(DEPTH)/content/browser/devtools/devtools_resources.gyp:devtools_resou rces',
36 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources',
37 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings',
38 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
39 '<(DEPTH)/ui/strings/ui_strings.gyp:ui_strings',
40 ],
41 'actions': [
42 {
43 'action_name': 'repack_app_shell_pack',
44 'variables': {
45 'pak_inputs': [
46 '<(SHARED_INTERMEDIATE_DIR)/apps/shell/app_shell_resources.pak',
47 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.pak',
48 '<(SHARED_INTERMEDIATE_DIR)/chrome/extensions_api_resources.pak',
49 # TODO(jamescook): Extract the extension/app related resources
50 # from generated_resources_en-US.pak.
51 '<(SHARED_INTERMEDIATE_DIR)/chrome/generated_resources_en-US.pak',
52 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources_100_percent. pak',
53 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak',
54 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resourc es.pak',
55 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak',
56 '<(SHARED_INTERMEDIATE_DIR)/extensions/strings/extensions_strings_ en-US.pak',
57 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent. pak',
58 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.p ak',
59 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak',
60 '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak',
61 ],
62 'pak_output': '<(PRODUCT_DIR)/app_shell.pak',
63 },
64 'includes': [ '../../build/repack_action.gypi' ],
65 },
66 ],
67 },
68 {
69 'target_name': 'app_shell_lib',
70 'type': 'static_library',
71 'defines!': ['CONTENT_IMPLEMENTATION'],
72 'dependencies': [
73 'app_shell_pak',
74 '<(DEPTH)/apps/shell/common/api/api.gyp:shell_api',
75 '<(DEPTH)/base/base.gyp:base',
76 '<(DEPTH)/base/base.gyp:base_prefs_test_support',
77 '<(DEPTH)/components/components.gyp:omaha_query_params',
78 '<(DEPTH)/components/components.gyp:pref_registry',
79 '<(DEPTH)/components/components.gyp:user_prefs',
80 '<(DEPTH)/content/content.gyp:content',
81 '<(DEPTH)/content/content.gyp:content_gpu',
82 '<(DEPTH)/content/content.gyp:content_ppapi_plugin',
83 '<(DEPTH)/content/content.gyp:content_worker',
84 '<(DEPTH)/content/content_shell_and_tests.gyp:content_shell_lib',
85 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api',
86 '<(DEPTH)/extensions/extensions.gyp:extensions_browser',
87 '<(DEPTH)/extensions/extensions.gyp:extensions_common',
88 '<(DEPTH)/extensions/extensions.gyp:extensions_renderer',
89 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources',
90 '<(DEPTH)/mojo/mojo.gyp:mojo_environment_chromium',
91 '<(DEPTH)/mojo/mojo.gyp:mojo_system_impl',
92 '<(DEPTH)/skia/skia.gyp:skia',
93 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
94 '<(DEPTH)/ui/wm/wm.gyp:wm',
95 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
96 ],
97 'include_dirs': [
98 '../..',
99 '<(SHARED_INTERMEDIATE_DIR)',
100 '<(SHARED_INTERMEDIATE_DIR)/apps/shell',
101 ],
102 'sources': [
103 'app/shell_main_delegate.cc',
104 'app/shell_main_delegate.h',
105 'browser/api/shell/shell_api.cc',
106 'browser/api/shell/shell_api.h',
107 'browser/default_shell_browser_main_delegate.cc',
108 'browser/default_shell_browser_main_delegate.h',
109 'browser/default_shell_app_window_controller.cc',
110 'browser/default_shell_app_window_controller.h',
111 'browser/shell_app_sorting.cc',
112 'browser/shell_app_sorting.h',
113 'browser/shell_app_window.cc',
114 'browser/shell_app_window.h',
115 'browser/shell_app_window_controller.h',
116 'browser/shell_browser_context.cc',
117 'browser/shell_browser_context.h',
118 'browser/shell_browser_main_delegate.h',
119 'browser/shell_browser_main_parts.cc',
120 'browser/shell_browser_main_parts.h',
121 'browser/shell_content_browser_client.cc',
122 'browser/shell_content_browser_client.h',
123 'browser/shell_desktop_controller.cc',
124 'browser/shell_desktop_controller.h',
125 'browser/shell_extension_system.cc',
126 'browser/shell_extension_system.h',
127 'browser/shell_extension_system_factory.cc',
128 'browser/shell_extension_system_factory.h',
129 'browser/shell_extension_web_contents_observer.cc',
130 'browser/shell_extension_web_contents_observer.h',
131 'browser/shell_extensions_browser_client.cc',
132 'browser/shell_extensions_browser_client.h',
133 'browser/shell_network_controller_chromeos.cc',
134 'browser/shell_network_controller_chromeos.h',
135 'browser/shell_omaha_query_params_delegate.cc',
136 'browser/shell_omaha_query_params_delegate.h',
137 'browser/shell_runtime_api_delegate.cc',
138 'browser/shell_runtime_api_delegate.h',
139 'browser/shell_special_storage_policy.cc',
140 'browser/shell_special_storage_policy.h',
141 'common/shell_content_client.cc',
142 'common/shell_content_client.h',
143 'common/shell_extensions_client.cc',
144 'common/shell_extensions_client.h',
145 'common/switches.h',
146 'common/switches.cc',
147 'renderer/shell_content_renderer_client.cc',
148 'renderer/shell_content_renderer_client.h',
149 'renderer/shell_custom_bindings.cc',
150 'renderer/shell_custom_bindings.h',
151 'renderer/shell_custom_bindings.js',
152 'renderer/shell_dispatcher_delegate.cc',
153 'renderer/shell_dispatcher_delegate.h',
154 'renderer/shell_extensions_renderer_client.cc',
155 'renderer/shell_extensions_renderer_client.h',
156 'renderer/shell_renderer_main_delegate.h',
157 ],
158 'conditions': [
159 ['chromeos==1', {
160 'dependencies': [
161 '<(DEPTH)/chromeos/chromeos.gyp:chromeos',
162 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos',
163 '<(DEPTH)/ui/display/display.gyp:display',
164 ],
165 }],
166 ],
167 },
168 {
169 'target_name': 'app_shell',
170 'type': 'executable',
171 'defines!': ['CONTENT_IMPLEMENTATION'],
172 'dependencies': [
173 'app_shell_lib',
174 'app_shell_pak',
175 ],
176 'include_dirs': [
177 '../..',
178 ],
179 'sources': [
180 'app/shell_main.cc',
181 ],
182 'conditions': [
183 ['OS=="win"', {
184 'msvs_settings': {
185 'VCLinkerTool': {
186 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
187 },
188 },
189 'dependencies': [
190 '<(DEPTH)/sandbox/sandbox.gyp:sandbox',
191 ],
192 }],
193 ],
194 },
195 {
196 'target_name': 'app_shell_browsertests',
197 'type': '<(gtest_target_type)',
198 'dependencies': [
199 'app_shell_lib',
200 # TODO(yoz): find the right deps
201 '<(DEPTH)/base/base.gyp:test_support_base',
202 '<(DEPTH)/content/content.gyp:content_app_both',
203 '<(DEPTH)/content/content_shell_and_tests.gyp:content_browser_test_suppo rt',
204 '<(DEPTH)/content/content_shell_and_tests.gyp:test_support_content',
205 '<(DEPTH)/extensions/extensions.gyp:extensions_test_support',
206 '<(DEPTH)/testing/gtest.gyp:gtest',
207 ],
208 'defines': [
209 'HAS_OUT_OF_PROC_TEST_RUNNER',
210 ],
211 'sources': [
212 # TODO(yoz): Refactor once we have a second test target.
213 'browser/dns_apitest.cc',
214 'browser/shell_browsertest.cc',
215 'test/shell_test.h',
216 'test/shell_test.cc',
217 'test/shell_test_launcher_delegate.cc',
218 'test/shell_test_launcher_delegate.h',
219 'test/shell_tests_main.cc',
220 ],
221 },
222 ], # targets
223 }
OLDNEW
« no previous file with comments | « apps/shell/app/shell_main_delegate.cc ('k') | apps/shell/app_shell_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698