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

Issue 129043005: GN: Add the ability to trim whitespace from script results. (Closed)

Created:
6 years, 11 months ago by brettw
Modified:
6 years, 11 months ago
Reviewers:
bbudge
CC:
chromium-reviews
Visibility:
Public.

Description

GN: Add the ability to trim whitespace from script results. Adds an optional "trim" mode that can trim whitespace from the beginnings and endings of script results when converting them to GN values. This also adds default arguments for exec_script to simplify calling in cases where the arguments are not needed. R=bbudge@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244586

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -34 lines) Patch
M tools/gn/function_exec_script.cc View 1 2 5 chunks +27 lines, -12 lines 0 comments Download
M tools/gn/function_read_file.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/gn/input_conversion.cc View 1 2 3 4 chunks +62 lines, -18 lines 0 comments Download
M tools/gn/input_conversion_unittest.cc View 3 chunks +34 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
brettw
6 years, 11 months ago (2014-01-08 22:32:35 UTC) #1
bbudge
https://codereview.chromium.org/129043005/diff/30001/tools/gn/function_exec_script.cc File tools/gn/function_exec_script.cc (right): https://codereview.chromium.org/129043005/diff/30001/tools/gn/function_exec_script.cc#newcode239 tools/gn/function_exec_script.cc:239: " exec_script(filename [, arguments [, input_conversion [,\n" I can't ...
6 years, 11 months ago (2014-01-08 23:22:31 UTC) #2
brettw
New snap up. https://codereview.chromium.org/129043005/diff/30001/tools/gn/function_exec_script.cc File tools/gn/function_exec_script.cc (right): https://codereview.chromium.org/129043005/diff/30001/tools/gn/function_exec_script.cc#newcode239 tools/gn/function_exec_script.cc:239: " exec_script(filename [, arguments [, input_conversion ...
6 years, 11 months ago (2014-01-09 23:48:53 UTC) #3
bbudge
lgtm https://codereview.chromium.org/129043005/diff/30001/tools/gn/function_exec_script.cc File tools/gn/function_exec_script.cc (right): https://codereview.chromium.org/129043005/diff/30001/tools/gn/function_exec_script.cc#newcode239 tools/gn/function_exec_script.cc:239: " exec_script(filename [, arguments [, input_conversion [,\n" On ...
6 years, 11 months ago (2014-01-10 00:37:54 UTC) #4
brettw
6 years, 11 months ago (2014-01-13 21:33:18 UTC) #5
Message was sent while issue was closed.
Committed patchset #4 manually as r244586 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698