Enforce lowercase switches when calling CommandLine::HasSwitch.
[chromium-blink-merge.git] / components / components.gyp
blob67988d1207cb3d23908c578d8c2764b2cb21d862
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     'handoff.gypi',
34     'history.gypi',
35     'infobars.gypi',
36     'invalidation.gypi',
37     'json_schema.gypi',
38     'keyed_service.gypi',
39     'language_usage_metrics.gypi',
40     'leveldb_proto.gypi',
41     'login.gypi',
42     'metrics.gypi',
43     'navigation_metrics.gypi',
44     'network_hints.gypi',
45     'network_time.gypi',
46     'omnibox.gypi',
47     'onc.gypi',
48     'os_crypt.gypi',
49     'ownership.gypi',
50     'packed_ct_ev_whitelist.gypi',
51     'password_manager.gypi',
52     'policy.gypi',
53     'precache.gypi',
54     'pref_registry.gypi',
55     'query_parser.gypi',
56     'rappor.gypi',
57     'renderer_context_menu.gypi',
58     'search.gypi',
59     'search_engines.gypi',
60     'search_provider_logos.gypi',
61     'sessions.gypi',
62     'signin.gypi',
63     'startup_metric_utils.gypi',
64     'suggestions.gypi',
65     'sync_driver.gypi',
66     'translate.gypi',
67     'ui_zoom.gypi',
68     'update_client.gypi',
69     'url_fixer.gypi',
70     'url_matcher.gypi',
71     'user_prefs.gypi',
72     'variations.gypi',
73     'wallpaper.gypi',
74     'web_resource.gypi',
75     'webdata.gypi',
76     'webdata_services.gypi',
77   ],
78   'conditions': [
79     ['OS == "android"', {
80       'includes': [
81         'service_tab_launcher.gypi',
82       ],
83     }],
84     ['OS != "ios"', {
85       'includes': [
86         'app_modal.gypi',
87         'browsing_data.gypi',
88         'cdm.gypi',
89         'navigation_interception.gypi',
90         'plugins.gypi',
91         'power.gypi',
92         'visitedlink.gypi',
93         'web_cache.gypi',
94         'web_contents_delegate_android.gypi',
95         'web_modal.gypi',
96         'webui_generator.gypi',
97       ],
98     }],
99     ['OS == "ios"', {
100       'includes': [
101         'open_from_clipboard.gypi',
102         'webp_transcode.gypi',
103       ],
104     }],
105     ['OS != "ios" and OS != "android"', {
106       'includes': [
107         'audio_modem.gypi',
108         'copresence.gypi',
109         'feedback.gypi',
110         'proximity_auth.gypi',
111         'storage_monitor.gypi',
112       ]
113     }],
114     ['chromeos == 1', {
115       'includes': [
116         'pairing.gypi',
117         'timers.gypi',
118         'wifi_sync.gypi',
119       ],
120     }],
121     ['OS == "win" or OS == "mac"', {
122       'includes': [
123         'wifi.gypi',
124       ],
125     }],
126     ['OS == "win"', {
127       'includes': [
128         'browser_watcher.gypi',
129       ],
130     }],
131     ['chromeos == 1 or use_ash == 1', {
132       'includes': [
133         'session_manager.gypi',
134         'user_manager.gypi',
135       ],
136     }],
137     ['toolkit_views==1', {
138       'includes': [
139         'constrained_window.gypi',
140       ],
141     }],
142     ['enable_basic_printing==1 or enable_print_preview==1', {
143       'includes': [
144         'printing.gypi',
145       ],
146     }],
147     ['enable_plugins==1', {
148       'includes': [
149         'pdf.gypi',
150       ],
151     }],
152   ],