| OLD | NEW | 
|---|
| 1 # Copyright 2011 the V8 project authors. All rights reserved. | 1 # Copyright 2011 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 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1365     library = env.StaticLibrary(library_name, object_files) | 1365     library = env.StaticLibrary(library_name, object_files) | 
| 1366     preparser_library = env.StaticLibrary(preparser_library_name, | 1366     preparser_library = env.StaticLibrary(preparser_library_name, | 
| 1367                                           preparser_files) | 1367                                           preparser_files) | 
| 1368   else: | 1368   else: | 
| 1369     # There seems to be a glitch in the way scons decides where to put | 1369     # There seems to be a glitch in the way scons decides where to put | 
| 1370     # PDB files when compiling using MSVC so we specify it manually. | 1370     # PDB files when compiling using MSVC so we specify it manually. | 
| 1371     # This should not affect any other platforms. | 1371     # This should not affect any other platforms. | 
| 1372     pdb_name = library_name + '.dll.pdb' | 1372     pdb_name = library_name + '.dll.pdb' | 
| 1373     library = env.SharedLibrary(library_name, object_files, PDB=pdb_name) | 1373     library = env.SharedLibrary(library_name, object_files, PDB=pdb_name) | 
| 1374     preparser_pdb_name = preparser_library_name + '.dll.pdb'; | 1374     preparser_pdb_name = preparser_library_name + '.dll.pdb'; | 
|  | 1375     preparser_soname = 'lib' + preparser_library_name + '.so'; | 
| 1375     preparser_library = env.SharedLibrary(preparser_library_name, | 1376     preparser_library = env.SharedLibrary(preparser_library_name, | 
| 1376                                           preparser_files, | 1377                                           preparser_files, | 
| 1377                                           PDB=preparser_pdb_name) | 1378                                           PDB=preparser_pdb_name, | 
|  | 1379                                           SONAME=preparser_soname) | 
| 1378   context.library_targets.append(library) | 1380   context.library_targets.append(library) | 
| 1379   context.library_targets.append(preparser_library) | 1381   context.library_targets.append(preparser_library) | 
| 1380 | 1382 | 
| 1381   d8_env = Environment(tools=tools) | 1383   d8_env = Environment(tools=tools) | 
| 1382   d8_env.Replace(**context.flags['d8']) | 1384   d8_env.Replace(**context.flags['d8']) | 
| 1383   context.ApplyEnvOverrides(d8_env) | 1385   context.ApplyEnvOverrides(d8_env) | 
| 1384   shell = d8_env.Program('d8' + suffix, object_files + shell_files) | 1386   shell = d8_env.Program('d8' + suffix, object_files + shell_files) | 
| 1385   context.d8_targets.append(shell) | 1387   context.d8_targets.append(shell) | 
| 1386 | 1388 | 
| 1387   for sample in context.samples: | 1389   for sample in context.samples: | 
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1475 # version of scons.  Also, there's a bug in some revisions that | 1477 # version of scons.  Also, there's a bug in some revisions that | 
| 1476 # doesn't allow this flag to be set, so we swallow any exceptions. | 1478 # doesn't allow this flag to be set, so we swallow any exceptions. | 
| 1477 # Lovely. | 1479 # Lovely. | 
| 1478 try: | 1480 try: | 
| 1479   SetOption('warn', 'no-deprecated') | 1481   SetOption('warn', 'no-deprecated') | 
| 1480 except: | 1482 except: | 
| 1481   pass | 1483   pass | 
| 1482 | 1484 | 
| 1483 | 1485 | 
| 1484 Build() | 1486 Build() | 
| OLD | NEW | 
|---|