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

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: 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 {
11 'target_name': 'extensions_pak',
12 'type': 'none',
13 'dependencies': [
14 'extensions_resources.gyp:extensions_resources',
15 ],
16 'actions': [
17 {
18 'action_name': 'repack_extensions_pak',
19 'variables': {
20 'pak_inputs': [
21 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak',
22 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resourc es.pak',
James Cook 2014/07/24 23:25:11 You'll need to rebase on top of my patch to get th
tfarina 2014/07/24 23:45:58 Sure, I will wait it to land.
23 ],
24 'pak_output': '<(PRODUCT_DIR)/extensions.pak',
25 },
26 'includes': [ '../build/repack_action.gypi' ],
27 },
28 ],
29 },
30 {
11 # GN version: //extensions/common 31 # GN version: //extensions/common
12 'target_name': 'extensions_common', 32 'target_name': 'extensions_common',
13 'type': 'static_library', 33 'type': 'static_library',
14 'dependencies': [ 34 'dependencies': [
15 # TODO(benwells): figure out what to do with the api target and 35 # TODO(benwells): figure out what to do with the api target and
16 # api resources compiled into the chrome resource bundle. 36 # api resources compiled into the chrome resource bundle.
17 # http://crbug.com/162530 37 # http://crbug.com/162530
18 '../chrome/chrome_resources.gyp:chrome_resources', 38 '../chrome/chrome_resources.gyp:chrome_resources',
19 '../components/components.gyp:url_matcher', 39 '../components/components.gyp:url_matcher',
20 '../content/content.gyp:content_common', 40 '../content/content.gyp:content_common',
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 # http://crbug.com/348066 717 # http://crbug.com/348066
698 'target_name': 'extensions_unittests', 718 'target_name': 'extensions_unittests',
699 'type': 'executable', 719 'type': 'executable',
700 'dependencies': [ 720 'dependencies': [
701 '../base/base.gyp:base', 721 '../base/base.gyp:base',
702 '../base/base.gyp:test_support_base', 722 '../base/base.gyp:test_support_base',
703 '../content/content_shell_and_tests.gyp:test_support_content', 723 '../content/content_shell_and_tests.gyp:test_support_content',
704 '../testing/gmock.gyp:gmock', 724 '../testing/gmock.gyp:gmock',
705 '../testing/gtest.gyp:gtest', 725 '../testing/gtest.gyp:gtest',
706 'extensions_common', 726 'extensions_common',
727 'extensions_pak',
707 'extensions_renderer', 728 'extensions_renderer',
708 'extensions_resources.gyp:extensions_resources', 729 'extensions_resources.gyp:extensions_resources',
709 'extensions_strings.gyp:extensions_strings', 730 'extensions_strings.gyp:extensions_strings',
710 'extensions_test_support', 731 'extensions_test_support',
711 ], 732 ],
712 'sources': [ 733 'sources': [
713 'browser/process_manager_unittest.cc', 734 'browser/process_manager_unittest.cc',
714 'common/api/sockets/sockets_manifest_permission_unittest.cc', 735 'common/api/sockets/sockets_manifest_permission_unittest.cc',
715 'common/csp_validator_unittest.cc', 736 'common/csp_validator_unittest.cc',
716 'common/event_filter_unittest.cc', 737 'common/event_filter_unittest.cc',
(...skipping 17 matching lines...) Expand all
734 'test/test_permissions_provider.cc', 755 'test/test_permissions_provider.cc',
735 'test/test_permissions_provider.h', 756 'test/test_permissions_provider.h',
736 ], 757 ],
737 'conditions': [ 758 'conditions': [
738 ['OS=="win" and win_use_allocator_shim==1', { 759 ['OS=="win" and win_use_allocator_shim==1', {
739 'dependencies': [ 760 'dependencies': [
740 '../base/allocator/allocator.gyp:allocator', 761 '../base/allocator/allocator.gyp:allocator',
741 ], 762 ],
742 }], 763 }],
743 ], 764 ],
744 'actions': [
745 {
746 'action_name': 'repack_extensions_unittests_pak',
747 'variables': {
748 'pak_inputs': [
749 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak',
750 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resourc es.pak',
751 ],
752 'pak_output': '<(PRODUCT_DIR)/extensions_unittests_resources.pak',
753 },
754 'includes': [ '../build/repack_action.gypi' ],
755 },
756 ],
757 }, 765 },
758 ] 766 ]
759 } 767 }
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