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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py

Issue 2639283005: Add NOEXPORT=true commit message whenever import script is run. (Closed)
Patch Set: Add test for NOEXPORT tag movement Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py
index c17d189ac7876058294e89e786b2e47338e3133e..28b18d3b048ba96ddb132fd9d8343e1c454873d7 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py
@@ -227,7 +227,9 @@ class DepsUpdater(object):
return return_code == 1
def _commit_message(self, chromium_commit, import_commit):
- return ('Import %s\n\nUsing update-w3c-deps in Chromium %s.\n\n' %
+ return ('Import %s\n\n'
+ 'Using update-w3c-deps in Chromium %s.\n\n'
+ 'NOEXPORT=true' %
(import_commit, chromium_commit))
@staticmethod
@@ -338,6 +340,8 @@ class DepsUpdater(object):
if build_link:
description += 'Build: %s\n\n' % build_link
description += 'TBR=qyearsley@chromium.org\n'
+ # Move any NOEXPORT tag to the end of the description.
+ description = description.replace('NOEXPORT=true', '')
description += 'NOEXPORT=true'
return description
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698