summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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',
],
}],
],