Linux: Depend on liberation-fonts package for RPMs.
[chromium-blink-merge.git] / components / components.gyp
blob054dff89aa9f7d1012cdf53953e5f2fbd9d0d178
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     'net_log.gypi',
53     'network_hints.gypi',
54     'network_time.gypi',
55     'offline_pages.gypi',
56     'omnibox.gypi',
57     'onc.gypi',
58     'open_from_clipboard.gypi',
59     'os_crypt.gypi',
60     'ownership.gypi',
61     'packed_ct_ev_whitelist.gypi',
62     'password_manager.gypi',
63     'plugins.gypi',
64     'policy.gypi',
65     'precache.gypi',
66     'pref_registry.gypi',
67     'proxy_config.gypi',
68     'query_parser.gypi',
69     'rappor.gypi',
70     'renderer_context_menu.gypi',
71     'search.gypi',
72     'search_engines.gypi',
73     'search_provider_logos.gypi',
74     'security_interstitials.gypi',
75     'sessions.gypi',
76     'signin.gypi',
77     'ssl_errors.gypi',
78     'startup_metric_utils.gypi',
79     'suggestions.gypi',
80     'sync_driver.gypi',
81     'syncable_prefs.gypi',
82     'toolbar.gypi',
83     'translate.gypi',
84     'ui_zoom.gypi',
85     'undo.gypi',
86     'update_client.gypi',
87     'upload_list.gypi',
88     'url_matcher.gypi',
89     'user_prefs.gypi',
90     'variations.gypi',
91     'version_info.gypi',
92     'wallpaper.gypi',
93     'web_resource.gypi',
94     'webdata.gypi',
95     'webdata_services.gypi',
96   ],
97   'conditions': [
98     ['OS == "android"', {
99       'includes': [
100         'external_video_surface.gypi',
101         'service_tab_launcher.gypi',
102       ],
103     }],
104     ['OS != "ios"', {
105       'includes': [
106         'app_modal.gypi',
107         'browsing_data.gypi',
108         'cdm.gypi',
109         'certificate_transparency.gypi',
110         'devtools_discovery.gypi',
111         'devtools_http_handler.gypi',
112         'drive.gypi',
113         'message_port.gypi',
114         'navigation_interception.gypi',
115         'page_load_metrics.gypi',
116         'power.gypi',
117         'safe_json.gypi',
118         'visitedlink.gypi',
119         'web_cache.gypi',
120         'web_contents_delegate_android.gypi',
121         'web_modal.gypi',
122       ],
123     }],
124     ['OS == "ios"', {
125       'includes': [
126         'webp_transcode.gypi',
127       ],
128     }],
129     ['OS != "ios" and OS != "android"', {
130       'includes': [
131         'audio_modem.gypi',
132         'copresence.gypi',
133         'feedback.gypi',
134         'proximity_auth.gypi',
135         'storage_monitor.gypi',
136         'webusb.gypi',
137       ]
138     }],
139     ['chromeos == 1', {
140       'includes': [
141         'pairing.gypi',
142         'timers.gypi',
143         'wifi_sync.gypi',
144       ],
145     }],
146     ['OS == "win" or OS == "mac"', {
147       'includes': [
148         'wifi.gypi',
149       ],
150     }],
151     ['OS == "win"', {
152       'includes': [
153         'browser_watcher.gypi',
154       ],
155     }],
156     ['chromeos == 1 or use_ash == 1', {
157       'includes': [
158         'session_manager.gypi',
159         'user_manager.gypi',
160       ],
161     }],
162     ['toolkit_views==1', {
163       'includes': [
164         'constrained_window.gypi',
165       ],
166     }],
167     ['enable_basic_printing==1 or enable_print_preview==1', {
168       'includes': [
169         'printing.gypi',
170       ],
171     }],
172     ['enable_plugins==1', {
173       'includes': [
174         'pdf.gypi',
175       ],
176     }],
177     # TODO(tbarzic): Remove chromeos condition when there are non-chromeos apps
178     # in components/apps.
179     ['enable_extensions == 1 and chromeos == 1', {
180       'includes': [
181         'chrome_apps.gypi',
182       ],
183     }],
184     ['enable_rlz_support==1', {
185       'includes': [
186         'rlz.gypi',
187       ],
188     }]
189   ],