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

Side by Side Diff: SConstruct

Issue 10383128: Prepare for using GYP build on buildbots (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Makefile ('k') | build/common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 1583 matching lines...) Expand 10 before | Expand all | Expand 10 after
1594 # env.Copy without getting warnings for compatibility with older 1594 # env.Copy without getting warnings for compatibility with older
1595 # version of scons. Also, there's a bug in some revisions that 1595 # version of scons. Also, there's a bug in some revisions that
1596 # doesn't allow this flag to be set, so we swallow any exceptions. 1596 # doesn't allow this flag to be set, so we swallow any exceptions.
1597 # Lovely. 1597 # Lovely.
1598 try: 1598 try:
1599 SetOption('warn', 'no-deprecated') 1599 SetOption('warn', 'no-deprecated')
1600 except: 1600 except:
1601 pass 1601 pass
1602 1602
1603 1603
1604 def WarnAboutDeprecation():
1605 print """
1606 #######################################################
1607 # WARNING: Building V8 with SCons is deprecated and #
1608 # will not work much longer. Please switch to using #
1609 # the GYP-based build now. Instructions are at #
1610 # http://code.google.com/p/v8/wiki/BuildingWithGYP. #
1611 #######################################################
1612 """
1613
1614 WarnAboutDeprecation()
1615 import atexit
1616 atexit.register(WarnAboutDeprecation)
1604 Build() 1617 Build()
OLDNEW
« no previous file with comments | « Makefile ('k') | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698