[Sync] Add auto-generated ModelType in Java.
[chromium-blink-merge.git] / components / components.gyp
blob21181b178a1aeb7bc2970f0aaf83989be0e2e0e8
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     'security_interstitials.gypi',
67     'sessions.gypi',
68     'signin.gypi',
69     'startup_metric_utils.gypi',
70     'suggestions.gypi',
71     'sync_driver.gypi',
72     'toolbar.gypi',
73     'translate.gypi',
74     'ui_zoom.gypi',
75     'undo.gypi',
76     'update_client.gypi',
77     'upload_list.gypi',
78     'url_fixer.gypi',
79     'url_matcher.gypi',
80     'user_prefs.gypi',
81     'variations.gypi',
82     'version_info.gypi',
83     'wallpaper.gypi',
84     'web_resource.gypi',
85     'webdata.gypi',
86     'webdata_services.gypi',
87   ],
88   'conditions': [
89     ['OS == "android"', {
90       'includes': [
91         'external_video_surface.gypi',
92         'service_tab_launcher.gypi',
93       ],
94     }],
95     ['OS != "ios"', {
96       'includes': [
97         'app_modal.gypi',
98         'browsing_data.gypi',
99         'cdm.gypi',
100         'devtools_discovery.gypi',
101         'devtools_http_handler.gypi',
102         'drive.gypi',
103         'message_port.gypi',
104         'navigation_interception.gypi',
105         'power.gypi',
106         'safe_json.gypi',
107         'visitedlink.gypi',
108         'web_cache.gypi',
109         'web_contents_delegate_android.gypi',
110         'web_modal.gypi',
111       ],
112     }],
113     ['OS == "ios"', {
114       'includes': [
115         'open_from_clipboard.gypi',
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   ],