summaryrefslogtreecommitdiffstats
path: root/blimp/docs
diff options
context:
space:
mode:
authormaniscalco <maniscalco@chromium.org>2015-10-14 12:05:52 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-14 19:06:50 +0000
commitc272c0e10679bb15a0cd6863ebe5998028c81f41 (patch)
tree85601922ca83a2a30136d6228b6e7a0c591fe906 /blimp/docs
parent6555a210b487d8a71318e5abfc544b8d73e8a94a (diff)
downloadchromium_src-c272c0e10679bb15a0cd6863ebe5998028c81f41.zip
chromium_src-c272c0e10679bb15a0cd6863ebe5998028c81f41.tar.gz
chromium_src-c272c0e10679bb15a0cd6863ebe5998028c81f41.tar.bz2
Update bundle-engine.py to use a static (hand-managed) manifest
bundle-engine.py no longer invokes "gn desc" to get a list of runtime dependencies. Instead, the list is generated using generate-engine-manifest.py, then hand-edited to remove unnecessary files. See blimp/docs/container.md for details and examples. BUG=542288 Review URL: https://codereview.chromium.org/1404463002 Cr-Commit-Position: refs/heads/master@{#354079}
Diffstat (limited to 'blimp/docs')
-rw-r--r--blimp/docs/container.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/blimp/docs/container.md b/blimp/docs/container.md
index e34a547..51bb5b9 100644
--- a/blimp/docs/container.md
+++ b/blimp/docs/container.md
@@ -34,6 +34,21 @@ installation instructions](https://docs.docker.com/installation/ubuntulinux/).
The `blimp/engine:bundle_blimp_engine` build target will bundle the engine and
its dependencies into a tarfile, which can be used to build a Docker image.
+### Update Engine Dependencies
+
+`blimp/engine/engine-manifest.txt` is a list of the engine's runtime
+dependencies. From time to time, this list may need to be updated. Use
+`blimp/tools/generate-engine-manifest.py` to (re)generate the manifest:
+
+```bash
+./blimp/tools/generate-engine-manifest.py \
+ --build-dir out-linux/Debug \
+ --target //blimp/engine:blimp_engine \
+ --output blimp/engine/engine-manifest.txt
+```
+
+Be sure to review the generated manifest and remove any false runtime
+dependencies.
## Build Docker Image