Roll WebKit 141933:141963
[chromium-blink-merge.git] / apps / apps.gypi
blob43f9cc50fbe43792325e9fa868093cd9da3fc31c
1 # Copyright (c) 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       ],
24       'sources': [
25         'app_restore_service.cc',
26         'app_restore_service.h',
27         'app_restore_service_factory.cc',
28         'app_restore_service_factory.h',
29       ],
30       'conditions': [
31         ['enable_extensions==0', {
32           'sources/': [
33             ['exclude', '^apps/'],
34           ],
35         }],
36       ],
37       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
38       'msvs_disabled_warnings': [ 4267, ],
39     },
40   ],