GaiaOAuthClient::Core::GetUserInfo() does not need to send or receive cookies.
[chromium-blink-merge.git] / extensions / extensions.gyp
blobce04afaa3b389557540ed4553e6427bd41809950
1 # Copyright 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     'chromium_code': 1,
8   },
9   'targets': [
10     {
11       'target_name': 'extensions_common',
12       'type': 'static_library',
13       'dependencies': [
14         # TODO(benwells): figure out what to do with the api target and
15         # api resources compiled into the chrome resource bundle.
16         # http://crbug.com/162530
17         '../chrome/chrome_resources.gyp:chrome_resources',
18         '../chrome/common/extensions/api/api.gyp:api',
19         '../components/components.gyp:url_matcher',
20         '../content/content.gyp:content_common',
21         '../third_party/re2/re2.gyp:re2',
22       ],
23       'include_dirs': [
24         '..',
25         '<(INTERMEDIATE_DIR)',
26       ],
27       'sources': [
28         'common/crx_file.cc',
29         'common/crx_file.h',
30         'common/csp_validator.cc',
31         'common/csp_validator.h',
32         'common/draggable_region.cc',
33         'common/draggable_region.h',
34         'common/error_utils.cc',
35         'common/error_utils.h',
36         'common/event_filter.cc',
37         'common/event_filter.h',
38         'common/event_filtering_info.cc',
39         'common/event_filtering_info.h',
40         'common/event_matcher.cc',
41         'common/event_matcher.h',
42         'common/extension.cc',
43         'common/extension.h',
44         'common/extension_api.cc',
45         'common/extension_api.h',
46         'common/extension_api_stub.cc',
47         'common/extension_paths.cc',
48         'common/extension_paths.h',
49         'common/extension_resource.cc',
50         'common/extension_resource.h',
51         'common/extension_urls.cc',
52         'common/extension_urls.h',
53         'common/extensions_client.cc',
54         'common/extensions_client.h',
55         'common/feature_switch.cc',
56         'common/feature_switch.h',
57         'common/features/feature.cc',
58         'common/features/feature.h',
59         'common/features/feature_provider.cc',
60         'common/features/feature_provider.h',
61         'common/file_util.cc',
62         'common/file_util.h',
63         'common/id_util.cc',
64         'common/id_util.h',
65         'common/install_warning.cc',
66         'common/install_warning.h',
67         'common/manifest.cc',
68         'common/manifest.h',
69         'common/manifest_constants.cc',
70         'common/manifest_constants.h',
71         'common/manifest_handler.cc',
72         'common/manifest_handler.h',
73         'common/manifest_handlers/background_info.cc',
74         'common/manifest_handlers/background_info.h',
75         'common/manifest_handlers/csp_info.cc',
76         'common/manifest_handlers/csp_info.h',
77         'common/manifest_handlers/incognito_info.cc',
78         'common/manifest_handlers/incognito_info.h',
79         'common/manifest_handlers/kiosk_mode_info.cc',
80         'common/manifest_handlers/kiosk_mode_info.h',
81         'common/manifest_handlers/offline_enabled_info.cc',
82         'common/manifest_handlers/offline_enabled_info.h',
83         'common/manifest_handlers/requirements_info.h',
84         'common/manifest_handlers/requirements_info.cc',
85         'common/manifest_handlers/sandboxed_page_info.cc',
86         'common/manifest_handlers/sandboxed_page_info.h',
87         'common/manifest_handlers/shared_module_info.cc',
88         'common/manifest_handlers/shared_module_info.h',
89         'common/one_shot_event.cc',
90         'common/one_shot_event.h',
91         'common/permissions/api_permission.cc',
92         'common/permissions/api_permission.h',
93         'common/permissions/api_permission_set.cc',
94         'common/permissions/api_permission_set.h',
95         'common/permissions/base_set_operators.h',
96         'common/permissions/manifest_permission.cc',
97         'common/permissions/manifest_permission.h',
98         'common/permissions/manifest_permission_set.cc',
99         'common/permissions/manifest_permission_set.h',
100         'common/permissions/permission_message.cc',
101         'common/permissions/permission_message.h',
102         'common/permissions/permission_message_provider.cc',
103         'common/permissions/permission_message_provider.h',
104         'common/permissions/permission_set.cc',
105         'common/permissions/permission_set.h',
106         'common/permissions/permissions_data.cc',
107         'common/permissions/permissions_data.h',
108         'common/permissions/permissions_info.cc',
109         'common/permissions/permissions_info.h',
110         'common/permissions/permissions_provider.h',
111         'common/stack_frame.cc',
112         'common/stack_frame.h',
113         'common/switches.cc',
114         'common/switches.h',
115         'common/url_pattern.cc',
116         'common/url_pattern.h',
117         'common/url_pattern_set.cc',
118         'common/url_pattern_set.h',
119         'common/user_script.cc',
120         'common/user_script.h',
121         'common/view_type.cc',
122         'common/view_type.h',
123       ],
124       # Disable c4267 warnings until we fix size_t to int truncations.
125       'msvs_disabled_warnings': [ 4267, ],
126       'conditions': [
127         ['enable_extensions==1', {
128           'sources!': [
129             'common/extension_api_stub.cc',
130           ],
131         }, {  # enable_extensions == 0
132           'sources!': [
133             'common/extension_api.cc',
134           ],
135         }],
136       ],
137     },
138     {
139       'target_name': 'extensions_browser',
140       'type': 'static_library',
141       'dependencies': [
142         'extensions_common',
143         # TODO(jamescook|derat): Pull strings into extensions module.
144         '../chrome/chrome_resources.gyp:chrome_strings',
145         '../chrome/common/extensions/api/api.gyp:api',
146         '../content/content.gyp:content_browser',
147         '../skia/skia.gyp:skia',
148       ],
149       'include_dirs': [
150         '..',
151         '<(INTERMEDIATE_DIR)',
152         # Needed to access generated API headers.
153         '<(SHARED_INTERMEDIATE_DIR)',
154         # Needed for grit.
155         '<(SHARED_INTERMEDIATE_DIR)/chrome',
156       ],
157       'sources': [
158         'browser/admin_policy.cc',
159         'browser/admin_policy.h',
160         'browser/app_sorting.h',
161         'browser/event_listener_map.cc',
162         'browser/event_listener_map.h',
163         'browser/event_router.cc',
164         'browser/event_router.h',
165         'browser/extension_prefs_scope.h',
166         'browser/extension_error.cc',
167         'browser/extension_error.h',
168         'browser/extension_function.cc',
169         'browser/extension_function.h',
170         'browser/extensions_browser_client.cc',
171         'browser/extensions_browser_client.h',
172         'browser/external_provider_interface.h',
173         'browser/info_map.cc',
174         'browser/info_map.h',
175         'browser/file_highlighter.cc',
176         'browser/file_highlighter.h',
177         'browser/file_reader.cc',
178         'browser/file_reader.h',
179         'browser/lazy_background_task_queue.cc',
180         'browser/lazy_background_task_queue.h',
181         'browser/management_policy.cc',
182         'browser/management_policy.h',
183         'browser/pending_extension_info.cc',
184         'browser/pending_extension_info.h',
185         'browser/pending_extension_manager.cc',
186         'browser/pending_extension_manager.h',
187         'browser/pref_names.cc',
188         'browser/pref_names.h',
189         'browser/process_manager.cc',
190         'browser/process_manager.h',
191         'browser/process_map.cc',
192         'browser/process_map.h',
193         'browser/quota_service.cc',
194         'browser/quota_service.h',
195         'browser/update_observer.h',
196         'browser/view_type_utils.cc',
197         'browser/view_type_utils.h',
198       ],
199       # Disable c4267 warnings until we fix size_t to int truncations.
200       'msvs_disabled_warnings': [ 4267, ],
201     },
202   ]