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