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

Issue 1311543003: Add Linux build packaging targets to GN (Closed)

Created:
5 years, 3 months ago by brettw
Modified:
5 years, 3 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, grt+watch_chromium.org, rickyz+watch_chromium.org, wfh+watch_chromium.org, eme-reviews_chromium.org, caitkp+watch_chromium.org, Michael Moss
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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) Committed: https://crrev.com/a874dccb5c0b7ccfe803a798a585351ce5efccc7 Cr-Commit-Position: refs/heads/master@{#346279}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+432 lines, -24 lines) Patch
M BUILD.gn View 1 chunk +2 lines, -1 line 0 comments Download
M build/config/chrome_build.gni View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/BUILD.gn View 9 chunks +30 lines, -6 lines 0 comments Download
M chrome/chrome_installer.gypi View 1 2 17 chunks +19 lines, -0 lines 0 comments Download
M chrome/chrome_watcher/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/installer/BUILD.gn View 1 chunk +14 lines, -0 lines 0 comments Download
A chrome/installer/linux/BUILD.gn View 1 2 3 1 chunk +319 lines, -0 lines 2 comments Download
A chrome/installer/linux/flock_make_package.py View 1 chunk +21 lines, -0 lines 1 comment Download
M chrome/version.gni View 6 chunks +12 lines, -14 lines 0 comments Download
M chrome_elf/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M media/cdm/ppapi/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M sandbox/BUILD.gn View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/widevine/cdm/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 26 (10 generated)
brettw
5 years, 3 months ago (2015-08-27 23:52:52 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1311543003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1311543003/1
5 years, 3 months ago (2015-08-27 23:53:12 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-08-28 00:38:05 UTC) #6
Dirk Pranke
I didn't have time to look at this yet, but will look at it tomorrow.
5 years, 3 months ago (2015-08-28 02:56:21 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1311543003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1311543003/40001
5 years, 3 months ago (2015-08-28 18:07:53 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-08-28 18:59:41 UTC) #11
Dirk Pranke
lgtm
5 years, 3 months ago (2015-08-28 21:21:45 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1311543003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1311543003/40001
5 years, 3 months ago (2015-08-28 22:24:15 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/94409)
5 years, 3 months ago (2015-08-28 22:54:35 UTC) #16
brettw
Lei: I'm not sure you'll care about this. If you do, I'm happy to address ...
5 years, 3 months ago (2015-08-28 23:04:21 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1311543003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1311543003/60001
5 years, 3 months ago (2015-08-28 23:05:06 UTC) #21
Lei Zhang
I trust Dirk to have looked through the installer files. https://codereview.chromium.org/1311543003/diff/60001/chrome/installer/linux/BUILD.gn File chrome/installer/linux/BUILD.gn (right): https://codereview.chromium.org/1311543003/diff/60001/chrome/installer/linux/BUILD.gn#newcode20 ...
5 years, 3 months ago (2015-08-28 23:17:02 UTC) #22
brettw
https://codereview.chromium.org/1311543003/diff/60001/chrome/installer/linux/BUILD.gn File chrome/installer/linux/BUILD.gn (right): https://codereview.chromium.org/1311543003/diff/60001/chrome/installer/linux/BUILD.gn#newcode20 chrome/installer/linux/BUILD.gn:20: # TODO it would be much nicer to have ...
5 years, 3 months ago (2015-08-28 23:31:42 UTC) #23
Lei Zhang
On 2015/08/28 23:31:42, brettw wrote: > https://codereview.chromium.org/1311543003/diff/60001/chrome/installer/linux/BUILD.gn > File chrome/installer/linux/BUILD.gn (right): > > https://codereview.chromium.org/1311543003/diff/60001/chrome/installer/linux/BUILD.gn#newcode20 > ...
5 years, 3 months ago (2015-08-28 23:37:49 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 3 months ago (2015-08-28 23:59:29 UTC) #25
commit-bot: I haz the power
5 years, 3 months ago (2015-08-29 00:00:04 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a874dccb5c0b7ccfe803a798a585351ce5efccc7
Cr-Commit-Position: refs/heads/master@{#346279}

Powered by Google App Engine
This is Rietveld 408576698