Index: SConstruct |
diff --git a/SConstruct b/SConstruct |
index 34d0efc5ff8b6eea283e8a33c37b90e581ba51f9..b0d13447003d296100cbb0c2c147a2de6779f9a5 100644 |
--- a/SConstruct |
+++ b/SConstruct |
@@ -1601,4 +1601,17 @@ except: |
pass |
+def WarnAboutDeprecation(): |
+ print """ |
+####################################################### |
+# WARNING: Building V8 with SCons is deprecated and # |
+# will not work much longer. Please switch to using # |
+# the GYP-based build now. Instructions are at # |
+# http://code.google.com/p/v8/wiki/BuildingWithGYP. # |
+####################################################### |
+ """ |
+ |
+WarnAboutDeprecation() |
+import atexit |
+atexit.register(WarnAboutDeprecation) |
Build() |