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

Issue 966723003: Rewrite plugin_flags.sh Bash script in Python. (Closed)

Created:
5 years, 9 months ago by tfarina
Modified:
5 years, 9 months ago
Reviewers:
Dirk Pranke, Nico, dcheng
CC:
brettw, chromium-reviews, Dirk Pranke, hans
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rewrite plugin_flags.sh Bash script in Python. This is necessary because GN's exec_script only runs Python scripts. This was requested by Nico in https://codereview.chromium.org/971593003/. BUG=462972 TEST=run ./tools/clang/scripts/plugin_flags.py and compare the output with the bash version. They should be exactly the same. R=thakis@chromium.org Committed: https://crrev.com/070329d32a77224bb62bf9f11fc94ae58a279a79 Cr-Commit-Position: refs/heads/master@{#318924}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : We are already in 2015. Ick. #

Total comments: 2

Patch Set 4 : thakis review #

Patch Set 5 : set executable bit #

Total comments: 1

Patch Set 6 : #

Patch Set 7 : git update-index --chmod=+x #

Patch Set 8 : dcheng #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -26 lines) Patch
M build/common.gypi View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M testing/buildbot/trybot_analyze_config.json View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A tools/clang/scripts/plugin_flags.py View 1 2 3 4 5 6 7 1 chunk +33 lines, -0 lines 0 comments Download
D tools/clang/scripts/plugin_flags.sh View 1 2 3 1 chunk +0 lines, -22 lines 0 comments Download

Messages

Total messages: 28 (10 generated)
tfarina
Remember when reviewing this that I'm still crawling in Python. This was formatted with: ./third_party/WebKit/Tools/Scripts/format-webkitpy ...
5 years, 9 months ago (2015-03-02 20:42:32 UTC) #1
Nico
This looks fine (in general, we don't use webkit formatting scripts outside of webkit, but ...
5 years, 9 months ago (2015-03-02 20:45:31 UTC) #2
tfarina
https://codereview.chromium.org/966723003/diff/40001/tools/clang/scripts/plugin_flags.py File tools/clang/scripts/plugin_flags.py (right): https://codereview.chromium.org/966723003/diff/40001/tools/clang/scripts/plugin_flags.py#newcode35 tools/clang/scripts/plugin_flags.py:35: ' -Xclang strict-virtual-specifiers' % LIB_PATH On 2015/03/02 20:45:31, Nico ...
5 years, 9 months ago (2015-03-02 21:11:41 UTC) #3
Nico
lgtm, thanks!
5 years, 9 months ago (2015-03-02 21:20:42 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/966723003/80001
5 years, 9 months ago (2015-03-03 12:55:25 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/46889)
5 years, 9 months ago (2015-03-03 13:12:18 UTC) #9
dcheng
https://codereview.chromium.org/966723003/diff/80001/tools/clang/scripts/plugin_flags.py File tools/clang/scripts/plugin_flags.py (right): https://codereview.chromium.org/966723003/diff/80001/tools/clang/scripts/plugin_flags.py#newcode26 tools/clang/scripts/plugin_flags.py:26: 'libFindBadConstructs' + Put this all on one line?
5 years, 9 months ago (2015-03-03 13:14:44 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/966723003/120001
5 years, 9 months ago (2015-03-03 14:30:15 UTC) #14
dcheng
On 2015/03/03 at 14:30:15, commit-bot wrote: > CQ is trying da patch. Follow status at ...
5 years, 9 months ago (2015-03-03 14:47:40 UTC) #16
tfarina
On 2015/03/03 14:47:40, dcheng wrote: > On 2015/03/03 at 14:30:15, commit-bot wrote: > > CQ ...
5 years, 9 months ago (2015-03-03 17:11:24 UTC) #17
dcheng
On 2015/03/03 at 17:11:24, tfarina wrote: > On 2015/03/03 14:47:40, dcheng wrote: > > On ...
5 years, 9 months ago (2015-03-03 17:16:19 UTC) #18
tfarina
Done. PTAL!
5 years, 9 months ago (2015-03-03 17:20:32 UTC) #19
dcheng
lgtm, thanks.
5 years, 9 months ago (2015-03-03 17:22:17 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/966723003/140001
5 years, 9 months ago (2015-03-03 17:25:03 UTC) #23
Dirk Pranke
I thought I had approved this earlier, but apparently I never pressed 'send'. Generally speaking ...
5 years, 9 months ago (2015-03-03 17:25:04 UTC) #25
dcheng
On 2015/03/03 at 17:25:04, dpranke wrote: > I thought I had approved this earlier, but ...
5 years, 9 months ago (2015-03-03 17:28:01 UTC) #26
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 9 months ago (2015-03-03 19:13:04 UTC) #27
commit-bot: I haz the power
5 years, 9 months ago (2015-03-03 19:14:45 UTC) #28
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/070329d32a77224bb62bf9f11fc94ae58a279a79
Cr-Commit-Position: refs/heads/master@{#318924}

Powered by Google App Engine
This is Rietveld 408576698