commit | 6764507fce7449706fc20ca03e6fbd40f5a88990 | [log] [tgz] |
---|---|---|
author | gridman <gridman@google.com> | Fri Sep 21 15:45:07 2018 -0700 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Mon Sep 24 17:57:31 2018 +0000 |
tree | ae5c22f558aee9d05da11fbaae5281afdb819f6c | |
parent | 455a74f4de696285af2ff2df88e4753fb1719f6e [diff] |
[sdk][bazel]Exports rules artifacts to runfiles. DefaultInfo provider must export output artifacts to runfiles dir for them to be reachable via data attribute deps from rules like sh_test. Bug: DX-462 Change-Id: Ied7f2dd6724c137d98da91d682bf0f96a0bbb119
This repository is for scripts useful when hacking on Fuchsia. This repository should contain scripts that perform tasks spanning multiple repositories. Scripts that only operate within a single repository should live in the relevant repository.
The push-package.py script pushes the files listed in the given manifests files. No checking is performed for incremental changes.
The sample command lines below can be used to build Modular and then push those files to the default device. This assumes you have already booted your device with a version of Fuchsia that contains the most recent version of all other packages. This command line uses the “system_manifest” file from each of the modular directories, such as modular, modular_dev, and modular_tests.
cd $FUCHSIA_DIR fx build peridot:modular_all scripts/push-package.py out/debug-x64/package/modular*/system_manifest
fx publish
will take a package from the build and create a Fuchsia package manager package from a build package. It will then add the package to a local update respository which, by default, is put at ${FUCHSIA_BUILD_DIR}/amber-files
. It will also add the package content files to the update repository and name these file after their Merkle Root. If a package name is supplied to fx publish
, only that package will be processed. If no name is supplied, all the packages made by the build will be included.