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

Side by Side Diff: chrome/chrome_common.gypi

Issue 321423002: Drop NaCl dependencies on platforms where disable_nacl=1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 months 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/common/BUILD.gn » ('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 'chrome_common_sources': [ 7 'chrome_common_sources': [
8 '../apps/app_shim/app_shim_launch.h', 8 '../apps/app_shim/app_shim_launch.h',
9 '../apps/app_shim/app_shim_messages.h', 9 '../apps/app_shim/app_shim_messages.h',
10 'common/all_messages.h', 10 'common/all_messages.h',
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 'common/extensions/manifest_handlers/app_launch_info.cc', 96 'common/extensions/manifest_handlers/app_launch_info.cc',
97 'common/extensions/manifest_handlers/app_launch_info.h', 97 'common/extensions/manifest_handlers/app_launch_info.h',
98 'common/extensions/manifest_handlers/automation.h', 98 'common/extensions/manifest_handlers/automation.h',
99 'common/extensions/manifest_handlers/automation.cc', 99 'common/extensions/manifest_handlers/automation.cc',
100 'common/extensions/manifest_handlers/content_scripts_handler.cc', 100 'common/extensions/manifest_handlers/content_scripts_handler.cc',
101 'common/extensions/manifest_handlers/content_scripts_handler.h', 101 'common/extensions/manifest_handlers/content_scripts_handler.h',
102 'common/extensions/manifest_handlers/mime_types_handler.cc', 102 'common/extensions/manifest_handlers/mime_types_handler.cc',
103 'common/extensions/manifest_handlers/mime_types_handler.h', 103 'common/extensions/manifest_handlers/mime_types_handler.h',
104 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc', 104 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
105 'common/extensions/manifest_handlers/minimum_chrome_version_checker.h', 105 'common/extensions/manifest_handlers/minimum_chrome_version_checker.h',
106 'common/extensions/manifest_handlers/nacl_modules_handler.cc',
107 'common/extensions/manifest_handlers/nacl_modules_handler.h',
108 'common/extensions/manifest_handlers/settings_overrides_handler.cc', 106 'common/extensions/manifest_handlers/settings_overrides_handler.cc',
109 'common/extensions/manifest_handlers/settings_overrides_handler.h', 107 'common/extensions/manifest_handlers/settings_overrides_handler.h',
110 'common/extensions/manifest_handlers/synthesize_browser_action_handler.cc' , 108 'common/extensions/manifest_handlers/synthesize_browser_action_handler.cc' ,
111 'common/extensions/manifest_handlers/synthesize_browser_action_handler.h', 109 'common/extensions/manifest_handlers/synthesize_browser_action_handler.h',
112 'common/extensions/manifest_handlers/theme_handler.cc', 110 'common/extensions/manifest_handlers/theme_handler.cc',
113 'common/extensions/manifest_handlers/theme_handler.h', 111 'common/extensions/manifest_handlers/theme_handler.h',
114 'common/extensions/manifest_handlers/ui_overrides_handler.cc', 112 'common/extensions/manifest_handlers/ui_overrides_handler.cc',
115 'common/extensions/manifest_handlers/ui_overrides_handler.h', 113 'common/extensions/manifest_handlers/ui_overrides_handler.h',
116 'common/extensions/manifest_url_handler.cc', 114 'common/extensions/manifest_url_handler.cc',
117 'common/extensions/manifest_url_handler.h', 115 'common/extensions/manifest_url_handler.h',
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 ], 354 ],
357 }], 355 }],
358 ['OS != "ios"', { 356 ['OS != "ios"', {
359 'dependencies': [ 357 'dependencies': [
360 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api', 358 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
361 '<(DEPTH)/components/components.gyp:autofill_core_common', 359 '<(DEPTH)/components/components.gyp:autofill_core_common',
362 '<(DEPTH)/components/components.gyp:autofill_content_common', 360 '<(DEPTH)/components/components.gyp:autofill_content_common',
363 '<(DEPTH)/components/components.gyp:password_manager_core_common', 361 '<(DEPTH)/components/components.gyp:password_manager_core_common',
364 '<(DEPTH)/components/components.gyp:signin_core_common', 362 '<(DEPTH)/components/components.gyp:signin_core_common',
365 '<(DEPTH)/components/components.gyp:translate_content_common', 363 '<(DEPTH)/components/components.gyp:translate_content_common',
366 '<(DEPTH)/components/nacl.gyp:nacl_common',
367 '<(DEPTH)/components/components.gyp:visitedlink_common', 364 '<(DEPTH)/components/components.gyp:visitedlink_common',
368 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api', 365 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api',
369 '<(DEPTH)/extensions/extensions.gyp:extensions_common', 366 '<(DEPTH)/extensions/extensions.gyp:extensions_common',
370 '<(DEPTH)/ipc/ipc.gyp:ipc', 367 '<(DEPTH)/ipc/ipc.gyp:ipc',
371 '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h ', 368 '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h ',
372 '<(DEPTH)/third_party/re2/re2.gyp:re2', 369 '<(DEPTH)/third_party/re2/re2.gyp:re2',
373 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_ver sion_h', 370 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_ver sion_h',
374 ], 371 ],
375 'export_dependent_settings': [ 372 'export_dependent_settings': [
376 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api', 373 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
377 ], 374 ],
378 }, { # OS == ios 375 }, { # OS == ios
379 'sources/': [ 376 'sources/': [
380 ['exclude', '^common/child_process_'], 377 ['exclude', '^common/child_process_'],
381 ['exclude', '^common/chrome_content_client\\.cc$'], 378 ['exclude', '^common/chrome_content_client\\.cc$'],
382 ['exclude', '^common/chrome_version_info_posix\\.cc$'], 379 ['exclude', '^common/chrome_version_info_posix\\.cc$'],
383 ['exclude', '^common/common_message_generator\\.cc$'], 380 ['exclude', '^common/common_message_generator\\.cc$'],
384 ['exclude', '^common/common_param_traits'], 381 ['exclude', '^common/common_param_traits'],
385 ['exclude', '^common/custom_handlers/'], 382 ['exclude', '^common/custom_handlers/'],
386 ['exclude', '^common/extensions/'], 383 ['exclude', '^common/extensions/'],
387 ['exclude', '^common/logging_chrome\\.'], 384 ['exclude', '^common/logging_chrome\\.'],
388 ['exclude', '^common/media_galleries/'], 385 ['exclude', '^common/media_galleries/'],
389 ['exclude', '^common/multi_process_'], 386 ['exclude', '^common/multi_process_'],
390 ['exclude', '^common/nacl_'],
bradnelson 2014/07/16 00:54:01 don't we still want this to exclude nacl on ios?
Lei Zhang 2014/07/16 01:32:11 There's no source files that match the regex.
391 ['exclude', '^common/pepper_flash\\.'], 387 ['exclude', '^common/pepper_flash\\.'],
392 ['exclude', '^common/profiling\\.'], 388 ['exclude', '^common/profiling\\.'],
393 ['exclude', '^common/spellcheck_'], 389 ['exclude', '^common/spellcheck_'],
394 ['exclude', '^common/validation_message_'], 390 ['exclude', '^common/validation_message_'],
395 ['exclude', '^common/web_apps\\.'], 391 ['exclude', '^common/web_apps\\.'],
396 # TODO(ios): Include files here as they are made to work; once 392 # TODO(ios): Include files here as they are made to work; once
397 # everything is online, remove everything below here and just 393 # everything is online, remove everything below here and just
398 # use the exclusions above. 394 # use the exclusions above.
399 ['exclude', '\\.(cc|mm)$'], 395 ['exclude', '\\.(cc|mm)$'],
400 ['include', '_ios\\.(cc|mm)$'], 396 ['include', '_ios\\.(cc|mm)$'],
401 ['include', '(^|/)ios/'], 397 ['include', '(^|/)ios/'],
402 ['include', '^common/chrome_version_info\\.cc$'], 398 ['include', '^common/chrome_version_info\\.cc$'],
403 ['include', '^common/translate'], 399 ['include', '^common/translate'],
404 ['include', '^common/zip'], 400 ['include', '^common/zip'],
405 ], 401 ],
406 'include_dirs': [ 402 'include_dirs': [
407 '<(DEPTH)/breakpad/src', 403 '<(DEPTH)/breakpad/src',
408 ], 404 ],
409 }], 405 }],
406 ['disable_nacl==0', {
407 'dependencies': [
408 '<(DEPTH)/components/nacl.gyp:nacl_common',
409 ],
410 'sources': [
411 'common/extensions/manifest_handlers/nacl_modules_handler.cc',
412 'common/extensions/manifest_handlers/nacl_modules_handler.h',
413 ],
414 }],
410 ['enable_printing==0', { 415 ['enable_printing==0', {
411 'sources!': [ 416 'sources!': [
412 'common/print_messages.cc', 417 'common/print_messages.cc',
413 'common/print_messages.h', 418 'common/print_messages.h',
414 ] 419 ]
415 }, { 420 }, {
416 'dependencies': [ 421 'dependencies': [
417 '<(DEPTH)/printing/printing.gyp:printing', 422 '<(DEPTH)/printing/printing.gyp:printing',
418 ], 423 ],
419 }], 424 }],
(...skipping 12 matching lines...) Expand all
432 ] 437 ]
433 }], 438 }],
434 ['enable_mdns==1', { 439 ['enable_mdns==1', {
435 'sources' : [ 440 'sources' : [
436 'common/local_discovery/service_discovery_client_impl.cc', 441 'common/local_discovery/service_discovery_client_impl.cc',
437 'common/local_discovery/service_discovery_client_impl.h', 442 'common/local_discovery/service_discovery_client_impl.h',
438 ] 443 ]
439 }], 444 }],
440 ['OS=="android"', { 445 ['OS=="android"', {
441 'sources/': [ 446 'sources/': [
442 ['exclude', '^common/chrome_version_info_posix.cc'],
443 ['exclude', '^common/importer/'], 447 ['exclude', '^common/importer/'],
444 ['exclude', '^common/media_galleries/'], 448 ['exclude', '^common/media_galleries/'],
445 ['exclude', '^common/service_'], 449 ['exclude', '^common/service_'],
446 ], 450 ],
447 'sources!': [ 451 'sources!': [
448 'common/badge_util.cc', 452 'common/badge_util.cc',
453 'common/chrome_version_info_posix.cc',
449 'common/extensions/api/extension_action/browser_action_handler.cc', 454 'common/extensions/api/extension_action/browser_action_handler.cc',
450 'common/extensions/api/extension_action/page_action_handler.cc', 455 'common/extensions/api/extension_action/page_action_handler.cc',
451 'common/extensions/api/spellcheck/spellcheck_handler.cc', 456 'common/extensions/api/spellcheck/spellcheck_handler.cc',
452 'common/extensions/manifest_handlers/minimum_chrome_version_checker. cc', 457 'common/extensions/manifest_handlers/minimum_chrome_version_checker. cc',
453 'common/extensions/manifest_handlers/nacl_modules_handler.cc',
454 'common/icon_with_badge_image_source.cc', 458 'common/icon_with_badge_image_source.cc',
455 'common/net/url_util.cc', 459 'common/net/url_util.cc',
456 'common/spellcheck_common.cc', 460 'common/spellcheck_common.cc',
457 ], 461 ],
458 }], 462 }],
459 ['OS=="win"', { 463 ['OS=="win"', {
460 'include_dirs': [ 464 'include_dirs': [
461 '<(DEPTH)/breakpad/src', 465 '<(DEPTH)/breakpad/src',
462 '<(DEPTH)/third_party/wtl/include', 466 '<(DEPTH)/third_party/wtl/include',
463 ], 467 ],
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 'common/safe_browsing/csd.proto' 692 'common/safe_browsing/csd.proto'
689 ], 693 ],
690 'variables': { 694 'variables': {
691 'proto_in_dir': 'common/safe_browsing', 695 'proto_in_dir': 'common/safe_browsing',
692 'proto_out_dir': 'chrome/common/safe_browsing', 696 'proto_out_dir': 'chrome/common/safe_browsing',
693 }, 697 },
694 'includes': [ '../build/protoc.gypi' ], 698 'includes': [ '../build/protoc.gypi' ],
695 }, 699 },
696 ], 700 ],
697 } 701 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698