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

Issue 1294233003: Forward deps to android_apk finalizer target (Closed)

Created:
5 years, 4 months ago by jamesr
Modified:
5 years, 4 months ago
Reviewers:
etiennej, qsr, ppi
CC:
mojo-reviews_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Forward deps to android_apk finalizer target The android official builder is failing with this error: Running gn 'gen' '--check' 'out/android_Official' <omitted> ERROR Input to target not generated by a dependency. The file: //out/android_Official/mojo_shell-official.keystore is listed as an input or source for the target: //shell:mojo_shell_apk__create__finalize but this file was not generated by any dependencies of the target. The target that generates the file is: //shell:download_keystore If you have generated inputs, there needs to be a dependency path between the two targets in addition to just listing the files. For indirect dependencies, the intermediate ones must be public_deps. data_deps don't count since they're only runtime dependencies. If you think a dependency chain exists, it might be because the chain is private. Try "gn path" to analyze. The //shell:mojo_shell_apk target has a dep on :download_keystore, but this dep isn't forwarded into the finalizer rule. This forwards all deps on the create_apk target into the finalize target which is overbroad (it includes many things that the finalize step does not need) but includes the correct dependency as well. R=ppi@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/16391b035c0616395e82a12ddc016c86a859c84e

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M build/config/android/internal_rules.gni View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
jamesr
A recent GN roll made the deps checking stricter which tripped up the android official ...
5 years, 4 months ago (2015-08-17 22:14:27 UTC) #2
ppi
Don't we snapshot this file from Chromium? Should this land in Chromium? The fix lgtm. ...
5 years, 4 months ago (2015-08-18 09:16:51 UTC) #3
etiennej
On 2015/08/18 09:16:51, ppi wrote: > Don't we snapshot this file from Chromium? Should this ...
5 years, 4 months ago (2015-08-18 09:35:04 UTC) #4
jamesr
Our //build/config/... is not practically snapshottable from chromium. I'm going to land this to fix ...
5 years, 4 months ago (2015-08-19 18:05:20 UTC) #5
jamesr
5 years, 4 months ago (2015-08-19 18:15:32 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
16391b035c0616395e82a12ddc016c86a859c84e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698