Fix missing GN dependencies.
[chromium-blink-merge.git] / components / components.gyp
blob0bdfebb6ffdc147ebdec0be118b9946ff3d900f8
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   'variables': {
7     # This turns on e.g. the filename-based detection of which
8     # platforms to include source files on (e.g. files ending in
9     # _mac.h or _mac.cc are only compiled on MacOSX).
10     'chromium_code': 1,
11   },
12   'includes': [
13     'auto_login_parser.gypi',
14     'autofill.gypi',
15     'bookmarks.gypi',
16     'captive_portal.gypi',
17     'cloud_devices.gypi',
18     'component_updater.gypi',
19     'content_settings.gypi',
20     'crash.gypi',
21     'cronet.gypi',
22     'crx_file.gypi',
23     'data_reduction_proxy.gypi',
24     'device_event_log.gypi',
25     'dom_distiller.gypi',
26     'domain_reliability.gypi',
27     'enhanced_bookmarks.gypi',
28     'error_page.gypi',
29     'favicon.gypi',
30     'favicon_base.gypi',
31     'gcm_driver.gypi',
32     'google.gypi',
33     'guest_view.gypi',
34     'handoff.gypi',
35     'history.gypi',
36     'infobars.gypi',
37     'invalidation.gypi',
38     'json_schema.gypi',
39     'keyed_service.gypi',
40     'language_usage_metrics.gypi',
41     'leveldb_proto.gypi',
42     'login.gypi',
43     'metrics.gypi',
44     'navigation_metrics.gypi',
45     'network_hints.gypi',
46     'network_time.gypi',
47     'omnibox.gypi',
48     'onc.gypi',
49     'os_crypt.gypi',
50     'ownership.gypi',
51     'packed_ct_ev_whitelist.gypi',
52     'password_manager.gypi',
53     'plugins.gypi',
54     'policy.gypi',
55     'precache.gypi',
56     'pref_registry.gypi',
57     'query_parser.gypi',
58     'rappor.gypi',
59     'renderer_context_menu.gypi',
60     'search.gypi',
61     'search_engines.gypi',
62     'search_provider_logos.gypi',
63     'sessions.gypi',
64     'signin.gypi',
65     'startup_metric_utils.gypi',
66     'suggestions.gypi',
67     'sync_driver.gypi',
68     'translate.gypi',
69     'ui_zoom.gypi',
70     'undo.gypi',
71     'update_client.gypi',
72     'url_fixer.gypi',
73     'url_matcher.gypi',
74     'user_prefs.gypi',
75     'variations.gypi',
76     'wallpaper.gypi',
77     'web_resource.gypi',
78     'webdata.gypi',
79     'webdata_services.gypi',
80   ],
81   'conditions': [
82     ['OS == "android"', {
83       'includes': [
84         'external_video_surface.gypi',
85         'service_tab_launcher.gypi',
86       ],
87     }],
88     ['OS != "ios"', {
89       'includes': [
90         'app_modal.gypi',
91         'browsing_data.gypi',
92         'cdm.gypi',
93         'devtools_discovery.gypi',
94         'devtools_http_handler.gypi',
95         'navigation_interception.gypi',
96         'power.gypi',
97         'visitedlink.gypi',
98         'web_cache.gypi',
99         'web_contents_delegate_android.gypi',
100         'web_modal.gypi',
101         'webui_generator.gypi',
102       ],
103     }],
104     ['OS == "ios"', {
105       'includes': [
106         'open_from_clipboard.gypi',
107         'webp_transcode.gypi',
108       ],
109     }],
110     ['OS != "ios" and OS != "android"', {
111       'includes': [
112         'audio_modem.gypi',
113         'copresence.gypi',
114         'feedback.gypi',
115         'proximity_auth.gypi',
116         'storage_monitor.gypi',
117       ]
118     }],
119     ['chromeos == 1', {
120       'includes': [
121         'pairing.gypi',
122         'timers.gypi',
123         'wifi_sync.gypi',
124       ],
125     }],
126     ['OS == "win" or OS == "mac"', {
127       'includes': [
128         'wifi.gypi',
129       ],
130     }],
131     ['OS == "win"', {
132       'includes': [
133         'browser_watcher.gypi',
134       ],
135     }],
136     ['chromeos == 1 or use_ash == 1', {
137       'includes': [
138         'session_manager.gypi',
139         'user_manager.gypi',
140       ],
141     }],
142     ['toolkit_views==1', {
143       'includes': [
144         'constrained_window.gypi',
145       ],
146     }],
147     ['enable_basic_printing==1 or enable_print_preview==1', {
148       'includes': [
149         'printing.gypi',
150       ],
151     }],
152     ['enable_plugins==1', {
153       'includes': [
154         'pdf.gypi',
155       ],
156     }],
157     # TODO(tbarzic): Remove chromeos condition when there are non-chromeos apps
158     # in components/apps.
159     ['enable_extensions == 1 and chromeos == 1', {
160       'includes': [
161         'chrome_apps.gypi',
162       ],
163     }],
164   ],