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