Adds shutdown when FrameTreeServer goes away
[chromium-blink-merge.git] / components / web_resource.gypi
blob59e25510995a5698f5278b4bc3004fa3024fa150
1 # Copyright 2014 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       # GN version: //components/web_resource
9       'target_name': 'web_resource',
10       'type': 'static_library',
11       'include_dirs': [
12         '..',
13       ],
14       'dependencies': [
15         '../base/base.gyp:base',
16         '../ui/base/ui_base.gyp:ui_base',
17         '../net/net.gyp:net',
18         'pref_registry',
19         'version_info',
20       ],
21       'sources': [
22         'web_resource/eula_accepted_notifier.cc',
23         'web_resource/eula_accepted_notifier.h',
24         'web_resource/notification_promo.cc',
25         'web_resource/notification_promo.h',
26         'web_resource/notification_promo_mobile_ntp.cc',
27         'web_resource/notification_promo_mobile_ntp.h',
28         'web_resource/promo_resource_service.cc',
29         'web_resource/promo_resource_service.h',
30         'web_resource/resource_request_allowed_notifier.cc',
31         'web_resource/resource_request_allowed_notifier.h',
32         'web_resource/web_resource_pref_names.cc',
33         'web_resource/web_resource_pref_names.h',
34         'web_resource/web_resource_service.cc',
35         'web_resource/web_resource_service.h',
36         'web_resource/web_resource_switches.cc',
37         'web_resource/web_resource_switches.h',
38       ],
39       'conditions': [
40         ['OS!="ios" and OS!="android"', {
41           'sources!': [
42             'web_resource/notification_promo_mobile_ntp.cc',
43             'web_resource/notification_promo_mobile_ntp.h',
44           ],
45         }],
46       ],
47     },
48     {
49       # GN version: //components/web_resources:test_support
50       'target_name': 'web_resource_test_support',
51       'type': 'static_library',
52       'include_dirs': [
53         '..',
54       ],
55       'dependencies': [
56         'web_resource',
57       ],
58       'sources': [
59         'web_resource/resource_request_allowed_notifier_test_util.cc',
60         'web_resource/resource_request_allowed_notifier_test_util.h',
61       ],
62     },
63   ],