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_lifetime_monitor.cc',
27 'app_lifetime_monitor.h',
28 'app_lifetime_monitor_factory.cc',
29 'app_lifetime_monitor_factory.h',
30 'app_load_service.cc',
32 'app_load_service_factory.cc',
33 'app_load_service_factory.h',
34 'app_restore_service.cc',
35 'app_restore_service.h',
36 'app_restore_service_factory.cc',
37 'app_restore_service_factory.h',
38 'app_shim/app_shim_handler_mac.cc',
39 'app_shim/app_shim_handler_mac.h',
40 'app_shim/app_shim_host_mac.cc',
41 'app_shim/app_shim_host_mac.h',
42 'app_shim/app_shim_host_manager_mac.h',
43 'app_shim/app_shim_host_manager_mac.mm',
44 'app_shim/app_shim_mac.cc',
45 'app_shim/app_shim_mac.h',
46 'app_shim/chrome_main_app_mode_mac.mm',
47 'app_shim/extension_app_shim_handler_mac.cc',
48 'app_shim/extension_app_shim_handler_mac.h',
49 'app_window_contents.cc',
50 'app_window_contents.h',
60 'saved_files_service.cc',
61 'saved_files_service.h',
62 'saved_files_service_factory.cc',
63 'saved_files_service_factory.h',
66 'shell_window_geometry_cache.cc',
67 'shell_window_geometry_cache.h',
68 'shell_window_registry.cc',
69 'shell_window_registry.h',
72 'ui/native_app_window.h',
73 'ui/views/shell_window_frame_view.cc',
74 'ui/views/shell_window_frame_view.h',
84 ['enable_extensions==0',
87 ['exclude', '^apps/'],
91 ['toolkit_views==1', {
93 '../ui/base/strings/ui_strings.gyp:ui_strings',
94 '../ui/views/views.gyp:views',
96 }, { # toolkit_views==0
98 ['exclude', 'ui/views/'],
102 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
103 'msvs_disabled_warnings': [ 4267, ],
110 'target_name': 'app_shell',
111 'type': 'executable',
112 'defines!': ['CONTENT_IMPLEMENTATION'],
118 '../base/base.gyp:base',
119 '../content/content.gyp:content',
120 '../content/content_shell_and_tests.gyp:content_shell_lib',
121 '../skia/skia.gyp:skia',
122 '../ui/shell/shell.gyp:shell',
123 '../ui/views/views.gyp:views',
129 'shell/app_shell_browser_main_parts.cc',
130 'shell/app_shell_browser_main_parts.h',
131 'shell/app_shell_content_browser_client.cc',
132 'shell/app_shell_content_browser_client.h',
133 'shell/app_shell_content_client.cc',
134 'shell/app_shell_content_client.h',
135 'shell/app_shell_main_delegate.cc',
136 'shell/app_shell_main_delegate.h',
137 'shell/app_shell_main.cc',
138 'shell/web_view_window.cc',
139 'shell/web_view_window.cc',