Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Use of 'python2' instead of 'python'.

Change-Id: Iabc0452311bff31876324496be1c313a2d2012b6
  • Loading branch information...
commit f98ffc39fbe7c92bf745c555e2074247b54e8269 1 parent 378e532
authored March 26, 2012
2  Android.libv8.mk
@@ -37,7 +37,7 @@ $(GEN1): SCRIPT := $(intermediates)/js2c.py
37 37
 $(GEN1): $(LOCAL_JS_LIBRARY_FILES) $(JS2C_PY)
38 38
 	@echo "Generating libraries.cc"
39 39
 	@mkdir -p $(dir $@)
40  
-	python $(SCRIPT) $(GEN1) CORE $(LOCAL_JS_LIBRARY_FILES)
  40
+	python2 $(SCRIPT) $(GEN1) CORE $(LOCAL_JS_LIBRARY_FILES)
41 41
 V8_GENERATED_LIBRARIES := $(intermediates)/libraries.cc
42 42
 
43 43
 LOCAL_GENERATED_SOURCES += $(V8_GENERATED_LIBRARIES)
2  Android.mksnapshot.mk
@@ -47,7 +47,7 @@ $(GEN2): SCRIPT := $(intermediates)/js2c.py
47 47
 $(GEN2): $(LOCAL_JS_LIBRARY_FILES) $(JS2C_PY)
48 48
 	@echo "Generating libraries.cc"
49 49
 	@mkdir -p $(dir $@)
50  
-	python $(SCRIPT) $(GEN2) CORE $(LOCAL_JS_LIBRARY_FILES)
  50
+	python2 $(SCRIPT) $(GEN2) CORE $(LOCAL_JS_LIBRARY_FILES)
51 51
 LOCAL_GENERATED_SOURCES := $(intermediates)/libraries.cc
52 52
 
53 53
 LOCAL_CFLAGS := \
2  tools/js2c.py
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/env python
  1
+#!/usr/bin/env python2
2 2
 #
3 3
 # Copyright 2006-2008 the V8 project authors. All rights reserved.
4 4
 # Redistribution and use in source and binary forms, with or without

Git Notes

review

Code-Review+2: Jef Oliver <jeagoss@cyanogenmod.org>
Verified+1: Jef Oliver <jeagoss@cyanogenmod.org>
Code-Review+1: David Gasaway <ponsasinorem@gmail.com>
Submitted-by: Jef Oliver <jeagoss@cyanogenmod.org>
Submitted-at: Mon, 11 Mar 2013 17:57:26 -0700
Reviewed-on: http://review.cyanogenmod.org/14037
Project: CyanogenMod/android_external_v8
Branch: refs/heads/gingerbread

0 notes on commit f98ffc3

Please sign in to comment.
Something went wrong with that request. Please try again.