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 '../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',
40 'app_window_contents.cc',
41 'app_window_contents.h',
42 'app_window_geometry_cache.cc',
43 'app_window_geometry_cache.h',
44 'app_window_registry.cc',
45 'app_window_registry.h',
48 'browser_context_keyed_service_factories.cc',
49 'browser_context_keyed_service_factories.h',
50 'custom_launcher_page_contents.cc',
51 'custom_launcher_page_contents.h',
59 'saved_files_service.cc',
60 'saved_files_service.h',
61 'saved_files_service_factory.cc',
62 'saved_files_service_factory.h',
63 'size_constraints.cc',
67 'ui/native_app_window.h',
68 'ui/views/app_window_frame_view.cc',
69 'ui/views/app_window_frame_view.h',
70 'ui/views/native_app_window_views.cc',
71 'ui/views/native_app_window_views.h',
72 'ui/web_contents_sizer.h',
77 'ui/web_contents_sizer.mm',
81 'ui/web_contents_sizer.cc',
91 ['enable_extensions==0',
95 ['include', 'ui/web_contents_sizer\.cc$'],
96 ['include', 'ui/web_contents_sizer\.mm$'],
100 ['toolkit_views==1', {
102 '../ui/strings/ui_strings.gyp:ui_strings',
103 '../ui/views/views.gyp:views',
105 }, { # toolkit_views==0
107 ['exclude', 'ui/views/'],
111 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
112 'msvs_disabled_warnings': [ 4267, ],