Allow only one bookmark to be added for multiple fast starring
[chromium-blink-merge.git] / components / components.gyp
blobd285576562a9e50ac6f03b61b2ebef0747eb43e9
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     'url_fixer.gypi',
78     'url_matcher.gypi',
79     'user_prefs.gypi',
80     'variations.gypi',
81     'version_info.gypi',
82     'wallpaper.gypi',
83     'web_resource.gypi',
84     'webdata.gypi',
85     'webdata_services.gypi',
86   ],
87   'conditions': [
88     ['OS == "android"', {
89       'includes': [
90         'external_video_surface.gypi',
91         'service_tab_launcher.gypi',
92       ],
93     }],
94     ['OS != "ios"', {
95       'includes': [
96         'app_modal.gypi',
97         'browsing_data.gypi',
98         'cdm.gypi',
99         'devtools_discovery.gypi',
100         'devtools_http_handler.gypi',
101         'drive.gypi',
102         'message_port.gypi',
103         'navigation_interception.gypi',
104         'power.gypi',
105         'safe_json.gypi',
106         'visitedlink.gypi',
107         'web_cache.gypi',
108         'web_contents_delegate_android.gypi',
109         'web_modal.gypi',
110       ],
111     }],
112     ['OS == "ios"', {
113       'includes': [
114         'open_from_clipboard.gypi',
115         'webp_transcode.gypi',
116       ],
117     }],
118     ['OS != "ios" and OS != "android"', {
119       'includes': [
120         'audio_modem.gypi',
121         'copresence.gypi',
122         'feedback.gypi',
123         'proximity_auth.gypi',
124         'storage_monitor.gypi',
125       ]
126     }],
127     ['chromeos == 1', {
128       'includes': [
129         'pairing.gypi',
130         'timers.gypi',
131         'wifi_sync.gypi',
132       ],
133     }],
134     ['OS == "win" or OS == "mac"', {
135       'includes': [
136         'wifi.gypi',
137       ],
138     }],
139     ['OS == "win"', {
140       'includes': [
141         'browser_watcher.gypi',
142       ],
143     }],
144     ['chromeos == 1 or use_ash == 1', {
145       'includes': [
146         'session_manager.gypi',
147         'user_manager.gypi',
148       ],
149     }],
150     ['toolkit_views==1', {
151       'includes': [
152         'constrained_window.gypi',
153       ],
154     }],
155     ['enable_basic_printing==1 or enable_print_preview==1', {
156       'includes': [
157         'printing.gypi',
158       ],
159     }],
160     ['enable_plugins==1', {
161       'includes': [
162         'pdf.gypi',
163       ],
164     }],
165     # TODO(tbarzic): Remove chromeos condition when there are non-chromeos apps
166     # in components/apps.
167     ['enable_extensions == 1 and chromeos == 1', {
168       'includes': [
169         'chrome_apps.gypi',
170       ],
171     }],
172     ['enable_rlz_support==1', {
173       'includes': [
174         'rlz.gypi',
175       ],
176     }]
177   ],