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:chrome_api',
19 '../apps/common/api/api.gyp:apps_api',
20 '../skia/skia.gyp:skia',
23 '<(INTERMEDIATE_DIR)',
27 'app_lifetime_monitor.cc',
28 'app_lifetime_monitor.h',
29 'app_lifetime_monitor_factory.cc',
30 'app_lifetime_monitor_factory.h',
31 'app_load_service.cc',
33 'app_load_service_factory.cc',
34 'app_load_service_factory.h',
35 'app_restore_service.cc',
36 'app_restore_service.h',
37 'app_restore_service_factory.cc',
38 'app_restore_service_factory.h',
41 'app_window_contents.cc',
42 'app_window_contents.h',
43 'app_window_geometry_cache.cc',
44 'app_window_geometry_cache.h',
45 'app_window_registry.cc',
46 'app_window_registry.h',
49 'browser_context_keyed_service_factories.cc',
50 'browser_context_keyed_service_factories.h',
51 'browser/api/app_runtime/app_runtime_api.cc',
52 'browser/api/app_runtime/app_runtime_api.h',
53 'browser/file_handler_util.cc',
54 'browser/file_handler_util.h',
62 'saved_files_service.cc',
63 'saved_files_service.h',
64 'saved_files_service_factory.cc',
65 'saved_files_service_factory.h',
66 'size_constraints.cc',
70 'ui/native_app_window.h',
71 'ui/views/app_window_frame_view.cc',
72 'ui/views/app_window_frame_view.h',
73 'ui/views/native_app_window_views.cc',
74 'ui/views/native_app_window_views.h',
75 'ui/web_contents_sizer.h',
80 'ui/web_contents_sizer.mm',
84 'ui/web_contents_sizer.cc',
94 ['enable_extensions==0',
98 ['include', 'ui/web_contents_sizer\.cc$'],
99 ['include', 'ui/web_contents_sizer\.mm$'],
103 ['toolkit_views==1', {
105 '../ui/strings/ui_strings.gyp:ui_strings',
106 '../ui/views/views.gyp:views',
108 }, { # toolkit_views==0
110 ['exclude', 'ui/views/'],
114 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
115 'msvs_disabled_warnings': [ 4267, ],