summaryrefslogtreecommitdiffstats
path: root/mojo/public/tools/download_shell_binary.py
Commit message (Collapse)AuthorAgeFilesLines
* Move //mojo/{public, edk} underneath //third_partyblundell2015-01-191-101/+0
| | | | | | | | | | | | | | | | | | | | | | | | This CL move //mojo/public and //mojo/edk to live in the following locations: - //third_party/mojo/src/mojo/public - //third_party/mojo/src/mojo/edk It moves the related gypfiles from //mojo to //third_party/mojo and updates them as necessary to account for the file moves. It also updates clients of the mojo SDK and EDK targets in both GYP and GN. (Note that for GN, the mojo SDK and EDK build systems are maintained in the Mojo repo and designed to be flexible wrt the location of the SDK/EDK in a client repo, so no changes are needed. This CL does not update include paths to the code being moved to limit the number of moving parts, instead relying on the include_dirs that the SDK and EDK targets supply to their direct dependents to ensure that include paths continue to resolve correctly. NOPRESUBMIT=true Review URL: https://codereview.chromium.org/814543006 Cr-Commit-Position: refs/heads/master@{#312129}
* Update mojo sdk to rev b737c0531e299ad494725c518699843e76ff84f5Colin Blundell2015-01-191-12/+23
| | | | | | | | | | | Incorporates changes from https://codereview.chromium.org/849133003/ to adapt to API changes in surfaces and ConnectToApplication. TBR=ben@chromium.org, jamesr@chromium.org Review URL: https://codereview.chromium.org/858603002 Cr-Commit-Position: refs/heads/master@{#312096}
* Update mojo sdk to rev 5aa6dbdccf1950daf0cd3014bf763f35899bccf9rockot2014-11-221-5/+29
| | | | | | | | BUG=433814 Review URL: https://codereview.chromium.org/748113004 Cr-Commit-Position: refs/heads/master@{#305339}
* Update mojo sdk to rev cfc99316100efdfa7d53d83f9e07f1d4d3765c21jamesr2014-11-041-27/+39
| | | | | | | | | | | Most changes are updates to the mojom syntax for modules. R=viettrungluu@chromium.org TBR=jam@chromium.org Review URL: https://codereview.chromium.org/698883005 Cr-Commit-Position: refs/heads/master@{#302542}
* Update mojo sdk to rev 3b54eded8dadb36548934c09c5100e9e645ec328jamesr2014-10-231-0/+54
| | | | | | | | | | | | | | | | | This updates the following directories: mojo/public mojo/edk mojo/services/public from the mojo repository's master branch at commit 3b54eded8dadb36548934c09c5100e9e645ec328, plus git cl format for a few cpp files that weren't formatted in mojo land. R=viettrungluu@chromium.org Review URL: https://codereview.chromium.org/672693003 Cr-Commit-Position: refs/heads/master@{#300922}
* Revert of Add gclient hook to download prebuilt mojo_shell (patchset #7 ↵yurys2014-10-221-53/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | id:120001 of https://codereview.chromium.org/667853002/) Reason for revert: gclient sync fails to execute download_shell_binary.py Original issue's description: > 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 > > Committed: https://crrev.com/e098527822f3e25fb5b86c1441f7ce6e4c2cfdc8 > Cr-Commit-Position: refs/heads/master@{#300600} TBR=abarth@chromium.org,jamesr@chromium.org NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/670073002 Cr-Commit-Position: refs/heads/master@{#300637}
* Add gclient hook to download prebuilt mojo_shelljamesr2014-10-221-0/+53
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}