Fix missing GN dependencies.
commitde262b0acc538d307f35b85f4ebf395357d1a4db
authorbrettw <brettw@chromium.org>
Wed, 27 May 2015 19:41:42 +0000 (27 12:41 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 27 May 2015 19:43:24 +0000 (27 19:43 +0000)
tree4ca98869a87c4e94b3c51c3b69266f761fc2c8ab
parent1f33db92655896a8937300610224afff124880e7
Fix missing GN dependencies.

Fixes some cases where a dependency between a target's inputs and outputs exists without an explicit dependency.

json_schema_api.gni was generating wrong names, this was fixed.

mojo_application_package.gni was fixed to generate unique names (just a bug I noticed in passing) and support the testonly flag, which is necessary when I added the correct dependency.

The rest of the cases are just adding deps or making existing deps public so that the ability to depend on the target's outputs is passed to dependents.

BUG=487897
TBR=dpranke

CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:android_chromium_gn_compile_dbg,android_chromium_gn_compile_rel;tryserver.chromium.win:win8_chromium_gn_rel,win8_chromium_gn_dbg;tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg

Previously landed as https://codereview.chromium.org/1128163007/ the issue there should have been fixed by https://codereview.chromium.org/1148173002/ which has already been landed.

Review URL: https://codereview.chromium.org/1134753011

Cr-Commit-Position: refs/heads/master@{#331625}
12 files changed:
build/json_schema_api.gni
build/secondary/tools/grit/grit_rule.gni
chrome/BUILD.gn
chrome/app/BUILD.gn
chrome/browser/BUILD.gn
chrome/browser/ui/libgtk2ui/BUILD.gn
chrome/test/chromedriver/BUILD.gn
components/html_viewer/BUILD.gn
extensions/BUILD.gn
gin/BUILD.gn
mojo/mojo_application_package.gni
ui/resources/BUILD.gn