From a874dccb5c0b7ccfe803a798a585351ce5efccc7 Mon Sep 17 00:00:00 2001 From: brettw Date: Fri, 28 Aug 2015 16:59:18 -0700 Subject: 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} --- media/cdm/ppapi/BUILD.gn | 1 + 1 file changed, 1 insertion(+) (limited to 'media/cdm') diff --git a/media/cdm/ppapi/BUILD.gn b/media/cdm/ppapi/BUILD.gn index cd10c83..b9ca2fc 100644 --- a/media/cdm/ppapi/BUILD.gn +++ b/media/cdm/ppapi/BUILD.gn @@ -51,6 +51,7 @@ shared_library("clearkeycdm") { process_version("clearkeycdmadapter_resources") { visibility = [ ":*" ] + template_file = chrome_version_rc_template sources = [ "//media/clearkeycdmadapter.ver", "external_clear_key/BRANDING", -- cgit v1.1