Simplifies CopyOrMoveOperationDelegate implementation.
[chromium-blink-merge.git] / apps / apps.gypi
blob9724dc6128186bd3e1d8b5a63a1bfb6ad3d46826
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:api',
19         '../skia/skia.gyp:skia',
20       ],
21       'include_dirs': [
22         '<(INTERMEDIATE_DIR)',
23         '<(grit_out_dir)',
24       ],
25       'sources': [
26         'app_launch_for_metro_restart_win.cc',
27         'app_launch_for_metro_restart_win.h',
28         'app_launcher.cc',
29         'app_launcher.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',
35         'app_load_service.h',
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',
55         'apps_client.cc',
56         'apps_client.h',
57         'field_trial_names.cc',
58         'field_trial_names.h',
59         'launcher.cc',
60         'launcher.h',
61         'metrics_names.h',
62         'native_app_window.h',
63         'pref_names.cc',
64         'pref_names.h',
65         'prefs.cc',
66         'prefs.h',
67         'saved_files_service.cc',
68         'saved_files_service.h',
69         'saved_files_service_factory.cc',
70         'saved_files_service_factory.h',
71         'shell_window.cc',
72         'shell_window.h',
73         'shell_window_geometry_cache.cc',
74         'shell_window_geometry_cache.h',
75         'shell_window_registry.cc',
76         'shell_window_registry.h',
77         'switches.cc',
78         'switches.h',
79       ],
80       'conditions': [
81         ['chromeos==1',
82           {
83             'dependencies': [
84               'browser_chromeos',
85             ]
86           }
87         ],
88         ['enable_extensions==0',
89           {
90             'sources/': [
91               ['exclude', '^apps/'],
92             ],
93           }
94         ],
95       ],
96       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
97       'msvs_disabled_warnings': [ 4267, ],
98     },
99   ],