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

Issue 2910383002: mash: Add catalog/manifest etc. for telemetry tests binary for mash. (Closed)

Created:
3 years, 6 months ago by sadrul
Modified:
3 years, 6 months ago
CC:
chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, devtools-reviews_chromium.org, jam, jbauman+watch_chromium.org, kalyank, nona+watch_chromium.org, pfeldman, piman+watch_chromium.org, shuchen+watch_chromium.org, James Su, yusukes+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

mash: Add catalog/manifest etc. for telemetry tests binary for mash. For telemetry tests, the browser needs to get access to some test api from the mus window server, which is only exposed to clients marked as 'test' in their manifest. Instead of making default chrome-browser such a test client, create a separate telemetry-browser catalog, which is used when run with --use-test-config command-line flag. Instead of adding dependency on this test catalog from the main chrome executable, create a separate test_chrome executable that can be used for running the telemetry tests. BUG=704681, 721640 Review-Url: https://codereview.chromium.org/2910383002 Cr-Commit-Position: refs/heads/master@{#477326} Committed: https://chromium.googlesource.com/chromium/src/+/77c67de3a506c39bf84fec3f92585c507f16f29f

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : . #

Total comments: 2

Patch Set 4 : . #

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+265 lines, -158 lines) Patch
M chrome/BUILD.gn View 1 2 3 1 chunk +184 lines, -156 lines 0 comments Download
M chrome/app/BUILD.gn View 1 2 4 chunks +18 lines, -0 lines 0 comments Download
M chrome/app/chrome_main_delegate.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/app/chrome_main_delegate.cc View 1 2 3 4 3 chunks +11 lines, -0 lines 0 comments Download
A chrome/app/chrome_test_exe_main_aura.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/app/mash/BUILD.gn View 1 2 3 chunks +20 lines, -2 lines 0 comments Download
A chrome/browser/chrome_test_browser_overlay.json View 1 2 1 chunk +11 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 50 (38 generated)
sadrul
3 years, 6 months ago (2017-05-31 07:54:30 UTC) #11
Ken Rockot(use gerrit already)
If we're going to add yet another catalog config to maintain for Chrome, maybe we ...
3 years, 6 months ago (2017-05-31 11:34:23 UTC) #12
sadrul
https://codereview.chromium.org/2910383002/diff/20001/chrome/app/mash/BUILD.gn File chrome/app/mash/BUILD.gn (right): https://codereview.chromium.org/2910383002/diff/20001/chrome/app/mash/BUILD.gn#newcode103 chrome/app/mash/BUILD.gn:103: catalog("catalog_telemetry") { On 2017/05/31 11:34:23, Ken Rockot(use gerrit already) ...
3 years, 6 months ago (2017-05-31 13:19:24 UTC) #16
sadrul
ping
3 years, 6 months ago (2017-06-01 16:58:10 UTC) #20
Ken Rockot(use gerrit already)
Oops, sorry, forgot to stamp. LGTM!
3 years, 6 months ago (2017-06-01 17:03:24 UTC) #21
sky
https://codereview.chromium.org/2910383002/diff/60001/chrome/app/chrome_main_delegate.cc File chrome/app/chrome_main_delegate.cc (right): https://codereview.chromium.org/2910383002/diff/60001/chrome/app/chrome_main_delegate.cc#newcode1139 chrome/app/chrome_main_delegate.cc:1139: if (command_line.HasSwitch("use-test-config")) Should we consider a completely separate build ...
3 years, 6 months ago (2017-06-01 20:45:25 UTC) #22
sadrul
https://codereview.chromium.org/2910383002/diff/60001/chrome/app/chrome_main_delegate.cc File chrome/app/chrome_main_delegate.cc (right): https://codereview.chromium.org/2910383002/diff/60001/chrome/app/chrome_main_delegate.cc#newcode1139 chrome/app/chrome_main_delegate.cc:1139: if (command_line.HasSwitch("use-test-config")) On 2017/06/01 20:45:24, sky wrote: > Should ...
3 years, 6 months ago (2017-06-01 20:49:43 UTC) #23
sky
I think that would be better in that less test only code is shipped. If ...
3 years, 6 months ago (2017-06-01 22:03:35 UTC) #24
sadrul
On 2017/06/01 22:03:35, sky wrote: > I think that would be better in that less ...
3 years, 6 months ago (2017-06-06 05:21:07 UTC) #41
sky
Nice, LGTM
3 years, 6 months ago (2017-06-06 16:12:31 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2910383002/140002
3 years, 6 months ago (2017-06-06 17:19:18 UTC) #47
commit-bot: I haz the power
3 years, 6 months ago (2017-06-06 17:29:25 UTC) #50
Message was sent while issue was closed.
Committed patchset #5 (id:140002) as
https://chromium.googlesource.com/chromium/src/+/77c67de3a506c39bf84fec3f9258...

Powered by Google App Engine
This is Rietveld 408576698