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

Unified Diff: chrome/test/chromedriver/cpp_source.py

Issue 749353003: [chromedriver] Fix mobile device embedding script (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comments Created 5 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
Index: chrome/test/chromedriver/cpp_source.py
diff --git a/chrome/test/chromedriver/cpp_source.py b/chrome/test/chromedriver/cpp_source.py
index 498fd2549ab88cac0ca19f8c96ce8dfe76e98093..c91eca956e81d8410660e0156a83567ce7226172 100644
--- a/chrome/test/chromedriver/cpp_source.py
+++ b/chrome/test/chromedriver/cpp_source.py
@@ -6,6 +6,7 @@
import datetime
import os
+import sys
def WriteSource(base_name,
@@ -26,7 +27,13 @@ def WriteSource(base_name,
'// Copyright %s The Chromium Authors. All rights reserved.',
'// Use of this source code is governed by a BSD-style license that '
'can be',
- '// found in the LICENSE file.']) % datetime.date.today().year
+ '// found in the LICENSE file.',
+ '',
+ '// This file was generated at (%s) by running:',
+ '// %s']) % (
+ datetime.date.today().year,
+ datetime.datetime.now().isoformat(' '),
+ ' '.join(sys.argv))
# Write header file.
externs = []

Powered by Google App Engine
This is Rietveld 408576698