Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Side by Side Diff: chrome/chrome_common.gypi

Issue 673663004: Android: Do not build any extensions code except for extensions_constants. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@zoom_controller
Patch Set: fix merge conflict Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/chrome_renderer.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 # File lists shared with GN build. 7 # File lists shared with GN build.
8 'chrome_common_sources': [ 8 'chrome_common_sources': [
9 'common/all_messages.h', 9 'common/all_messages.h',
10 'common/attrition_experiments.h', 10 'common/attrition_experiments.h',
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 'common/common_param_traits.h', 44 'common/common_param_traits.h',
45 'common/common_param_traits_macros.h', 45 'common/common_param_traits_macros.h',
46 'common/content_restriction.h', 46 'common/content_restriction.h',
47 'common/content_settings_pattern_serializer.cc', 47 'common/content_settings_pattern_serializer.cc',
48 'common/content_settings_pattern_serializer.h', 48 'common/content_settings_pattern_serializer.h',
49 'common/crash_keys.cc', 49 'common/crash_keys.cc',
50 'common/crash_keys.h', 50 'common/crash_keys.h',
51 'common/custom_handlers/protocol_handler.cc', 51 'common/custom_handlers/protocol_handler.cc',
52 'common/custom_handlers/protocol_handler.h', 52 'common/custom_handlers/protocol_handler.h',
53 'common/descriptors_android.h', 53 'common/descriptors_android.h',
54 'common/extensions/chrome_extension_messages.h',
55 'common/extensions/chrome_extensions_client.cc',
56 'common/extensions/chrome_extensions_client.h',
57 'common/extensions/chrome_utility_extensions_messages.h',
58 'common/extensions/extension_constants.cc',
59 'common/extensions/extension_constants.h',
60 'common/extensions/features/chrome_channel_feature_filter.cc',
61 'common/extensions/features/chrome_channel_feature_filter.h',
62 'common/extensions/features/feature_channel.cc',
63 'common/extensions/features/feature_channel.h',
64 'common/extensions/permissions/chrome_api_permissions.cc',
65 'common/extensions/permissions/chrome_api_permissions.h',
66 'common/extensions/permissions/chrome_permission_message_provider.cc',
67 'common/extensions/permissions/chrome_permission_message_provider.h',
68 'common/favicon/favicon_url_parser.cc', 54 'common/favicon/favicon_url_parser.cc',
69 'common/favicon/favicon_url_parser.h', 55 'common/favicon/favicon_url_parser.h',
70 'common/icon_with_badge_image_source.cc', 56 'common/icon_with_badge_image_source.cc',
71 'common/icon_with_badge_image_source.h', 57 'common/icon_with_badge_image_source.h',
72 'common/ini_parser.cc', 58 'common/ini_parser.cc',
73 'common/ini_parser.h', 59 'common/ini_parser.h',
74 'common/instant_restricted_id_cache.h', 60 'common/instant_restricted_id_cache.h',
75 'common/instant_types.cc', 61 'common/instant_types.cc',
76 'common/instant_types.h', 62 'common/instant_types.h',
77 'common/localized_error.cc', 63 'common/localized_error.cc',
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 'common/extensions/api/storage/storage_schema_manifest_handler.cc', 151 'common/extensions/api/storage/storage_schema_manifest_handler.cc',
166 'common/extensions/api/storage/storage_schema_manifest_handler.h', 152 'common/extensions/api/storage/storage_schema_manifest_handler.h',
167 'common/extensions/api/supervised_user_private/supervised_user_handler.cc' , 153 'common/extensions/api/supervised_user_private/supervised_user_handler.cc' ,
168 'common/extensions/api/supervised_user_private/supervised_user_handler.h', 154 'common/extensions/api/supervised_user_private/supervised_user_handler.h',
169 'common/extensions/api/system_indicator/system_indicator_handler.cc', 155 'common/extensions/api/system_indicator/system_indicator_handler.cc',
170 'common/extensions/api/system_indicator/system_indicator_handler.h', 156 'common/extensions/api/system_indicator/system_indicator_handler.h',
171 'common/extensions/api/url_handlers/url_handlers_parser.cc', 157 'common/extensions/api/url_handlers/url_handlers_parser.cc',
172 'common/extensions/api/url_handlers/url_handlers_parser.h', 158 'common/extensions/api/url_handlers/url_handlers_parser.h',
173 'common/extensions/api/webstore/webstore_api_constants.cc', 159 'common/extensions/api/webstore/webstore_api_constants.cc',
174 'common/extensions/api/webstore/webstore_api_constants.h', 160 'common/extensions/api/webstore/webstore_api_constants.h',
161 'common/extensions/chrome_extension_messages.h',
162 'common/extensions/chrome_extensions_client.cc',
163 'common/extensions/chrome_extensions_client.h',
175 'common/extensions/chrome_manifest_handlers.cc', 164 'common/extensions/chrome_manifest_handlers.cc',
176 'common/extensions/chrome_manifest_handlers.h', 165 'common/extensions/chrome_manifest_handlers.h',
177 'common/extensions/chrome_manifest_url_handlers.cc', 166 'common/extensions/chrome_manifest_url_handlers.cc',
178 'common/extensions/chrome_manifest_url_handlers.h', 167 'common/extensions/chrome_manifest_url_handlers.h',
168 'common/extensions/chrome_utility_extensions_messages.h',
179 'common/extensions/command.cc', 169 'common/extensions/command.cc',
180 'common/extensions/command.h', 170 'common/extensions/command.h',
171 'common/extensions/extension_constants.cc',
172 'common/extensions/extension_constants.h',
181 'common/extensions/extension_file_util.cc', 173 'common/extensions/extension_file_util.cc',
182 'common/extensions/extension_file_util.h', 174 'common/extensions/extension_file_util.h',
183 'common/extensions/extension_process_policy.cc', 175 'common/extensions/extension_process_policy.cc',
184 'common/extensions/extension_process_policy.h', 176 'common/extensions/extension_process_policy.h',
177 'common/extensions/features/chrome_channel_feature_filter.cc',
178 'common/extensions/features/chrome_channel_feature_filter.h',
179 'common/extensions/features/feature_channel.cc',
180 'common/extensions/features/feature_channel.h',
185 'common/extensions/image_writer/image_writer_util_mac.cc', 181 'common/extensions/image_writer/image_writer_util_mac.cc',
186 'common/extensions/image_writer/image_writer_util_mac.h', 182 'common/extensions/image_writer/image_writer_util_mac.h',
187 'common/extensions/manifest_handlers/app_isolation_info.cc', 183 'common/extensions/manifest_handlers/app_isolation_info.cc',
188 'common/extensions/manifest_handlers/app_isolation_info.h', 184 'common/extensions/manifest_handlers/app_isolation_info.h',
189 'common/extensions/manifest_handlers/app_launch_info.cc', 185 'common/extensions/manifest_handlers/app_launch_info.cc',
190 'common/extensions/manifest_handlers/app_launch_info.h', 186 'common/extensions/manifest_handlers/app_launch_info.h',
191 'common/extensions/manifest_handlers/automation.cc', 187 'common/extensions/manifest_handlers/automation.cc',
192 'common/extensions/manifest_handlers/automation.h', 188 'common/extensions/manifest_handlers/automation.h',
193 'common/extensions/manifest_handlers/content_scripts_handler.cc', 189 'common/extensions/manifest_handlers/content_scripts_handler.cc',
194 'common/extensions/manifest_handlers/content_scripts_handler.h', 190 'common/extensions/manifest_handlers/content_scripts_handler.h',
195 'common/extensions/manifest_handlers/extension_action_handler.cc', 191 'common/extensions/manifest_handlers/extension_action_handler.cc',
196 'common/extensions/manifest_handlers/extension_action_handler.h', 192 'common/extensions/manifest_handlers/extension_action_handler.h',
197 'common/extensions/manifest_handlers/mime_types_handler.cc', 193 'common/extensions/manifest_handlers/mime_types_handler.cc',
198 'common/extensions/manifest_handlers/mime_types_handler.h', 194 'common/extensions/manifest_handlers/mime_types_handler.h',
199 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc', 195 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
200 'common/extensions/manifest_handlers/minimum_chrome_version_checker.h', 196 'common/extensions/manifest_handlers/minimum_chrome_version_checker.h',
201 'common/extensions/manifest_handlers/settings_overrides_handler.cc', 197 'common/extensions/manifest_handlers/settings_overrides_handler.cc',
202 'common/extensions/manifest_handlers/settings_overrides_handler.h', 198 'common/extensions/manifest_handlers/settings_overrides_handler.h',
203 'common/extensions/manifest_handlers/theme_handler.cc', 199 'common/extensions/manifest_handlers/theme_handler.cc',
204 'common/extensions/manifest_handlers/theme_handler.h', 200 'common/extensions/manifest_handlers/theme_handler.h',
205 'common/extensions/manifest_handlers/ui_overrides_handler.cc', 201 'common/extensions/manifest_handlers/ui_overrides_handler.cc',
206 'common/extensions/manifest_handlers/ui_overrides_handler.h', 202 'common/extensions/manifest_handlers/ui_overrides_handler.h',
203 'common/extensions/permissions/chrome_api_permissions.cc',
204 'common/extensions/permissions/chrome_api_permissions.h',
205 'common/extensions/permissions/chrome_permission_message_provider.cc',
206 'common/extensions/permissions/chrome_permission_message_provider.h',
207 'common/extensions/sync_helper.cc', 207 'common/extensions/sync_helper.cc',
208 'common/extensions/sync_helper.h', 208 'common/extensions/sync_helper.h',
209 ], 209 ],
210 'chrome_common_full_safe_browsing_sources': [ 210 'chrome_common_full_safe_browsing_sources': [
211 'common/safe_browsing/download_protection_util.cc', 211 'common/safe_browsing/download_protection_util.cc',
212 'common/safe_browsing/download_protection_util.h', 212 'common/safe_browsing/download_protection_util.h',
213 'common/safe_browsing/zip_analyzer.cc', 213 'common/safe_browsing/zip_analyzer.cc',
214 'common/safe_browsing/zip_analyzer.h', 214 'common/safe_browsing/zip_analyzer.h',
215 ], 215 ],
216 'chrome_common_importer_sources': [ 216 'chrome_common_importer_sources': [
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 '<(DEPTH)/components/components.gyp:cloud_devices_common', 304 '<(DEPTH)/components/components.gyp:cloud_devices_common',
305 '<(DEPTH)/components/components.gyp:component_updater', 305 '<(DEPTH)/components/components.gyp:component_updater',
306 '<(DEPTH)/components/components.gyp:content_settings_core_common', 306 '<(DEPTH)/components/components.gyp:content_settings_core_common',
307 '<(DEPTH)/components/components.gyp:json_schema', 307 '<(DEPTH)/components/components.gyp:json_schema',
308 '<(DEPTH)/components/components.gyp:metrics', 308 '<(DEPTH)/components/components.gyp:metrics',
309 '<(DEPTH)/components/components.gyp:policy_component_common', 309 '<(DEPTH)/components/components.gyp:policy_component_common',
310 '<(DEPTH)/components/components.gyp:translate_core_common', 310 '<(DEPTH)/components/components.gyp:translate_core_common',
311 '<(DEPTH)/components/components.gyp:variations', 311 '<(DEPTH)/components/components.gyp:variations',
312 '<(DEPTH)/content/content.gyp:content_common', 312 '<(DEPTH)/content/content.gyp:content_common',
313 '<(DEPTH)/crypto/crypto.gyp:crypto', 313 '<(DEPTH)/crypto/crypto.gyp:crypto',
314 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources', 314 '<(DEPTH)/extensions/extensions.gyp:extensions_common_constants',
315 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings',
316 '<(DEPTH)/media/cast/cast.gyp:cast_net', 315 '<(DEPTH)/media/cast/cast.gyp:cast_net',
317 '<(DEPTH)/net/net.gyp:net', 316 '<(DEPTH)/net/net.gyp:net',
318 '<(DEPTH)/skia/skia.gyp:skia', 317 '<(DEPTH)/skia/skia.gyp:skia',
319 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', 318 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
320 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', 319 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
321 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml', 320 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
322 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite', 321 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite',
323 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip', 322 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip',
324 '<(DEPTH)/ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', 323 '<(DEPTH)/ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
325 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', 324 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
326 '<(DEPTH)/url/url.gyp:url_lib', 325 '<(DEPTH)/url/url.gyp:url_lib',
327 ], 326 ],
328 'sources': [ 327 'sources': [
329 '<@(chrome_common_sources)' 328 '<@(chrome_common_sources)'
330 ], 329 ],
331 'conditions': [ 330 'conditions': [
332 ['enable_extensions==1', { 331 ['enable_extensions==1', {
333 'sources': [ '<@(chrome_common_extensions_sources)' ], 332 'sources': [ '<@(chrome_common_extensions_sources)' ],
334 'dependencies': [ 333 'dependencies': [
335 '<(DEPTH)/device/usb/usb.gyp:device_usb', 334 '<(DEPTH)/device/usb/usb.gyp:device_usb',
336 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api', 335 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
337 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api', 336 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api',
337 '<(DEPTH)/extensions/extensions.gyp:extensions_common',
338 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources',
339 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings',
338 ], 340 ],
339 'export_dependent_settings': [ 341 'export_dependent_settings': [
340 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api', 342 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
341 ], 343 ],
342 }], 344 }],
343 ['OS=="win" or OS=="mac"', { 345 ['OS=="win" or OS=="mac"', {
344 'sources': [ '<@(chrome_common_win_mac_sources)' ], 346 'sources': [ '<@(chrome_common_win_mac_sources)' ],
345 }], 347 }],
346 ['(OS=="win" or OS=="mac") and use_openssl==1', { 348 ['(OS=="win" or OS=="mac") and use_openssl==1', {
347 # networking_private_crypto_openssl.cc depends on boringssl. 349 # networking_private_crypto_openssl.cc depends on boringssl.
348 'dependencies': [ 350 'dependencies': [
349 '../third_party/boringssl/boringssl.gyp:boringssl', 351 '../third_party/boringssl/boringssl.gyp:boringssl',
350 ], 352 ],
351 }], 353 }],
352 ['OS=="mac"', { 354 ['OS=="mac"', {
353 'sources': [ '<@(chrome_common_mac_sources)' ], 355 'sources': [ '<@(chrome_common_mac_sources)' ],
354 }], 356 }],
355 ['OS != "ios"', { 357 ['OS != "ios"', {
356 'dependencies': [ 358 'dependencies': [
357 '<(DEPTH)/components/components.gyp:autofill_core_common', 359 '<(DEPTH)/components/components.gyp:autofill_core_common',
358 '<(DEPTH)/components/components.gyp:autofill_content_common', 360 '<(DEPTH)/components/components.gyp:autofill_content_common',
359 '<(DEPTH)/components/components.gyp:password_manager_core_common', 361 '<(DEPTH)/components/components.gyp:password_manager_core_common',
360 '<(DEPTH)/components/components.gyp:password_manager_content_common' , 362 '<(DEPTH)/components/components.gyp:password_manager_content_common' ,
361 '<(DEPTH)/components/components.gyp:signin_core_common', 363 '<(DEPTH)/components/components.gyp:signin_core_common',
362 '<(DEPTH)/components/components.gyp:translate_content_common', 364 '<(DEPTH)/components/components.gyp:translate_content_common',
363 '<(DEPTH)/components/components.gyp:visitedlink_common', 365 '<(DEPTH)/components/components.gyp:visitedlink_common',
364 '<(DEPTH)/extensions/extensions.gyp:extensions_common',
365 '<(DEPTH)/ipc/ipc.gyp:ipc', 366 '<(DEPTH)/ipc/ipc.gyp:ipc',
366 '<(DEPTH)/third_party/re2/re2.gyp:re2', 367 '<(DEPTH)/third_party/re2/re2.gyp:re2',
367 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_ver sion_h', 368 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_ver sion_h',
368 ], 369 ],
369 }, { # OS == ios 370 }, { # OS == ios
370 'sources/': [ 371 'sources/': [
371 ['exclude', '^common/child_process_'], 372 ['exclude', '^common/child_process_'],
372 ['exclude', '^common/chrome_content_client\\.cc$'], 373 ['exclude', '^common/chrome_content_client\\.cc$'],
373 ['exclude', '^common/chrome_version_info_posix\\.cc$'], 374 ['exclude', '^common/chrome_version_info_posix\\.cc$'],
374 ['exclude', '^common/common_message_generator\\.cc$'], 375 ['exclude', '^common/common_message_generator\\.cc$'],
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 'common/safe_browsing/csd.proto' 678 'common/safe_browsing/csd.proto'
678 ], 679 ],
679 'variables': { 680 'variables': {
680 'proto_in_dir': 'common/safe_browsing', 681 'proto_in_dir': 'common/safe_browsing',
681 'proto_out_dir': 'chrome/common/safe_browsing', 682 'proto_out_dir': 'chrome/common/safe_browsing',
682 }, 683 },
683 'includes': [ '../build/protoc.gypi' ], 684 'includes': [ '../build/protoc.gypi' ],
684 }, 685 },
685 ], 686 ],
686 } 687 }
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/chrome_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698