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

Issue 949233003: Fix official build in GN (Closed)

Created:
5 years, 10 months ago by brettw
Modified:
5 years, 10 months ago
Reviewers:
Dirk Pranke, ddorwin
CC:
chromium-reviews, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, yusukes+watch_chromium.org, feature-media-reviews_chromium.org, binji+watch_chromium.org, caitkp+watch_chromium.org, piman+watch_chromium.org, eme-reviews_chromium.org, teravest+watch_chromium.org, tzik, raymes+watch_chromium.org, bradnelson+warch_chromium.org, chromium-apps-reviews_chromium.org, ihf+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@random
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix official build in GN Changes process_version template. In GYP this is used in two ways and the GN version only supported one of these. This change also deletes an unnecessary fork of the template file, and fixes the dependencies for the extra files (previously they were just passed with "-f" and not added to the inputs of the target. Adds a cdm_adapter template which basically matches the GYP version. Uses this for the media clearkey adapter and the widevine one in the official build. Fixes for the crypto targets when compiling with the official build's checked-in sysroots. Committed: https://crrev.com/70d2f6ea98ae618b24a7c517570b74d20b92a7c7 Cr-Commit-Position: refs/heads/master@{#318083}

Patch Set 1 #

Patch Set 2 : #

Total comments: 7

Patch Set 3 : android fix, review comments, gn format #

Total comments: 21

Patch Set 4 : #

Patch Set 5 : remove ppapi dep #

Unified diffs Side-by-side diffs Delta from patch set Stats (+290 lines, -128 lines) Patch
M chrome/BUILD.gn View 1 2 2 chunks +16 lines, -21 lines 0 comments Download
M chrome/android/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_watcher/BUILD.gn View 1 chunk +3 lines, -5 lines 0 comments Download
M chrome/common/BUILD.gn View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 2 chunks +7 lines, -9 lines 0 comments Download
M chrome/version.gni View 1 2 2 chunks +50 lines, -14 lines 0 comments Download
M chrome_elf/BUILD.gn View 1 chunk +3 lines, -5 lines 0 comments Download
M components/data_reduction_proxy/core/common/BUILD.gn View 2 chunks +2 lines, -2 lines 0 comments Download
D components/data_reduction_proxy/core/common/version.gni View 1 chunk +0 lines, -53 lines 0 comments Download
M crypto/BUILD.gn View 2 chunks +9 lines, -0 lines 0 comments Download
M extensions/shell/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M media/cdm/ppapi/BUILD.gn View 1 2 3 2 chunks +27 lines, -5 lines 0 comments Download
A media/cdm/ppapi/cdm_adapter.gni View 1 2 3 1 chunk +129 lines, -0 lines 0 comments Download
M media/media_cdm.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M media/media_cdm_adapter.gyp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M net/third_party/nss/ssl/BUILD.gn View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/widevine/cdm/BUILD.gn View 1 2 3 2 chunks +32 lines, -8 lines 0 comments Download
M third_party/widevine/cdm/widevine_cdm.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
brettw
ddorwin: owners for widevine dpranke: everything else
5 years, 10 months ago (2015-02-25 00:15:01 UTC) #2
Dirk Pranke
lgtm w/ a few nits https://codereview.chromium.org/949233003/diff/20001/chrome/chrome_watcher/BUILD.gn File chrome/chrome_watcher/BUILD.gn (right): https://codereview.chromium.org/949233003/diff/20001/chrome/chrome_watcher/BUILD.gn#newcode18 chrome/chrome_watcher/BUILD.gn:18: sources = [ Is ...
5 years, 10 months ago (2015-02-25 00:23:20 UTC) #3
brettw
Should have fixed the rest. https://codereview.chromium.org/949233003/diff/20001/chrome/chrome_watcher/BUILD.gn File chrome/chrome_watcher/BUILD.gn (right): https://codereview.chromium.org/949233003/diff/20001/chrome/chrome_watcher/BUILD.gn#newcode18 chrome/chrome_watcher/BUILD.gn:18: sources = [ On ...
5 years, 10 months ago (2015-02-25 00:51:32 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/949233003/40001
5 years, 10 months ago (2015-02-25 00:53:46 UTC) #7
ddorwin
https://codereview.chromium.org/949233003/diff/40001/media/cdm/ppapi/BUILD.gn File media/cdm/ppapi/BUILD.gn (right): https://codereview.chromium.org/949233003/diff/40001/media/cdm/ppapi/BUILD.gn#newcode54 media/cdm/ppapi/BUILD.gn:54: process_version("clearkeycdmadapter_resources") { Ditto with below but less important since ...
5 years, 10 months ago (2015-02-25 01:18:32 UTC) #8
Dirk Pranke
On 2015/02/25 00:51:32, brettw wrote: > On 2015/02/25 00:23:19, Dirk Pranke wrote: > > Is ...
5 years, 10 months ago (2015-02-25 01:19:19 UTC) #10
brettw
New snap up https://codereview.chromium.org/949233003/diff/40001/media/cdm/ppapi/BUILD.gn File media/cdm/ppapi/BUILD.gn (right): https://codereview.chromium.org/949233003/diff/40001/media/cdm/ppapi/BUILD.gn#newcode59 media/cdm/ppapi/BUILD.gn:59: output = clearkeycdmadapter_rc_file On 2015/02/25 01:18:32, ...
5 years, 10 months ago (2015-02-25 01:32:42 UTC) #11
ddorwin
LGTM. https://codereview.chromium.org/949233003/diff/40001/media/cdm/ppapi/cdm_adapter.gni File media/cdm/ppapi/cdm_adapter.gni (right): https://codereview.chromium.org/949233003/diff/40001/media/cdm/ppapi/cdm_adapter.gni#newcode43 media/cdm/ppapi/cdm_adapter.gni:43: # Note GYP sets rpath but this is ...
5 years, 10 months ago (2015-02-25 02:07:56 UTC) #12
ddorwin
On 2015/02/25 02:07:56, ddorwin wrote: > LGTM. ^ For media/ and third_party/widevine/
5 years, 10 months ago (2015-02-25 02:08:44 UTC) #13
brettw
https://codereview.chromium.org/949233003/diff/40001/media/cdm/ppapi/cdm_adapter.gni File media/cdm/ppapi/cdm_adapter.gni (right): https://codereview.chromium.org/949233003/diff/40001/media/cdm/ppapi/cdm_adapter.gni#newcode48 media/cdm/ppapi/cdm_adapter.gni:48: if (defined(invoker.all_dependent_configs)) { I've considered a better way to ...
5 years, 10 months ago (2015-02-25 02:19:54 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/949233003/60001
5 years, 10 months ago (2015-02-25 02:21:18 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/46242)
5 years, 10 months ago (2015-02-25 04:01:40 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/949233003/80001
5 years, 10 months ago (2015-02-25 17:52:17 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-02-25 18:47:08 UTC) #23
commit-bot: I haz the power
5 years, 10 months ago (2015-02-25 18:48:34 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/70d2f6ea98ae618b24a7c517570b74d20b92a7c7
Cr-Commit-Position: refs/heads/master@{#318083}

Powered by Google App Engine
This is Rietveld 408576698