Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / components / components.gyp
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.
4
5 {
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     'breakpad.gypi',
17     'captive_portal.gypi',
18     'cloud_devices.gypi',
19     'component_updater.gypi',
20     'content_settings.gypi',
21     'cronet.gypi',
22     'crx_file.gypi',
23     'data_reduction_proxy.gypi',
24     'dom_distiller.gypi',
25     'domain_reliability.gypi',
26     'enhanced_bookmarks.gypi',
27     'favicon.gypi',
28     'favicon_base.gypi',
29     'google.gypi',
30     'history.gypi',
31     'infobars.gypi',
32     'json_schema.gypi',
33     'keyed_service.gypi',
34     'language_usage_metrics.gypi',
35     'leveldb_proto.gypi',
36     'metrics.gypi',
37     'navigation_metrics.gypi',
38     'network_time.gypi',
39     'omaha_query_params.gypi',
40     'onc.gypi',
41     'os_crypt.gypi',
42     'password_manager.gypi',
43     'policy.gypi',
44     'precache.gypi',
45     'pref_registry.gypi',
46     'query_parser.gypi',
47     'rappor.gypi',
48     'search.gypi',
49     'search_provider_logos.gypi',
50     'signin.gypi',
51     'startup_metric_utils.gypi',
52     'suggestions.gypi',
53     'translate.gypi',
54     'url_fixer.gypi',
55     'url_matcher.gypi',
56     'user_prefs.gypi',
57     'variations.gypi',
58     'webdata.gypi',
59   ],
60   'conditions': [
61     ['OS != "ios"', {
62       'includes': [
63         'cdm.gypi',
64         'navigation_interception.gypi',
65         'plugins.gypi',
66         'power.gypi',
67         'sessions.gypi',
68         'visitedlink.gypi',
69         'web_contents_delegate_android.gypi',
70         'web_modal.gypi',
71       ],
72     }],
73     ['OS != "android"', {
74       'includes': [
75         'feedback.gypi',
76       ]
77     }],
78     ['OS != "ios" and OS != "android"', {
79       'includes': [
80         'copresence.gypi',
81         'storage_monitor.gypi',
82         'usb_service.gypi',
83       ]
84     }],
85     ['chromeos == 1', {
86       'includes': [
87         'pairing.gypi',
88       ],
89     }],
90     ['OS == "win" or OS == "mac"', {
91       'includes': [
92         'wifi.gypi',
93       ],
94     }],
95     ['use_ash==1', {
96       'includes': [
97         'session_manager.gypi',
98         'user_manager.gypi',
99       ],
100     }],
101     ['android_webview_build == 0', {
102       # Android WebView fails to build if a dependency on these targets is
103       # introduced.
104       'includes': [
105         'gcm_driver.gypi',
106         'omnibox.gypi',
107         'renderer_context_menu.gypi',
108         'search_engines.gypi',
109         'sync_driver.gypi',
110         'invalidation.gypi',
111       ],
112     }],
113   ],
114 }