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

Issue 1722743002: Adds ability for chrome to behave as mojo_runner (Closed)

Created:
4 years, 10 months ago by sky
Modified:
4 years, 10 months ago
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds ability for chrome to behave as mojo_runner This adds the arg use_mash that is only true on chromeos. Once compiled with use_mash if you supply --mash to chrome it'll start the shell inside chrome. I haven't wired chrome up to start in this environment. Will do that next. BUG=581539 TEST=none R=ben@chromium.org Committed: https://crrev.com/d6439eceec0ac412e5ce440847609a4d807e0f90 Cr-Commit-Position: refs/heads/master@{#377113}

Patch Set 1 #

Patch Set 2 : no-file-copies #

Patch Set 3 : cleanup #

Total comments: 4

Patch Set 4 : chrome_mash, package_mash_services and NativeRunnerDelegate #

Total comments: 1

Patch Set 5 : fix up gyp and return #

Patch Set 6 : more gyp #

Patch Set 7 : fix gn now #

Patch Set 8 : dont link gles2 with platform_handle #

Patch Set 9 : fix window_manager_unittests link #

Patch Set 10 : merge to tip of tree #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+549 lines, -106 lines) Patch
M chrome/BUILD.gn View 1 2 3 4 5 6 7 8 9 7 chunks +13 lines, -0 lines 0 comments Download
M chrome/app/DEPS View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/app/chrome_main.cc View 1 2 3 4 5 6 2 chunks +17 lines, -0 lines 0 comments Download
A chrome/app/mash/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +64 lines, -0 lines 0 comments Download
A chrome/app/mash/DEPS View 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/app/mash/chrome_mash_manifest.json View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
A chrome/app/mash/mash_runner.h View 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/app/mash/mash_runner.cc View 1 2 3 1 chunk +236 lines, -0 lines 0 comments Download
M chrome/chrome_dll.gypi View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_exe.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_features.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_features.gypi View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 2 comments Download
M chrome/common/features.gni View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M components/mus/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M components/mus/gles2/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M components/mus/ws/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M mash/shell/BUILD.gn View 2 chunks +20 lines, -5 lines 0 comments Download
M mojo/shell/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M mojo/shell/application_manager.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/background/background_shell.h View 1 2 3 2 chunks +3 lines, -4 lines 0 comments Download
M mojo/shell/background/background_shell.cc View 1 2 3 4 chunks +6 lines, -8 lines 0 comments Download
M mojo/shell/native_runner.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
A mojo/shell/native_runner_delegate.h View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
M mojo/shell/runner/host/BUILD.gn View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M mojo/shell/runner/host/child_process_host.h View 1 2 3 5 chunks +8 lines, -5 lines 0 comments Download
M mojo/shell/runner/host/child_process_host.cc View 1 2 3 4 chunks +13 lines, -9 lines 0 comments Download
M mojo/shell/runner/host/child_process_host_unittest.cc View 1 2 3 5 chunks +32 lines, -4 lines 0 comments Download
D mojo/shell/runner/host/command_line_switch.h View 1 2 3 1 chunk +0 lines, -25 lines 0 comments Download
M mojo/shell/runner/host/in_process_native_runner.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M mojo/shell/runner/host/in_process_native_runner.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M mojo/shell/runner/host/out_of_process_native_runner.h View 1 2 3 4 chunks +8 lines, -12 lines 0 comments Download
M mojo/shell/runner/host/out_of_process_native_runner.cc View 1 2 3 5 chunks +9 lines, -12 lines 0 comments Download
M mojo/shell/standalone/context.h View 1 2 3 5 chunks +5 lines, -8 lines 0 comments Download
M mojo/shell/standalone/context.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M ui/views/mus/DEPS View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M ui/views/mus/platform_test_helper_mus.cc View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
sky
4 years, 10 months ago (2016-02-22 18:18:28 UTC) #1
Ben Goodger (Google)
https://codereview.chromium.org/1722743002/diff/40001/chrome/BUILD.gn File chrome/BUILD.gn (right): https://codereview.chromium.org/1722743002/diff/40001/chrome/BUILD.gn#newcode211 chrome/BUILD.gn:211: if (use_mash) { you should give this variable a ...
4 years, 10 months ago (2016-02-22 20:20:01 UTC) #2
sky
https://codereview.chromium.org/1722743002/diff/40001/chrome/BUILD.gn File chrome/BUILD.gn (right): https://codereview.chromium.org/1722743002/diff/40001/chrome/BUILD.gn#newcode211 chrome/BUILD.gn:211: if (use_mash) { On 2016/02/22 20:20:00, Ben Goodger (Google) ...
4 years, 10 months ago (2016-02-23 00:01:34 UTC) #3
Ben Goodger (Google)
lgtm https://codereview.chromium.org/1722743002/diff/60001/chrome/app/chrome_main.cc File chrome/app/chrome_main.cc (right): https://codereview.chromium.org/1722743002/diff/60001/chrome/app/chrome_main.cc#newcode81 chrome/app/chrome_main.cc:81: MashMain(); return MashMain()
4 years, 10 months ago (2016-02-23 00:40:27 UTC) #4
sky
I think I finally sorted out the build. Here's a list of changes since you ...
4 years, 10 months ago (2016-02-23 21:30:51 UTC) #5
Ben Goodger (Google)
lgtm https://codereview.chromium.org/1722743002/diff/180001/chrome/common/BUILD.gn File chrome/common/BUILD.gn (right): https://codereview.chromium.org/1722743002/diff/180001/chrome/common/BUILD.gn#newcode44 chrome/common/BUILD.gn:44: "ANDROID_JAVA_UI=$android_java_ui", que?
4 years, 10 months ago (2016-02-23 22:22:59 UTC) #6
sky
https://codereview.chromium.org/1722743002/diff/180001/chrome/common/BUILD.gn File chrome/common/BUILD.gn (right): https://codereview.chromium.org/1722743002/diff/180001/chrome/common/BUILD.gn#newcode44 chrome/common/BUILD.gn:44: "ANDROID_JAVA_UI=$android_java_ui", On 2016/02/23 22:22:59, Ben Goodger (Google) wrote: > ...
4 years, 10 months ago (2016-02-23 22:27:13 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1722743002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1722743002/180001
4 years, 10 months ago (2016-02-23 22:36:10 UTC) #9
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 10 months ago (2016-02-23 23:18:33 UTC) #10
commit-bot: I haz the power
4 years, 10 months ago (2016-02-23 23:21:19 UTC) #12
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/d6439eceec0ac412e5ce440847609a4d807e0f90
Cr-Commit-Position: refs/heads/master@{#377113}

Powered by Google App Engine
This is Rietveld 408576698