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.
11 'target_name': 'app_shell_resources',
15 'action_name': 'generate_app_shell_resources',
17 'grit_grd_file': 'app_shell_resources.grd',
18 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/apps/shell',
20 'includes': [ '../../build/grit_action.gypi' ],
25 'target_name': 'app_shell_pak',
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_resources',
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',
43 'action_name': 'repack_app_shell_pack',
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_resources.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/app_locale_settings/app_locale_settings_en-US.pak',
58 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_percent.pak',
59 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_strings/ui_strings_en-US.pak',
60 '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak',
62 'pak_output': '<(PRODUCT_DIR)/app_shell.pak',
64 'includes': [ '../../build/repack_action.gypi' ],
69 'target_name': 'app_shell_lib',
70 'type': 'static_library',
71 'defines!': ['CONTENT_IMPLEMENTATION'],
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:pref_registry',
78 '<(DEPTH)/components/components.gyp:user_prefs',
79 '<(DEPTH)/content/content.gyp:content',
80 '<(DEPTH)/content/content.gyp:content_gpu',
81 '<(DEPTH)/content/content.gyp:content_ppapi_plugin',
82 '<(DEPTH)/content/content.gyp:content_worker',
83 '<(DEPTH)/content/content_shell_and_tests.gyp:content_shell_lib',
84 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api',
85 '<(DEPTH)/extensions/extensions.gyp:extensions_browser',
86 '<(DEPTH)/extensions/extensions.gyp:extensions_common',
87 '<(DEPTH)/extensions/extensions.gyp:extensions_renderer',
88 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources',
89 '<(DEPTH)/skia/skia.gyp:skia',
90 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
91 '<(DEPTH)/ui/wm/wm.gyp:wm',
92 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
96 '<(SHARED_INTERMEDIATE_DIR)',
97 '<(SHARED_INTERMEDIATE_DIR)/apps/shell',
100 'app/shell_main_delegate.cc',
101 'app/shell_main_delegate.h',
102 'browser/api/shell/shell_api.cc',
103 'browser/api/shell/shell_api.h',
104 'browser/default_shell_browser_main_delegate.cc',
105 'browser/default_shell_browser_main_delegate.h',
106 'browser/default_shell_app_window_controller.cc',
107 'browser/default_shell_app_window_controller.h',
108 'browser/shell_app_sorting.cc',
109 'browser/shell_app_sorting.h',
110 'browser/shell_app_window.cc',
111 'browser/shell_app_window.h',
112 'browser/shell_app_window_controller.h',
113 'browser/shell_browser_context.cc',
114 'browser/shell_browser_context.h',
115 'browser/shell_browser_main_delegate.h',
116 'browser/shell_browser_main_parts.cc',
117 'browser/shell_browser_main_parts.h',
118 'browser/shell_content_browser_client.cc',
119 'browser/shell_content_browser_client.h',
120 'browser/shell_desktop_controller.cc',
121 'browser/shell_desktop_controller.h',
122 'browser/shell_extension_system.cc',
123 'browser/shell_extension_system.h',
124 'browser/shell_extension_system_factory.cc',
125 'browser/shell_extension_system_factory.h',
126 'browser/shell_extension_web_contents_observer.cc',
127 'browser/shell_extension_web_contents_observer.h',
128 'browser/shell_extensions_browser_client.cc',
129 'browser/shell_extensions_browser_client.h',
130 'browser/shell_network_controller_chromeos.cc',
131 'browser/shell_network_controller_chromeos.h',
132 'browser/shell_runtime_api_delegate.cc',
133 'browser/shell_runtime_api_delegate.h',
134 'common/shell_content_client.cc',
135 'common/shell_content_client.h',
136 'common/shell_extensions_client.cc',
137 'common/shell_extensions_client.h',
138 'renderer/shell_content_renderer_client.cc',
139 'renderer/shell_content_renderer_client.h',
140 'renderer/shell_custom_bindings.cc',
141 'renderer/shell_custom_bindings.h',
142 'renderer/shell_custom_bindings.js',
143 'renderer/shell_dispatcher_delegate.cc',
144 'renderer/shell_dispatcher_delegate.h',
145 'renderer/shell_extensions_renderer_client.cc',
146 'renderer/shell_extensions_renderer_client.h',
147 'renderer/shell_renderer_main_delegate.h',
152 '<(DEPTH)/chromeos/chromeos.gyp:chromeos',
153 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos',
154 '<(DEPTH)/ui/display/display.gyp:display',
160 'target_name': 'app_shell',
161 'type': 'executable',
162 'defines!': ['CONTENT_IMPLEMENTATION'],
177 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
181 '<(DEPTH)/sandbox/sandbox.gyp:sandbox',
187 'target_name': 'app_shell_browsertests',
188 'type': '<(gtest_target_type)',
191 # TODO(yoz): find the right deps
192 '<(DEPTH)/base/base.gyp:test_support_base',
193 '<(DEPTH)/content/content.gyp:content_app_both',
194 '<(DEPTH)/content/content_shell_and_tests.gyp:content_browser_test_support',
195 '<(DEPTH)/content/content_shell_and_tests.gyp:test_support_content',
196 '<(DEPTH)/testing/gtest.gyp:gtest',
199 'HAS_OUT_OF_PROC_TEST_RUNNER',
202 # TODO(yoz): Refactor once we have a second test target.
203 'browser/shell_browsertest.cc',
205 'test/shell_test.cc',
206 'test/shell_test_launcher_delegate.cc',
207 'test/shell_test_launcher_delegate.h',
208 'test/shell_tests_main.cc',