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