summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-12 21:36:59 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-12 21:36:59 +0000
commit3e896efc285b9656fab36fa855d796b16634bd94 (patch)
treeca7d0a4fc9a58935ea8b57e54c543815d440e11b /chrome
parentaec8ddc423e8b6909ea34aa24e423ec45d236421 (diff)
downloadchromium_src-3e896efc285b9656fab36fa855d796b16634bd94.zip
chromium_src-3e896efc285b9656fab36fa855d796b16634bd94.tar.gz
chromium_src-3e896efc285b9656fab36fa855d796b16634bd94.tar.bz2
Add copies of *.pak files that need to be installed for execution.
Review URL: http://codereview.chromium.org/42131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11580 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/chrome.gyp25
1 files changed, 24 insertions, 1 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index fe8420c..be44761 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -1463,6 +1463,22 @@
'INFOPLIST_FILE': 'app/app-Info.plist',
},
'conditions': [
+ ['OS=="linux"', {
+ 'copies': [
+ {
+ 'destination': '<(PRODUCT_DIR)',
+ 'files': ['<(INTERMEDIATE_DIR)/repack/chrome.pak'],
+ },
+ {
+ 'destination': '<(PRODUCT_DIR)/locales',
+ 'files': ['<(INTERMEDIATE_DIR)/repack/en-US.pak'],
+ },
+ {
+ 'destination': '<(PRODUCT_DIR)/themes',
+ 'files': ['<(INTERMEDIATE_DIR)/repack/default.pak'],
+ },
+ ],
+ }],
['OS=="mac"', {
# 'branding' is a variable defined in common.gypi
# (e.g. "Chromium", "Chrome")
@@ -1551,6 +1567,13 @@
],
'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'],
'process_outputs_as_mac_bundle_resources': 1,
+ 'conditions': [
+ ['OS=="linux"', {
+ 'outputs=': [
+ '<(INTERMEDIATE_DIR)/repack/default.pak',
+ ]
+ }],
+ ],
},
{
# TODO(mark): Make this work with more languages than the
@@ -1575,7 +1598,7 @@
],
}, { # else: OS!="mac"
'outputs': [
- '<(INTERMEDIATE_DIR)/repack/locale_en-US.pak',
+ '<(INTERMEDIATE_DIR)/repack/en-US.pak',
],
}],
],