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
3 # found in the LICENSE file.
9 'type': 'static_library',
10 'variables': { 'enable_wexit_time_destructors': 1, },
11 # Since browser and browser_extensions actually depend on each other,
12 # we must omit the dependency from browser_extensions to browser.
13 # However, this means browser_extensions and browser should more or less
14 # have the same dependencies. Once browser_extensions is untangled from
15 # browser, then we can clean up these dependencies.
18 'common/extensions/api/api.gyp:api',
19 '../skia/skia.gyp:skia',
22 '<(INTERMEDIATE_DIR)',
26 'app_keep_alive_service.cc',
27 'app_keep_alive_service.h',
28 'app_keep_alive_service_factory.cc',
29 'app_keep_alive_service_factory.h',
30 'app_lifetime_monitor.cc',
31 'app_lifetime_monitor.h',
32 'app_lifetime_monitor_factory.cc',
33 'app_lifetime_monitor_factory.h',
34 'app_load_service.cc',
36 'app_load_service_factory.cc',
37 'app_load_service_factory.h',
38 'app_restore_service.cc',
39 'app_restore_service.h',
40 'app_restore_service_factory.cc',
41 'app_restore_service_factory.h',
44 'app_window_contents.cc',
45 'app_window_contents.h',
46 'app_window_geometry_cache.cc',
47 'app_window_geometry_cache.h',
48 'app_window_registry.cc',
49 'app_window_registry.h',
59 'saved_files_service.cc',
60 'saved_files_service.h',
61 'saved_files_service_factory.cc',
62 'saved_files_service_factory.h',
65 'ui/native_app_window.h',
66 'ui/views/app_window_frame_view.cc',
67 'ui/views/app_window_frame_view.h',
77 ['enable_extensions==0',
80 ['exclude', '^apps/'],
84 ['toolkit_views==1', {
86 '../ui/base/strings/ui_strings.gyp:ui_strings',
87 '../ui/views/views.gyp:views',
89 }, { # toolkit_views==0
91 ['exclude', 'ui/views/'],
95 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
96 'msvs_disabled_warnings': [ 4267, ],
100 ['chromeos==1 or (OS=="linux" and use_aura==1) or (OS=="win" and use_aura==1)', {
103 'target_name': 'app_shell',
104 'type': 'executable',
105 'defines!': ['CONTENT_IMPLEMENTATION'],
111 'chrome_resources.gyp:packed_resources',
112 # For resources.pak for features JSON files.
113 'chrome_resources.gyp:packed_extra_resources',
114 'test_support_common',
115 '../base/base.gyp:base',
116 '../base/base.gyp:base_prefs_test_support',
117 '../content/content.gyp:content',
118 '../content/content_shell_and_tests.gyp:content_shell_lib',
119 '../skia/skia.gyp:skia',
120 '../ui/views/views.gyp:views',
121 '../ui/wm/wm.gyp:wm_test_support',
127 'shell/app/shell_main_delegate.cc',
128 'shell/app/shell_main_delegate.h',
129 'shell/app/shell_main.cc',
130 'shell/browser/shell_app_sorting.cc',
131 'shell/browser/shell_app_sorting.h',
132 'shell/browser/shell_browser_context.cc',
133 'shell/browser/shell_browser_context.h',
134 'shell/browser/shell_browser_main_parts.cc',
135 'shell/browser/shell_browser_main_parts.h',
136 'shell/browser/shell_content_browser_client.cc',
137 'shell/browser/shell_content_browser_client.h',
138 'shell/browser/shell_extension_system.cc',
139 'shell/browser/shell_extension_system.h',
140 'shell/browser/shell_extension_system_factory.cc',
141 'shell/browser/shell_extension_system_factory.h',
142 'shell/browser/shell_extensions_browser_client.cc',
143 'shell/browser/shell_extensions_browser_client.h',
144 'shell/browser/web_view_window.cc',
145 'shell/browser/web_view_window.cc',
146 'shell/common/shell_content_client.cc',
147 'shell/common/shell_content_client.h',
148 'shell/common/shell_extensions_client.cc',
149 'shell/common/shell_extensions_client.h',
150 'shell/renderer/shell_content_renderer_client.cc',
151 'shell/renderer/shell_content_renderer_client.h',
157 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
161 '../sandbox/sandbox.gyp:sandbox',