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