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

Side by Side Diff: extensions/extensions.gyp

Issue 413293003: extensions: Create extensions_pak target. (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 | « no previous file | extensions/test/extensions_unittests_main.cc » ('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 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 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 'common/test_util.h', 684 'common/test_util.h',
685 'common/value_builder.cc', 685 'common/value_builder.cc',
686 'common/value_builder.h', 686 'common/value_builder.h',
687 'renderer/test_extensions_renderer_client.cc', 687 'renderer/test_extensions_renderer_client.cc',
688 'renderer/test_extensions_renderer_client.h', 688 'renderer/test_extensions_renderer_client.h',
689 ], 689 ],
690 # Disable c4267 warnings until we fix size_t to int truncations. 690 # Disable c4267 warnings until we fix size_t to int truncations.
691 'msvs_disabled_warnings': [ 4267, ], 691 'msvs_disabled_warnings': [ 4267, ],
692 }, 692 },
693 { 693 {
694 # TODO(jamescook): Use the same .pak file for both app_shell and
695 # extensions_unittests by creating an extensions_resources.pak file
696 # that can be used in both places. This will save build time.
697 # http://crbug.com/397250
698 'target_name': 'extensions_pak',
699 'type': 'none',
700 'dependencies': [
701 '../ui/strings/ui_strings.gyp:ui_strings',
702 'extensions_resources.gyp:extensions_resources',
703 ],
704 'actions': [
705 {
706 'action_name': 'repack_extensions_pak',
707 'variables': {
708 'pak_inputs': [
709 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak',
710 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resourc es.pak',
711 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.p ak',
712 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak',
713 ],
714 'pak_output': '<(PRODUCT_DIR)/extensions.pak',
715 },
716 'includes': [ '../build/repack_action.gypi' ],
717 },
718 ],
719 },
720 {
694 # TODO(tfarina): Many extension unit tests run as part of Chrome's 721 # TODO(tfarina): Many extension unit tests run as part of Chrome's
695 # unit_tests target. They should be moved here, which may require some 722 # unit_tests target. They should be moved here, which may require some
696 # refactoring (ExtensionsBrowserClient, TestingProfile, etc.). 723 # refactoring (ExtensionsBrowserClient, TestingProfile, etc.).
697 # http://crbug.com/348066 724 # http://crbug.com/348066
698 'target_name': 'extensions_unittests', 725 'target_name': 'extensions_unittests',
699 'type': 'executable', 726 'type': 'executable',
700 'dependencies': [ 727 'dependencies': [
701 '../base/base.gyp:base', 728 '../base/base.gyp:base',
702 '../base/base.gyp:test_support_base', 729 '../base/base.gyp:test_support_base',
703 '../content/content_shell_and_tests.gyp:test_support_content', 730 '../content/content_shell_and_tests.gyp:test_support_content',
704 '../testing/gmock.gyp:gmock', 731 '../testing/gmock.gyp:gmock',
705 '../testing/gtest.gyp:gtest', 732 '../testing/gtest.gyp:gtest',
706 '../ui/strings/ui_strings.gyp:ui_strings',
707 'extensions_common', 733 'extensions_common',
734 'extensions_pak',
708 'extensions_renderer', 735 'extensions_renderer',
709 'extensions_resources.gyp:extensions_resources', 736 'extensions_resources.gyp:extensions_resources',
710 'extensions_strings.gyp:extensions_strings', 737 'extensions_strings.gyp:extensions_strings',
711 'extensions_test_support', 738 'extensions_test_support',
712 ], 739 ],
713 'sources': [ 740 'sources': [
714 'browser/process_manager_unittest.cc', 741 'browser/process_manager_unittest.cc',
715 'common/api/sockets/sockets_manifest_permission_unittest.cc', 742 'common/api/sockets/sockets_manifest_permission_unittest.cc',
716 'common/csp_validator_unittest.cc', 743 'common/csp_validator_unittest.cc',
717 'common/event_filter_unittest.cc', 744 'common/event_filter_unittest.cc',
(...skipping 17 matching lines...) Expand all
735 'test/test_permissions_provider.cc', 762 'test/test_permissions_provider.cc',
736 'test/test_permissions_provider.h', 763 'test/test_permissions_provider.h',
737 ], 764 ],
738 'conditions': [ 765 'conditions': [
739 ['OS=="win" and win_use_allocator_shim==1', { 766 ['OS=="win" and win_use_allocator_shim==1', {
740 'dependencies': [ 767 'dependencies': [
741 '../base/allocator/allocator.gyp:allocator', 768 '../base/allocator/allocator.gyp:allocator',
742 ], 769 ],
743 }], 770 }],
744 ], 771 ],
745 'actions': [
746 {
747 # TODO(jamescook): Use the same .pak file for both app_shell and
748 # extensions_unittests by creating an extensions_resources.pak file
749 # that can be used in both places. This will save build time.
750 # http://crbug.com/397250
751 'action_name': 'repack_extensions_unittests_pak',
752 'variables': {
753 'pak_inputs': [
754 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak',
755 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resourc es.pak',
756 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.p ak',
757 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak',
758 ],
759 'pak_output': '<(PRODUCT_DIR)/extensions_unittests_resources.pak',
760 },
761 'includes': [ '../build/repack_action.gypi' ],
762 },
763 ],
764 }, 772 },
765 ] 773 ]
766 } 774 }
OLDNEW
« no previous file with comments | « no previous file | extensions/test/extensions_unittests_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698