commit | 23525d4258d6fafe7374f28469abc3a4389244d4 | [log] [tgz] |
---|---|---|
author | Alain Vongsouvanh <alainv@google.com> | Wed Dec 19 16:10:07 2018 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Thu Dec 20 16:58:45 2018 +0000 |
tree | 9f13223876c2faf354f7b31a801d348d1fc1a758 | |
parent | 3146e24f44245e9384f52b02fe98266f6960fd6d [diff] |
[sdk][bazel] Remove safeguard for the main package's dilp file. The kernel compiler used to not generate a dilp file for the main package, instead generating a %{name}_kernel.dil-main.dilp file. Declaring that file used to throw bazel errors as it wasn't generated. This safeguard is no longer necessary as the dilp files generation is wrapped under a script file that checks for existence and emptiness and is safe to remove. Bug: DX-851 Test: all tests pass, example dart_app run on target. Change-Id: I48184a5ec1774c4e1125fdae7d63411fdcc63d09
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.