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