Roll src/third_party/skia 1b6b626:d5d27d9
[chromium-blink-merge.git] / components / components.gyp
blobc8b1e35e231d5e3b029af2d8fa2697469132702b
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     'network_hints.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     'google.gypi',
32     'handoff.gypi',
33     'history.gypi',
34     'infobars.gypi',
35     'json_schema.gypi',
36     'keyed_service.gypi',
37     'language_usage_metrics.gypi',
38     'leveldb_proto.gypi',
39     'login.gypi',
40     'metrics.gypi',
41     'navigation_metrics.gypi',
42     'network_time.gypi',
43     'onc.gypi',
44     'os_crypt.gypi',
45     'ownership.gypi',
46     'packed_ct_ev_whitelist.gypi',
47     'password_manager.gypi',
48     'policy.gypi',
49     'precache.gypi',
50     'pref_registry.gypi',
51     'query_parser.gypi',
52     'rappor.gypi',
53     'search.gypi',
54     'search_provider_logos.gypi',
55     'sessions.gypi',
56     'signin.gypi',
57     'startup_metric_utils.gypi',
58     'suggestions.gypi',
59     'translate.gypi',
60     'ui_zoom.gypi',
61     'update_client.gypi',
62     'url_fixer.gypi',
63     'url_matcher.gypi',
64     'user_prefs.gypi',
65     'variations.gypi',
66     'wallpaper.gypi',
67     'webdata.gypi',
68     'web_resource.gypi',
69   ],
70   'conditions': [
71     ['OS != "ios"', {
72       'includes': [
73         'app_modal.gypi',
74         'cdm.gypi',
75         'navigation_interception.gypi',
76         'plugins.gypi',
77         'power.gypi',
78         'visitedlink.gypi',
79         'web_cache.gypi',
80         'web_contents_delegate_android.gypi',
81         'web_modal.gypi',
82       ],
83     }],
84     ['OS == "ios"', {
85       'includes': [
86         'webp_transcode.gypi',
87       ],
88     }],
89     ['OS != "android"', {
90       'includes': [
91         'feedback.gypi',
92       ]
93     }],
94     ['OS != "ios" and OS != "android"', {
95       'includes': [
96         'copresence.gypi',
97         'proximity_auth.gypi',
98         'storage_monitor.gypi',
99       ]
100     }],
101     ['chromeos == 1', {
102       'includes': [
103         'pairing.gypi',
104         'timers.gypi',
105         'wifi_sync.gypi',
106       ],
107     }],
108     ['OS == "win" or OS == "mac"', {
109       'includes': [
110         'wifi.gypi',
111       ],
112     }],
113     ['OS == "win"', {
114       'includes': [
115         'browser_watcher.gypi',
116       ],
117     }],
118     ['chromeos == 1 or use_ash == 1', {
119       'includes': [
120         'session_manager.gypi',
121         'user_manager.gypi',
122       ],
123     }],
124     ['toolkit_views==1', {
125       'includes': [
126         'constrained_window.gypi',
127       ],
128     }],
129     ['android_webview_build == 0', {
130       # Android WebView fails to build if a dependency on these targets is
131       # introduced.
132       'includes': [
133         'gcm_driver.gypi',
134         'omnibox.gypi',
135         'renderer_context_menu.gypi',
136         'search_engines.gypi',
137         'sync_driver.gypi',
138         'invalidation.gypi',
139         'webdata_services.gypi',
140       ],
141     }],
142     ['enable_basic_printing==1 or enable_print_preview==1', {
143       'includes': [
144         'printing.gypi',
145       ],
146     }],
147     ['enable_plugins==1', {
148       'includes': [
149         'pdf.gypi',
150       ],
151     }],
152   ],