Roll src/third_party/WebKit 605a979:06cb9e9 (svn 202556:202558)
[chromium-blink-merge.git] / components / components.gyp
bloba4daf8cae61a13cb80fac79452dbfe29f7a8b129
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     'about_handler.gypi',
14     'auto_login_parser.gypi',
15     'autofill.gypi',
16     'bookmarks.gypi',
17     'bubble.gypi',
18     'captive_portal.gypi',
19     'certificate_reporting.gypi',
20     'cloud_devices.gypi',
21     'component_updater.gypi',
22     'compression.gypi',
23     'content_settings.gypi',
24     'crash.gypi',
25     'crash_keys.gypi',
26     'cronet.gypi',
27     'crx_file.gypi',
28     'data_reduction_proxy.gypi',
29     'data_use_measurement.gypi',
30     'device_event_log.gypi',
31     'dom_distiller.gypi',
32     'domain_reliability.gypi',
33     'enhanced_bookmarks.gypi',
34     'error_page.gypi',
35     'favicon.gypi',
36     'favicon_base.gypi',
37     'gcm_driver.gypi',
38     'google.gypi',
39     'guest_view.gypi',
40     'handoff.gypi',
41     'history.gypi',
42     'infobars.gypi',
43     'invalidation.gypi',
44     'json_schema.gypi',
45     'keyed_service.gypi',
46     'language_usage_metrics.gypi',
47     'leveldb_proto.gypi',
48     'login.gypi',
49     'memory_pressure.gypi',
50     'metrics.gypi',
51     'navigation_metrics.gypi',
52     'network_hints.gypi',
53     'network_time.gypi',
54     'offline_pages.gypi',
55     'omnibox.gypi',
56     'onc.gypi',
57     'open_from_clipboard.gypi',
58     'os_crypt.gypi',
59     'ownership.gypi',
60     'packed_ct_ev_whitelist.gypi',
61     'password_manager.gypi',
62     'plugins.gypi',
63     'policy.gypi',
64     'precache.gypi',
65     'pref_registry.gypi',
66     'proxy_config.gypi',
67     'query_parser.gypi',
68     'rappor.gypi',
69     'renderer_context_menu.gypi',
70     'search.gypi',
71     'search_engines.gypi',
72     'search_provider_logos.gypi',
73     'security_interstitials.gypi',
74     'sessions.gypi',
75     'signin.gypi',
76     'ssl_errors.gypi',
77     'startup_metric_utils.gypi',
78     'suggestions.gypi',
79     'sync_driver.gypi',
80     'syncable_prefs.gypi',
81     'toolbar.gypi',
82     'translate.gypi',
83     'ui_zoom.gypi',
84     'undo.gypi',
85     'update_client.gypi',
86     'upload_list.gypi',
87     'url_matcher.gypi',
88     'user_prefs.gypi',
89     'variations.gypi',
90     'version_info.gypi',
91     'wallpaper.gypi',
92     'web_resource.gypi',
93     'webdata.gypi',
94     'webdata_services.gypi',
95   ],
96   'conditions': [
97     ['OS == "android"', {
98       'includes': [
99         'external_video_surface.gypi',
100         'service_tab_launcher.gypi',
101       ],
102     }],
103     ['OS != "ios"', {
104       'includes': [
105         'app_modal.gypi',
106         'browsing_data.gypi',
107         'cdm.gypi',
108         'certificate_transparency.gypi',
109         'devtools_discovery.gypi',
110         'devtools_http_handler.gypi',
111         'drive.gypi',
112         'message_port.gypi',
113         'navigation_interception.gypi',
114         'power.gypi',
115         'safe_json.gypi',
116         'visitedlink.gypi',
117         'web_cache.gypi',
118         'web_contents_delegate_android.gypi',
119         'web_modal.gypi',
120       ],
121     }],
122     ['OS == "ios"', {
123       'includes': [
124         'webp_transcode.gypi',
125       ],
126     }],
127     ['OS != "ios" and OS != "android"', {
128       'includes': [
129         'audio_modem.gypi',
130         'copresence.gypi',
131         'feedback.gypi',
132         'proximity_auth.gypi',
133         'storage_monitor.gypi',
134         'webusb.gypi',
135       ]
136     }],
137     ['chromeos == 1', {
138       'includes': [
139         'pairing.gypi',
140         'timers.gypi',
141         'wifi_sync.gypi',
142       ],
143     }],
144     ['OS == "win" or OS == "mac"', {
145       'includes': [
146         'wifi.gypi',
147       ],
148     }],
149     ['OS == "win"', {
150       'includes': [
151         'browser_watcher.gypi',
152       ],
153     }],
154     ['chromeos == 1 or use_ash == 1', {
155       'includes': [
156         'session_manager.gypi',
157         'user_manager.gypi',
158       ],
159     }],
160     ['toolkit_views==1', {
161       'includes': [
162         'constrained_window.gypi',
163       ],
164     }],
165     ['enable_basic_printing==1 or enable_print_preview==1', {
166       'includes': [
167         'printing.gypi',
168       ],
169     }],
170     ['enable_plugins==1', {
171       'includes': [
172         'pdf.gypi',
173       ],
174     }],
175     # TODO(tbarzic): Remove chromeos condition when there are non-chromeos apps
176     # in components/apps.
177     ['enable_extensions == 1 and chromeos == 1', {
178       'includes': [
179         'chrome_apps.gypi',
180       ],
181     }],
182     ['enable_rlz_support==1', {
183       'includes': [
184         'rlz.gypi',
185       ],
186     }]
187   ],