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

Unified Diff: test/variables/commands/commands-repeated.gyp

Issue 1454433002: Python 3 compatibility Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Rebase with master (4ec6c4e3a94bd04a6da2858163d40b2429b8aad1) Created 4 years, 8 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: test/variables/commands/commands-repeated.gyp
diff --git a/test/variables/commands/commands-repeated.gyp b/test/variables/commands/commands-repeated.gyp
index 822ae4f05d46b7b6c0973df6d8ee0133276b78a1..1f52e75936258a267645f12e74221d7732987999 100644
--- a/test/variables/commands/commands-repeated.gyp
+++ b/test/variables/commands/commands-repeated.gyp
@@ -8,7 +8,7 @@
{
'variables': {
- 'pi': 'import math; print math.pi',
+ 'pi': 'import math; print(math.pi)',
'third_letters': "<(other_letters)HIJK",
'letters_list': 'ABCD',
'other_letters': '<(letters_list)EFG',
@@ -41,9 +41,9 @@
'type': 'none',
'variables': {
'var1': '<!(["python", "-c", "<(pi)"])',
- 'var2': '<!(python -c "print \'<!(python -c "<(pi)") <(letters_list)\'")',
- 'var3': '<!(python -c "print \'<(letters_list)\'")',
- 'var4': '<(<!(python -c "print \'letters_list\'"))',
+ 'var2': '<!(python -c "print(\'<!(python -c "<(pi)") <(letters_list)\')")',
+ 'var3': '<!(python -c "print(\'<(letters_list)\')")',
+ 'var4': '<(<!(python -c "print(\'letters_list\')"))',
'var5': 'letters_',
'var6': 'list',
'var7': '<(check_int)',
@@ -61,9 +61,9 @@
# A second set with different names to make sure they only execute the
# commands once.
'var1prime': '<!(["python", "-c", "<(pi)"])',
- 'var2prime': '<!(python -c "print \'<!(python -c "<(pi)") <(letters_list)\'")',
- 'var3prime': '<!(python -c "print \'<(letters_list)\'")',
- 'var4prime': '<(<!(python -c "print \'letters_list\'"))',
+ 'var2prime': '<!(python -c "print(\'<!(python -c "<(pi)") <(letters_list)\')")',
+ 'var3prime': '<!(python -c "print(\'<(letters_list)\')")',
+ 'var4prime': '<(<!(python -c "print(\'letters_list\')"))',
},
'actions': [
{

Powered by Google App Engine
This is Rietveld 408576698