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

Side by Side Diff: src/native_client/tools/modular-build/treemappers.py

Issue 6719038: Revert r4644, "Updated NaCl's build system to use SCons 2.0.1." (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 9 years, 9 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 | « src/native_client/site_scons/site_tools/target_platform_windows.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 # Copyright 2010 The Native Client Authors. All rights reserved. 2 # Copyright 2010 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can 3 # Use of this source code is governed by a BSD-style license that can
4 # be found in the LICENSE file. 4 # be found in the LICENSE file.
5 5
6 import os 6 import os
7 import hashlib 7 import hashlib
8 import sys 8 import sys
9 import types 9 import types
10 10
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 "native_client/tools/browser_tester", 129 "native_client/tools/browser_tester",
130 "native_client/tools/command_tester.py", 130 "native_client/tools/command_tester.py",
131 "native_client/tools/diff.py", 131 "native_client/tools/diff.py",
132 "native_client/tools/file_cmp_test.py", 132 "native_client/tools/file_cmp_test.py",
133 "native_client/tools/srpcgen.py", 133 "native_client/tools/srpcgen.py",
134 "native_client/tools/test_lib.py", 134 "native_client/tools/test_lib.py",
135 "native_client/tools/tests", 135 "native_client/tools/tests",
136 "third_party/gles2_book", 136 "third_party/gles2_book",
137 "third_party/npapi", 137 "third_party/npapi",
138 "third_party/pylib", 138 "third_party/pylib",
139 "third_party/scons-2.0.1", 139 "third_party/scons",
140 # Pulled in from SVN repos via DEPS 140 # Pulled in from SVN repos via DEPS
141 "base", 141 "base",
142 "build", 142 "build",
143 "gpu", 143 "gpu",
144 "ppapi", 144 "ppapi",
145 "testing/gtest", 145 "testing/gtest",
146 ] 146 ]
147 result = {} 147 result = {}
148 for filename in paths_to_copy: 148 for filename in paths_to_copy:
149 SetPath(result, filename, GetPath(input_tree, filename)) 149 SetPath(result, filename, GetPath(input_tree, filename))
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 filename = filename[:-1] 332 filename = filename[:-1]
333 fh = open(filename, "r") 333 fh = open(filename, "r")
334 module_identity = hashlib.sha1(fh.read()).hexdigest() 334 module_identity = hashlib.sha1(fh.read()).hexdigest()
335 fh.close() 335 fh.close()
336 for value in module.itervalues(): 336 for value in module.itervalues():
337 if isinstance(value, types.FunctionType): 337 if isinstance(value, types.FunctionType):
338 value.function_identity = (module_identity, __name__) 338 value.function_identity = (module_identity, __name__)
339 339
340 340
341 MarkFunctionsWithIdentity(globals()) 341 MarkFunctionsWithIdentity(globals())
OLDNEW
« no previous file with comments | « src/native_client/site_scons/site_tools/target_platform_windows.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698