[MacViews] Implement size constraints for app windows.
[chromium-blink-merge.git] / components / components.gyp
blob9871bb1fd62e6775a166475726749f2b3d6ab1d0
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     'network_hints.gypi',
26     'dom_distiller.gypi',
27     'domain_reliability.gypi',
28     'enhanced_bookmarks.gypi',
29     'error_page.gypi',
30     'favicon_base.gypi',
31     'google.gypi',
32     'handoff.gypi',
33     'infobars.gypi',
34     'json_schema.gypi',
35     'keyed_service.gypi',
36     'language_usage_metrics.gypi',
37     'leveldb_proto.gypi',
38     'login.gypi',
39     'metrics.gypi',
40     'navigation_metrics.gypi',
41     'network_time.gypi',
42     'onc.gypi',
43     'os_crypt.gypi',
44     'ownership.gypi',
45     'packed_ct_ev_whitelist.gypi',
46     'password_manager.gypi',
47     'policy.gypi',
48     'precache.gypi',
49     'pref_registry.gypi',
50     'query_parser.gypi',
51     'rappor.gypi',
52     'search.gypi',
53     'search_provider_logos.gypi',
54     'sessions.gypi',
55     'signin.gypi',
56     'startup_metric_utils.gypi',
57     'suggestions.gypi',
58     'translate.gypi',
59     'ui_zoom.gypi',
60     'update_client.gypi',
61     'url_fixer.gypi',
62     'url_matcher.gypi',
63     'user_prefs.gypi',
64     'variations.gypi',
65     'wallpaper.gypi',
66     'web_resource.gypi',
67     'webdata.gypi',
68   ],
69   'conditions': [
70     ['OS != "ios"', {
71       'includes': [
72         'app_modal.gypi',
73         'cdm.gypi',
74         'navigation_interception.gypi',
75         'plugins.gypi',
76         'power.gypi',
77         'visitedlink.gypi',
78         'web_cache.gypi',
79         'web_contents_delegate_android.gypi',
80         'web_modal.gypi',
81         'webui_generator.gypi',
82       ],
83     }],
84     ['OS == "ios"', {
85       'includes': [
86         'open_from_clipboard.gypi',
87         'webp_transcode.gypi',
88       ],
89     }],
90     ['OS != "ios" and OS != "android"', {
91       'includes': [
92         'audio_modem.gypi',
93         'copresence.gypi',
94         'feedback.gypi',
95         'proximity_auth.gypi',
96         'storage_monitor.gypi',
97       ]
98     }],
99     ['chromeos == 1', {
100       'includes': [
101         'pairing.gypi',
102         'timers.gypi',
103         'wifi_sync.gypi',
104       ],
105     }],
106     ['OS == "win" or OS == "mac"', {
107       'includes': [
108         'wifi.gypi',
109       ],
110     }],
111     ['OS == "win"', {
112       'includes': [
113         'browser_watcher.gypi',
114       ],
115     }],
116     ['chromeos == 1 or use_ash == 1', {
117       'includes': [
118         'session_manager.gypi',
119         'user_manager.gypi',
120       ],
121     }],
122     ['toolkit_views==1', {
123       'includes': [
124         'constrained_window.gypi',
125       ],
126     }],
127     ['android_webview_build == 0', {
128       # Android WebView fails to build if a dependency on these targets is
129       # introduced.
130       'includes': [
131         'favicon.gypi',
132         'gcm_driver.gypi',
133         'history.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   ],