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

Issue 2294973003: adb_chrome_public_command_line should write to old and new paths (Closed)

Created:
4 years, 3 months ago by johnme
Modified:
4 years, 3 months ago
Reviewers:
perezju, jbudorick
CC:
chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org, Torne, Benoit L
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

adb_chrome_public_command_line should write to old and new paths In Android N, Chrome can no longer read /data/local/chrome-command-line due to SELinux (https://crbug.com/593720). Hence command line arguments are read from /data/local/tmp/chrome-command-line instead on userdebug or eng builds. This patch makes adb_chrome_public_command_line write the same arguments to both the old and the new location, so it works with both old and new builds of Chrome. BUG=593720 Committed: https://crrev.com/f1b179cce6d03443a0e2252a4bedcb49061099d3 Cr-Commit-Position: refs/heads/master@{#416523}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M build/android/adb_chrome_public_command_line View 1 chunk +6 lines, -0 lines 3 comments Download

Messages

Total messages: 14 (4 generated)
johnme
4 years, 3 months ago (2016-08-31 15:04:46 UTC) #2
jbudorick
I think we should be using flag_changer (once we fix https://bugs.chromium.org/p/chromium/issues/detail?id=640228) in adb_command_line.py to handle ...
4 years, 3 months ago (2016-08-31 15:10:23 UTC) #4
johnme
> I think we should be using flag_changer (once we fix > https://bugs.chromium.org/p/chromium/issues/detail?id=640228) > in ...
4 years, 3 months ago (2016-08-31 17:41:46 UTC) #5
jbudorick
On 2016/08/31 17:41:46, johnme wrote: > > I think we should be using flag_changer (once ...
4 years, 3 months ago (2016-08-31 18:24:26 UTC) #6
johnme
On 2016/08/31 18:24:26, jbudorick wrote: > On 2016/08/31 17:41:46, johnme wrote: > > 1. It ...
4 years, 3 months ago (2016-08-31 18:33:28 UTC) #7
jbudorick
lgtm I didn't think about the official build case. https://codereview.chromium.org/2294973003/diff/1/build/android/adb_chrome_public_command_line File build/android/adb_chrome_public_command_line (right): https://codereview.chromium.org/2294973003/diff/1/build/android/adb_chrome_public_command_line#newcode20 build/android/adb_chrome_public_command_line:20: ...
4 years, 3 months ago (2016-09-03 00:33:56 UTC) #8
perezju
I think this should be better fixed within the python script, using the flag changer. ...
4 years, 3 months ago (2016-09-03 10:29:37 UTC) #9
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/2294973003/1
4 years, 3 months ago (2016-09-05 10:17:08 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-05 10:49:30 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-05 10:51:33 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f1b179cce6d03443a0e2252a4bedcb49061099d3
Cr-Commit-Position: refs/heads/master@{#416523}

Powered by Google App Engine
This is Rietveld 408576698