Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Issue 910763002: Expose ability to download network service impl in SDK. (Closed)

Created:
5 years, 10 months ago by blundell
Modified:
5 years, 10 months ago
Reviewers:
jamesr, ppi
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Expose ability to download network service impl in SDK. Consumers of the Mojo SDK need to be able obtain the impl of the network service that is associated with the version of the SDK. This CL moves infra for downloading the network service under the SDK. It gates the usage of the prebuilt network service via a variable in //build/module_args/mojo.gni, similarly to how the usage of the prebuilt shell is gated. Concretely, this CL does the following: - Moves download_network_service.py to live in the SDK - Changes the structure of //mojo/public/tools/prebuilt to have a subdir for each downloaded artifact, with platform-specific subdirs underneath each artifact's subdir - Moves the definition of the copy_network_service target into //mojo/public/tools/BUILD.gn and changes the structure of dependencies on that target to be analogous to the structure of dependencies on the copy_mojo_shell target R=jamesr@chromium.org, ppi@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/6966625cbb4c3b9392f07527c6177486de3ae7d7

Patch Set 1 #

Patch Set 2 : Fixes #

Patch Set 3 : Fixes #

Patch Set 4 : Rebase and restructuring #

Patch Set 5 : Fixes #

Total comments: 17

Patch Set 6 : Response to reviews #

Patch Set 7 : Response to ppi's review #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -165 lines) Patch
M .gitignore View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M DEPS View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M build/module_args/mojo.gni View 1 2 3 4 5 6 7 1 chunk +6 lines, -1 line 0 comments Download
M mojo/BUILD.gn View 2 chunks +5 lines, -0 lines 0 comments Download
M mojo/public/mojo.gni View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M mojo/public/mojo_application.gni View 1 2 3 4 5 2 chunks +14 lines, -13 lines 0 comments Download
M mojo/public/tools/BUILD.gn View 1 2 3 4 1 chunk +44 lines, -8 lines 0 comments Download
A + mojo/public/tools/NETWORK_SERVICE_VERSION View 0 chunks +-1 lines, --1 lines 0 comments Download
A + mojo/public/tools/download_network_service.py View 1 2 3 4 2 chunks +27 lines, -19 lines 0 comments Download
M mojo/public/tools/download_shell_binary.py View 1 2 3 4 2 chunks +4 lines, -3 lines 0 comments Download
M mojo/services/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
D mojo/services/network/BUILD.gn View 1 chunk +0 lines, -44 lines 0 comments Download
D mojo/services/network/VERSION View 1 chunk +0 lines, -1 line 0 comments Download
D mojo/services/network/download_network_service.py View 1 chunk +0 lines, -71 lines 0 comments Download
M mojo/tools/roll/roll_network_service.py View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
blundell
5 years, 10 months ago (2015-02-10 14:37:23 UTC) #2
blundell
5 years, 10 months ago (2015-02-10 14:38:41 UTC) #4
ppi
Overall looks right to me, please find some comments below. https://codereview.chromium.org/910763002/diff/80001/build/module_args/mojo.gni File build/module_args/mojo.gni (right): https://codereview.chromium.org/910763002/diff/80001/build/module_args/mojo.gni#newcode10 ...
5 years, 10 months ago (2015-02-10 16:49:50 UTC) #5
jamesr
https://codereview.chromium.org/910763002/diff/80001/build/module_args/mojo.gni File build/module_args/mojo.gni (right): https://codereview.chromium.org/910763002/diff/80001/build/module_args/mojo.gni#newcode10 build/module_args/mojo.gni:10: # To use the prebuilt network service, set this ...
5 years, 10 months ago (2015-02-10 22:45:21 UTC) #6
blundell
https://codereview.chromium.org/910763002/diff/80001/build/module_args/mojo.gni File build/module_args/mojo.gni (right): https://codereview.chromium.org/910763002/diff/80001/build/module_args/mojo.gni#newcode10 build/module_args/mojo.gni:10: # To use the prebuilt network service, set this ...
5 years, 10 months ago (2015-02-11 21:06:17 UTC) #8
jamesr
lgtm In the fullness of time we should get rid of the distinction between the ...
5 years, 10 months ago (2015-02-11 21:09:46 UTC) #9
ppi
https://codereview.chromium.org/910763002/diff/80001/build/module_args/mojo.gni File build/module_args/mojo.gni (right): https://codereview.chromium.org/910763002/diff/80001/build/module_args/mojo.gni#newcode10 build/module_args/mojo.gni:10: # To use the prebuilt network service, set this ...
5 years, 10 months ago (2015-02-12 13:36:49 UTC) #10
blundell
https://codereview.chromium.org/910763002/diff/80001/mojo/public/mojo.gni File mojo/public/mojo.gni (right): https://codereview.chromium.org/910763002/diff/80001/mojo/public/mojo.gni#newcode18 mojo/public/mojo.gni:18: is_linux || (is_android && !use_prebuilt_mojo_shell) On 2015/02/12 13:36:49, ppi ...
5 years, 10 months ago (2015-02-12 13:57:41 UTC) #12
ppi
lgtm, thanks!
5 years, 10 months ago (2015-02-12 13:59:04 UTC) #13
blundell
5 years, 10 months ago (2015-02-13 08:38:32 UTC) #15
Message was sent while issue was closed.
Committed patchset #8 (id:160001) manually as
6966625cbb4c3b9392f07527c6177486de3ae7d7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698