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

Side by Side Diff: extensions/extensions.gyp

Issue 615913003: extensions: Remove dependencies on Chrome resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | no next file » | 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 # GN version: //extensions/common 11 # GN version: //extensions/common
12 'target_name': 'extensions_common', 12 'target_name': 'extensions_common',
13 'type': 'static_library', 13 'type': 'static_library',
14 'dependencies': [ 14 'dependencies': [
15 # TODO(benwells): figure out what to do with the api target and
16 # api resources compiled into the chrome resource bundle.
17 # http://crbug.com/162530
18 '../chrome/chrome_resources.gyp:chrome_resources',
19 '../components/components.gyp:crx_file', 15 '../components/components.gyp:crx_file',
20 '../components/components.gyp:url_matcher', 16 '../components/components.gyp:url_matcher',
21 '../content/content.gyp:content_common', 17 '../content/content.gyp:content_common',
22 '../crypto/crypto.gyp:crypto', 18 '../crypto/crypto.gyp:crypto',
23 '../ipc/ipc.gyp:ipc', 19 '../ipc/ipc.gyp:ipc',
24 '../net/net.gyp:net', 20 '../net/net.gyp:net',
25 '../third_party/re2/re2.gyp:re2', 21 '../third_party/re2/re2.gyp:re2',
26 '../ui/base/ui_base.gyp:ui_base', 22 '../ui/base/ui_base.gyp:ui_base',
27 '../ui/gfx/gfx.gyp:gfx_geometry', 23 '../ui/gfx/gfx.gyp:gfx_geometry',
28 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', 24 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 'common/api/api.gyp:cast_channel_proto', 286 'common/api/api.gyp:cast_channel_proto',
291 'common/api/api.gyp:extensions_api', 287 'common/api/api.gyp:extensions_api',
292 'extensions_common', 288 'extensions_common',
293 'extensions_strings.gyp:extensions_strings', 289 'extensions_strings.gyp:extensions_strings',
294 ], 290 ],
295 'include_dirs': [ 291 'include_dirs': [
296 '..', 292 '..',
297 '<(INTERMEDIATE_DIR)', 293 '<(INTERMEDIATE_DIR)',
298 # Needed to access generated API headers. 294 # Needed to access generated API headers.
299 '<(SHARED_INTERMEDIATE_DIR)', 295 '<(SHARED_INTERMEDIATE_DIR)',
300 # Needed for grit.
301 '<(SHARED_INTERMEDIATE_DIR)/chrome',
James Cook 2014/10/02 00:38:01 That it compiles without this bit reassures me.
302 ], 296 ],
303 'sources': [ 297 'sources': [
304 # Note: sources list duplicated in GN build. 298 # Note: sources list duplicated in GN build.
305 # NOTE: When moving an API out of Chrome be sure to verify that the 299 # NOTE: When moving an API out of Chrome be sure to verify that the
306 # Android build still compiles. See conditions below. 300 # Android build still compiles. See conditions below.
307 'browser/api/activity_log/web_request_constants.cc', 301 'browser/api/activity_log/web_request_constants.cc',
308 'browser/api/activity_log/web_request_constants.h', 302 'browser/api/activity_log/web_request_constants.h',
309 'browser/api/api_resource.cc', 303 'browser/api/api_resource.cc',
310 'browser/api/api_resource.h', 304 'browser/api/api_resource.h',
311 'browser/api/api_resource_manager.h', 305 'browser/api/api_resource_manager.h',
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 ], 756 ],
763 # Disable c4267 warnings until we fix size_t to int truncations. 757 # Disable c4267 warnings until we fix size_t to int truncations.
764 'msvs_disabled_warnings': [ 4267, ], 758 'msvs_disabled_warnings': [ 4267, ],
765 }, 759 },
766 { 760 {
767 # GN version: //extensions/renderer 761 # GN version: //extensions/renderer
768 'target_name': 'extensions_renderer', 762 'target_name': 'extensions_renderer',
769 'type': 'static_library', 763 'type': 'static_library',
770 'dependencies': [ 764 'dependencies': [
771 'extensions_resources.gyp:extensions_resources', 765 'extensions_resources.gyp:extensions_resources',
772 '../chrome/chrome_resources.gyp:chrome_resources',
773 '../content/content.gyp:content_resources', 766 '../content/content.gyp:content_resources',
774 '../gin/gin.gyp:gin', 767 '../gin/gin.gyp:gin',
775 '../mojo/mojo_base.gyp:mojo_js_bindings', 768 '../mojo/mojo_base.gyp:mojo_js_bindings',
776 '../third_party/WebKit/public/blink.gyp:blink', 769 '../third_party/WebKit/public/blink.gyp:blink',
777 ], 770 ],
778 'include_dirs': [ 771 'include_dirs': [
779 '..', 772 '..',
780 ], 773 ],
781 'sources': [ 774 'sources': [
782 # Note: sources list duplicated in GN build. 775 # Note: sources list duplicated in GN build.
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
993 'msvs_disabled_warnings': [ 4267, ], 986 'msvs_disabled_warnings': [ 4267, ],
994 }, 987 },
995 { 988 {
996 # The pak file generated by this target is intended to be shared by 989 # The pak file generated by this target is intended to be shared by
997 # both shell and test targets. It was combined because it might help a 990 # both shell and test targets. It was combined because it might help a
998 # little bit with build time by avoiding a repack step (one instead of 991 # little bit with build time by avoiding a repack step (one instead of
999 # two). 992 # two).
1000 'target_name': 'extensions_shell_and_test_pak', 993 'target_name': 'extensions_shell_and_test_pak',
1001 'type': 'none', 994 'type': 'none',
1002 'dependencies': [ 995 'dependencies': [
1003 # Need extension related resources in common_resources.pak and
1004 # renderer_resources_100_percent.pak
1005 '../chrome/chrome_resources.gyp:chrome_resources',
1006 # Need dev-tools related resources in shell_resources.pak and 996 # Need dev-tools related resources in shell_resources.pak and
1007 # devtools_resources.pak. 997 # devtools_resources.pak.
1008 '../content/browser/devtools/devtools_resources.gyp:devtools_resources', 998 '../content/browser/devtools/devtools_resources.gyp:devtools_resources',
1009 '../content/content.gyp:content_resources', 999 '../content/content.gyp:content_resources',
1010 '../content/content_shell_and_tests.gyp:content_shell_resources', 1000 '../content/content_shell_and_tests.gyp:content_shell_resources',
1011 '../ui/resources/ui_resources.gyp:ui_resources', 1001 '../ui/resources/ui_resources.gyp:ui_resources',
1012 '../ui/strings/ui_strings.gyp:ui_strings', 1002 '../ui/strings/ui_strings.gyp:ui_strings',
1013 'extensions_resources.gyp:extensions_resources', 1003 'extensions_resources.gyp:extensions_resources',
1014 'extensions_strings.gyp:extensions_strings', 1004 'extensions_strings.gyp:extensions_strings',
1015 ], 1005 ],
1016 'actions': [ 1006 'actions': [
1017 { 1007 {
1018 'action_name': 'repack_extensions_shell_and_test_pak', 1008 'action_name': 'repack_extensions_shell_and_test_pak',
1019 'variables': { 1009 'variables': {
1020 'pak_inputs': [ 1010 'pak_inputs': [
1021 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.pak',
1022 '<(SHARED_INTERMEDIATE_DIR)/chrome/extensions_api_resources.pak',
1023 # TODO(jamescook): Extract the extension/app related resources
1024 # from generated_resources_en-US.pak. http://crbug.com/397250
1025 '<(SHARED_INTERMEDIATE_DIR)/chrome/generated_resources_en-US.pak',
1026 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources_100_percent. pak',
1027 '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en -US.pak', 1011 '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en -US.pak',
1028 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', 1012 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
1029 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak', 1013 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak',
1030 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_browser_resource s_100_percent.pak', 1014 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_browser_resource s_100_percent.pak',
1031 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resourc es.pak', 1015 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resourc es.pak',
1032 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak', 1016 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak',
1033 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak', 1017 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak',
1034 '<(SHARED_INTERMEDIATE_DIR)/extensions/strings/extensions_strings_ en-US.pak', 1018 '<(SHARED_INTERMEDIATE_DIR)/extensions/strings/extensions_strings_ en-US.pak',
1035 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent. pak', 1019 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent. pak',
1036 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.p ak', 1020 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.p ak',
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
1174 'conditions': [ 1158 'conditions': [
1175 ['OS=="win" and win_use_allocator_shim==1', { 1159 ['OS=="win" and win_use_allocator_shim==1', {
1176 'dependencies': [ 1160 'dependencies': [
1177 '../base/allocator/allocator.gyp:allocator', 1161 '../base/allocator/allocator.gyp:allocator',
1178 ], 1162 ],
1179 }], 1163 }],
1180 ], 1164 ],
1181 }, 1165 },
1182 ] 1166 ]
1183 } 1167 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698