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

Unified Diff: apps/apps.gypi

Issue 173883002: [App Shell] Introduce app_shell.pak (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | apps/shell/app/shell_main_delegate.cc » ('j') | apps/shell/app/shell_main_delegate.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/apps.gypi
diff --git a/apps/apps.gypi b/apps/apps.gypi
index 78dcd5f7c87e2434a5f812be492dc3edef662b8c..3173b1ca56882348c76ab017dec8dc5acb25c845 100644
--- a/apps/apps.gypi
+++ b/apps/apps.gypi
@@ -100,6 +100,35 @@
['chromeos==1 or (OS=="linux" and use_aura==1) or (OS=="win" and use_aura==1)', {
'targets': [
{
+ 'target_name': 'app_shell_resources',
tfarina 2014/02/20 18:44:01 no, not resources, it is pak. It would be resource
Haojian Wu 2014/02/21 05:50:02 Done.
+ 'type': 'none',
+ 'dependencies': [
+ '../content/content_shell_and_tests.gyp:generate_content_shell_resources',
Haojian Wu 2014/02/20 15:46:43 Here we only include the minimal dev-tools related
+ ],
+ 'variables': {
+ 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py',
+ },
+ 'actions': [
+ {
+ 'action_name': 'repack_app_shell_pack',
+ 'variables': {
+ 'pak_inputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak',
+ ],
+ },
+ 'inputs': [
+ '<(repack_path)',
+ '<@(pak_inputs)',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/app_shell.pak',
+ ],
+ 'action': ['python', '<(repack_path)', '<@(_outputs)',
+ '<@(pak_inputs)'],
+ },
+ ],
+ },
+ {
'target_name': 'app_shell',
'type': 'executable',
'defines!': ['CONTENT_IMPLEMENTATION'],
@@ -108,6 +137,7 @@
},
'dependencies': [
'apps',
+ 'app_shell_resources',
'chrome_resources.gyp:packed_resources',
# For resources.pak for features JSON files.
'chrome_resources.gyp:packed_extra_resources',
« no previous file with comments | « no previous file | apps/shell/app/shell_main_delegate.cc » ('j') | apps/shell/app/shell_main_delegate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698