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

Side by Side Diff: SConstruct

Issue 6783011: Reapply changelist r7436. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 8 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 | « no previous file | preparser/preparser-process.cc » ('j') | tools/test.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2010 the V8 project authors. All rights reserved. 1 # Copyright 2010 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 1391 matching lines...) Expand 10 before | Expand all | Expand 10 after
1402 preparser_env = env.Copy() 1402 preparser_env = env.Copy()
1403 preparser_env.Replace(**context.flags['preparser']) 1403 preparser_env.Replace(**context.flags['preparser'])
1404 preparser_env.Prepend(LIBS=[preparser_library_name]) 1404 preparser_env.Prepend(LIBS=[preparser_library_name])
1405 context.ApplyEnvOverrides(preparser_env) 1405 context.ApplyEnvOverrides(preparser_env)
1406 preparser_object = preparser_env.SConscript( 1406 preparser_object = preparser_env.SConscript(
1407 join('preparser', 'SConscript'), 1407 join('preparser', 'SConscript'),
1408 build_dir=join('obj', 'preparser', target_id), 1408 build_dir=join('obj', 'preparser', target_id),
1409 exports='context', 1409 exports='context',
1410 duplicate=False 1410 duplicate=False
1411 ) 1411 )
1412 preparser_name = join('obj', 'preparser', target_id, 'preparser' + suffix) 1412 preparser_name = join('obj', 'preparser', target_id, 'preparser')
1413 preparser_program = preparser_env.Program(preparser_name, preparser_object); 1413 preparser_program = preparser_env.Program(preparser_name, preparser_object);
1414 preparser_env.Depends(preparser_program, preparser_library) 1414 preparser_env.Depends(preparser_program, preparser_library)
1415 context.preparser_targets.append(preparser_program) 1415 context.preparser_targets.append(preparser_program)
1416 1416
1417 return context 1417 return context
1418 1418
1419 1419
1420 def Build(): 1420 def Build():
1421 opts = GetOptions() 1421 opts = GetOptions()
1422 tools = GetTools(opts) 1422 tools = GetTools(opts)
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
1464 # version of scons. Also, there's a bug in some revisions that 1464 # version of scons. Also, there's a bug in some revisions that
1465 # doesn't allow this flag to be set, so we swallow any exceptions. 1465 # doesn't allow this flag to be set, so we swallow any exceptions.
1466 # Lovely. 1466 # Lovely.
1467 try: 1467 try:
1468 SetOption('warn', 'no-deprecated') 1468 SetOption('warn', 'no-deprecated')
1469 except: 1469 except:
1470 pass 1470 pass
1471 1471
1472 1472
1473 Build() 1473 Build()
OLDNEW
« no previous file with comments | « no previous file | preparser/preparser-process.cc » ('j') | tools/test.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698