[SyncFS] Build indexes from FileTracker entries on disk.
[chromium-blink-merge.git] / apps / apps.gypi
blobb5fd397d7bdfea9846d846106f55e820622e0f1b
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.
6   'targets': [
7     {
8       'target_name': 'apps',
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.
16       'dependencies': [
17         'browser_extensions',
18         'common/extensions/api/api.gyp:chrome_api',
19         '../skia/skia.gyp:skia',
20       ],
21       'include_dirs': [
22         '<(INTERMEDIATE_DIR)',
23         '<(grit_out_dir)',
24       ],
25       'sources': [
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',
31         'app_load_service.h',
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_window.cc',
39         'app_window.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',
46         'apps_client.cc',
47         'apps_client.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',
52         'launcher.cc',
53         'launcher.h',
54         'metrics_names.h',
55         'pref_names.cc',
56         'pref_names.h',
57         'prefs.cc',
58         'prefs.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',
64         'size_constraints.h',
65         'switches.cc',
66         'switches.h',
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',
73       ],
74       'conditions': [
75         ['OS=="mac"', {
76           'sources': [
77             'ui/web_contents_sizer.mm',
78           ],
79         }, {  # OS!=mac
80           'sources': [
81             'ui/web_contents_sizer.cc',
82           ],
83         }],
84         ['chromeos==1',
85           {
86             'dependencies': [
87               'browser_chromeos',
88             ]
89           }
90         ],
91         ['enable_extensions==0',
92           {
93             'sources/': [
94               ['exclude', '.*'],
95               ['include', 'ui/web_contents_sizer\.cc$'],
96               ['include', 'ui/web_contents_sizer\.mm$'],
97             ],
98           }
99         ],
100         ['toolkit_views==1', {
101           'dependencies': [
102             '../ui/strings/ui_strings.gyp:ui_strings',
103             '../ui/views/views.gyp:views',
104           ],
105         }, {  # toolkit_views==0
106           'sources/': [
107             ['exclude', 'ui/views/'],
108           ],
109         }],
110       ],
111       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
112       'msvs_disabled_warnings': [ 4267, ],
113     },
114   ],  # targets