summaryrefslogtreecommitdiffstats
path: root/chrome_elf
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2015-08-28 16:59:18 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-28 23:59:50 +0000
commita874dccb5c0b7ccfe803a798a585351ce5efccc7 (patch)
treed4021257eec625ccc2080a582ac27b49ec3f17b1 /chrome_elf
parentb145264927faea3c86c667597e332dde39e37796 (diff)
downloadchromium_src-a874dccb5c0b7ccfe803a798a585351ce5efccc7.zip
chromium_src-a874dccb5c0b7ccfe803a798a585351ce5efccc7.tar.gz
chromium_src-a874dccb5c0b7ccfe803a798a585351ce5efccc7.tar.bz2
Add Linux build packaging targets to GN
Changes the version processing templates to not implicitly include the chrome version .rc file. This was something I've been meaning to do for a while which was forced by this patch, because it wants to call version.py with no sources or template file. I also had to remove some checks that either a template file or sources were defined (I wasn't aware this was valid to do when I wrote these checks). The above-mentioned change necessitated referencing the version template file from a number of existing calls. The version script now explicitly sets the output file with -o. Previously this was the implicit second argument, but this didn't work if there was no template file. -o is the same and it's better to be more explicit anyway. Added copy rules for xdg-mime related scripts which are required by the installer. Added a meta "installer" target which links to the Linux installers. This will also be a good place to hook up the Windows installer when we write it. BUG=525839 TBR=thestig@chromium.org (linux installer), ddorwin@chromium.org (widevine) Review URL: https://codereview.chromium.org/1311543003 Cr-Commit-Position: refs/heads/master@{#346279}
Diffstat (limited to 'chrome_elf')
-rw-r--r--chrome_elf/BUILD.gn1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome_elf/BUILD.gn b/chrome_elf/BUILD.gn
index c97a411..2a15a55 100644
--- a/chrome_elf/BUILD.gn
+++ b/chrome_elf/BUILD.gn
@@ -7,6 +7,7 @@ import("//chrome/version.gni")
import("//testing/test.gni")
process_version("chrome_elf_resources") {
+ template_file = chrome_version_rc_template
sources = [
"chrome_elf.ver",
]