summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorjamesr <jamesr@chromium.org>2014-10-21 18:18:47 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-22 04:03:28 +0000
commite098527822f3e25fb5b86c1441f7ce6e4c2cfdc8 (patch)
tree5d8924131ef05891c51bb8468da170af44f5e7f4 /.gitignore
parentbc79418f9d091e654e83f9135b308553b990a220 (diff)
downloadchromium_src-e098527822f3e25fb5b86c1441f7ce6e4c2cfdc8.zip
chromium_src-e098527822f3e25fb5b86c1441f7ce6e4c2cfdc8.tar.gz
chromium_src-e098527822f3e25fb5b86c1441f7ce6e4c2cfdc8.tar.bz2
Add gclient hook to download prebuilt mojo_shell
This adds a gclient hook that downloads prebuilt mojo_shell binaries from google storage (linux only for now) and gyp/gn flags to toggle using these prebuilt binaries instead of ones built from source. This also adds a helper script that uploads a locally built mojo_shell binary to the appropriate place in google storage. The versioning scheme is: *) mojo/public/VERSION contains an identifier (committish currently) for the mojo public SDK. The mojo_shell binary must match the interfaces defined in this version of mojo/public/. *) gs://mojo/shell/$VERSION/$PLATFORM.zip contains a prebuilt mojo_shell binary for a particular version. $PLATFORM for now must be linux-x64, but we can add more later as needed. gclient runhooks downloads the shell binary referred to by mojo/public/VERSION if it is available for the host platform to mojo/public/tools/prebuilt/ and updates mojo/public/tools/prebuilt/VERSION to tag the version downloaded if successful. On subsequent runs the hook will check this against mojo/public/VERSION and avoid downloading again if the binary is up to date. This also adds variables to the GYP and GN builds that control if building 'mojo' builds a mojo_shell binary from source or copies the prebuilt binary into the outdir. They both default to false for now. R=abarth@chromium.org Review URL: https://codereview.chromium.org/667853002 Cr-Commit-Position: refs/heads/master@{#300600}
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 5e33b5a..d72ad58 100644
--- a/.gitignore
+++ b/.gitignore
@@ -210,6 +210,7 @@ v8.log
/mojo/mojo_wm_flow_embedder_bindings.xml
/mojo/mojom_test.xml
/mojo/sample_service.xml
+/mojo/public/tools/prebuilt/
/native_client
/net/Debug
/net/net_derived_sources.xml