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

Side by Side Diff: extensions/extensions.gyp

Issue 399363002: Add support for writing unit tests for Mojo-backed apps/extensions APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments 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
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 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 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 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 ], 488 ],
489 # Disable c4267 warnings until we fix size_t to int truncations. 489 # Disable c4267 warnings until we fix size_t to int truncations.
490 'msvs_disabled_warnings': [ 4267, ], 490 'msvs_disabled_warnings': [ 4267, ],
491 }, 491 },
492 { 492 {
493 'target_name': 'extensions_renderer', 493 'target_name': 'extensions_renderer',
494 'type': 'static_library', 494 'type': 'static_library',
495 'dependencies': [ 495 'dependencies': [
496 'extensions_resources.gyp:extensions_resources', 496 'extensions_resources.gyp:extensions_resources',
497 '../chrome/chrome_resources.gyp:chrome_resources', 497 '../chrome/chrome_resources.gyp:chrome_resources',
498 '../content/content_resources.gyp:content_resources',
498 '../gin/gin.gyp:gin', 499 '../gin/gin.gyp:gin',
500 '../mojo/mojo.gyp:mojo_js_bindings',
499 '../third_party/WebKit/public/blink.gyp:blink', 501 '../third_party/WebKit/public/blink.gyp:blink',
500 ], 502 ],
501 'include_dirs': [ 503 'include_dirs': [
502 '..', 504 '..',
503 ], 505 ],
504 'sources': [ 506 'sources': [
505 'renderer/activity_log_converter_strategy.cc', 507 'renderer/activity_log_converter_strategy.cc',
506 'renderer/activity_log_converter_strategy.h', 508 'renderer/activity_log_converter_strategy.h',
507 'renderer/api_activity_logger.cc', 509 'renderer/api_activity_logger.cc',
508 'renderer/api_activity_logger.h', 510 'renderer/api_activity_logger.h',
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 # When we consider this stable in the bots, we can go to unit_tests target 689 # When we consider this stable in the bots, we can go to unit_tests target
688 # and remove the duplicated entries from there, otherwise if we just 690 # and remove the duplicated entries from there, otherwise if we just
689 # remove them right now we would be losing coverage. 691 # remove them right now we would be losing coverage.
690 # http://crbug.com/348066 692 # http://crbug.com/348066
691 'target_name': 'extensions_unittests', 693 'target_name': 'extensions_unittests',
692 'type': 'executable', 694 'type': 'executable',
693 'dependencies': [ 695 'dependencies': [
694 '../base/base.gyp:base', 696 '../base/base.gyp:base',
695 '../base/base.gyp:test_support_base', 697 '../base/base.gyp:test_support_base',
696 '../content/content_shell_and_tests.gyp:test_support_content', 698 '../content/content_shell_and_tests.gyp:test_support_content',
699 '../device/serial/serial.gyp:device_serial',
700 '../mojo/mojo.gyp:mojo_environment_chromium',
701 '../mojo/mojo.gyp:mojo_cpp_bindings',
702 '../mojo/mojo.gyp:mojo_js_bindings_lib',
703 '../mojo/mojo.gyp:mojo_system_impl',
697 '../testing/gmock.gyp:gmock', 704 '../testing/gmock.gyp:gmock',
698 '../testing/gtest.gyp:gtest', 705 '../testing/gtest.gyp:gtest',
699 'extensions_common', 706 'extensions_common',
700 'extensions_renderer', 707 'extensions_renderer',
701 'extensions_resources.gyp:extensions_resources', 708 'extensions_resources.gyp:extensions_resources',
702 'extensions_strings.gyp:extensions_strings', 709 'extensions_strings.gyp:extensions_strings',
703 'extensions_test_support', 710 'extensions_test_support',
704 ], 711 ],
705 'sources': [ 712 'sources': [
706 'common/api/sockets/sockets_manifest_permission_unittest.cc', 713 'common/api/sockets/sockets_manifest_permission_unittest.cc',
707 'common/csp_validator_unittest.cc', 714 'common/csp_validator_unittest.cc',
708 'common/event_filter_unittest.cc', 715 'common/event_filter_unittest.cc',
709 'common/id_util_unittest.cc', 716 'common/id_util_unittest.cc',
710 'common/one_shot_event_unittest.cc', 717 'common/one_shot_event_unittest.cc',
711 'common/permissions/manifest_permission_set_unittest.cc', 718 'common/permissions/manifest_permission_set_unittest.cc',
712 'common/user_script_unittest.cc', 719 'common/user_script_unittest.cc',
720 'renderer/api_test_base.cc',
721 'renderer/api_test_base.h',
722 'renderer/api_test_base_unittest.cc',
713 'renderer/event_unittest.cc', 723 'renderer/event_unittest.cc',
714 'renderer/json_schema_unittest.cc', 724 'renderer/json_schema_unittest.cc',
715 'renderer/messaging_utils_unittest.cc', 725 'renderer/messaging_utils_unittest.cc',
716 'renderer/module_system_test.cc', 726 'renderer/module_system_test.cc',
717 'renderer/module_system_test.h', 727 'renderer/module_system_test.h',
718 'renderer/module_system_unittest.cc', 728 'renderer/module_system_unittest.cc',
719 'renderer/safe_builtins_unittest.cc', 729 'renderer/safe_builtins_unittest.cc',
720 'renderer/utils_unittest.cc', 730 'renderer/utils_unittest.cc',
721 'test/extensions_unittests_main.cc', 731 'test/extensions_unittests_main.cc',
722 'test/test_extensions_client.cc', 732 'test/test_extensions_client.cc',
723 'test/test_extensions_client.h', 733 'test/test_extensions_client.h',
724 'test/test_permission_message_provider.cc', 734 'test/test_permission_message_provider.cc',
725 'test/test_permission_message_provider.h', 735 'test/test_permission_message_provider.h',
726 'test/test_permissions_provider.cc', 736 'test/test_permissions_provider.cc',
727 'test/test_permissions_provider.h', 737 'test/test_permissions_provider.h',
728 ], 738 ],
729 'actions': [ 739 'actions': [
730 { 740 {
731 'action_name': 'repack_components_pack', 741 'action_name': 'repack_components_pack',
732 'variables': { 742 'variables': {
733 'pak_inputs': [ 743 'pak_inputs': [
744 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
734 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak', 745 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak',
735 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resourc es.pak', 746 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resourc es.pak',
736 ], 747 ],
737 'pak_output': '<(PRODUCT_DIR)/extensions_unittests_resources.pak', 748 'pak_output': '<(PRODUCT_DIR)/extensions_unittests_resources.pak',
738 }, 749 },
739 'includes': [ '../build/repack_action.gypi' ], 750 'includes': [ '../build/repack_action.gypi' ],
740 }, 751 },
741 ], 752 ],
742 }, 753 },
743 ] 754 ]
744 } 755 }
OLDNEW
« no previous file with comments | « extensions/DEPS ('k') | extensions/renderer/DEPS » ('j') | extensions/renderer/api_test_base.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698