Revert of Pepper: Fix reentrancy problem in PepperPluginInstanceImpl. (patchset ...
[chromium-blink-merge.git] / components / components.gyp
blobf8dee130bd6ccefd15b196a377aed353fe378510
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     'plugins.gypi',
53     'policy.gypi',
54     'precache.gypi',
55     'pref_registry.gypi',
56     'query_parser.gypi',
57     'rappor.gypi',
58     'renderer_context_menu.gypi',
59     'search.gypi',
60     'search_engines.gypi',
61     'search_provider_logos.gypi',
62     'sessions.gypi',
63     'signin.gypi',
64     'startup_metric_utils.gypi',
65     'suggestions.gypi',
66     'sync_driver.gypi',
67     'translate.gypi',
68     'ui_zoom.gypi',
69     'undo.gypi',
70     'update_client.gypi',
71     'url_fixer.gypi',
72     'url_matcher.gypi',
73     'user_prefs.gypi',
74     'variations.gypi',
75     'wallpaper.gypi',
76     'web_resource.gypi',
77     'webdata.gypi',
78     'webdata_services.gypi',
79   ],
80   'conditions': [
81     ['OS == "android"', {
82       'includes': [
83         'service_tab_launcher.gypi',
84       ],
85     }],
86     ['OS != "ios"', {
87       'includes': [
88         'app_modal.gypi',
89         'browsing_data.gypi',
90         'cdm.gypi',
91         'devtools_discovery.gypi',
92         'devtools_http_handler.gypi',
93         'navigation_interception.gypi',
94         'power.gypi',
95         'visitedlink.gypi',
96         'web_cache.gypi',
97         'web_contents_delegate_android.gypi',
98         'web_modal.gypi',
99         'webui_generator.gypi',
100       ],
101     }],
102     ['OS == "ios"', {
103       'includes': [
104         'open_from_clipboard.gypi',
105         'webp_transcode.gypi',
106       ],
107     }],
108     ['OS != "ios" and OS != "android"', {
109       'includes': [
110         'audio_modem.gypi',
111         'copresence.gypi',
112         'feedback.gypi',
113         'proximity_auth.gypi',
114         'storage_monitor.gypi',
115       ]
116     }],
117     ['chromeos == 1', {
118       'includes': [
119         'pairing.gypi',
120         'timers.gypi',
121         'wifi_sync.gypi',
122       ],
123     }],
124     ['OS == "win" or OS == "mac"', {
125       'includes': [
126         'wifi.gypi',
127       ],
128     }],
129     ['OS == "win"', {
130       'includes': [
131         'browser_watcher.gypi',
132       ],
133     }],
134     ['chromeos == 1 or use_ash == 1', {
135       'includes': [
136         'session_manager.gypi',
137         'user_manager.gypi',
138       ],
139     }],
140     ['toolkit_views==1', {
141       'includes': [
142         'constrained_window.gypi',
143       ],
144     }],
145     ['enable_basic_printing==1 or enable_print_preview==1', {
146       'includes': [
147         'printing.gypi',
148       ],
149     }],
150     ['enable_plugins==1', {
151       'includes': [
152         'pdf.gypi',
153       ],
154     }],
155     # TODO(tbarzic): Remove chromeos condition when there are non-chromeos apps
156     # in components/apps.
157     ['enable_extensions == 1 and chromeos == 1', {
158       'includes': [
159         'chrome_apps.gypi',
160       ],
161     }],
162   ],