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',
42 'app_shim/app_shim_handler_mac.cc',
43 'app_shim/app_shim_handler_mac.h',
44 'app_shim/app_shim_host_mac.cc',
45 'app_shim/app_shim_host_mac.h',
46 'app_shim/app_shim_host_manager_mac.h',
47 'app_shim/app_shim_host_manager_mac.mm',
48 'app_shim/app_shim_mac.cc',
49 'app_shim/app_shim_mac.h',
50 'app_shim/chrome_main_app_mode_mac.mm',
51 'app_shim/extension_app_shim_handler_mac.cc',
52 'app_shim/extension_app_shim_handler_mac.h',
53 'app_window_contents.cc',
54 'app_window_contents.h',
64 'saved_files_service.cc',
65 'saved_files_service.h',
66 'saved_files_service_factory.cc',
67 'saved_files_service_factory.h',
70 'shell_window_geometry_cache.cc',
71 'shell_window_geometry_cache.h',
72 'shell_window_registry.cc',
73 'shell_window_registry.h',
76 'ui/native_app_window.h',
77 'ui/views/shell_window_frame_view.cc',
78 'ui/views/shell_window_frame_view.h',
88 ['enable_extensions==0',
91 ['exclude', '^apps/'],
95 ['toolkit_views==1', {
97 '../ui/base/strings/ui_strings.gyp:ui_strings',
98 '../ui/views/views.gyp:views',
100 }, { # toolkit_views==0
102 ['exclude', 'ui/views/'],
106 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
107 'msvs_disabled_warnings': [ 4267, ],
114 'target_name': 'app_shell',
115 'type': 'executable',
116 'defines!': ['CONTENT_IMPLEMENTATION'],
122 '../base/base.gyp:base',
123 '../content/content.gyp:content',
124 '../content/content_shell_and_tests.gyp:content_shell_lib',
125 '../skia/skia.gyp:skia',
126 '../ui/shell/shell.gyp:shell',
127 '../ui/views/views.gyp:views',
133 'shell/app_shell_browser_main_parts.cc',
134 'shell/app_shell_browser_main_parts.h',
135 'shell/app_shell_content_browser_client.cc',
136 'shell/app_shell_content_browser_client.h',
137 'shell/app_shell_content_client.cc',
138 'shell/app_shell_content_client.h',
139 'shell/app_shell_main_delegate.cc',
140 'shell/app_shell_main_delegate.h',
141 'shell/app_shell_main.cc',
142 'shell/web_view_window.cc',
143 'shell/web_view_window.cc',