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

Side by Side Diff: SConstruct

Issue 94008: Fix Android build after arch-subdir reorganisation. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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 | 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 # Copyright 2008 the V8 project authors. All rights reserved. 1 # Copyright 2008 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 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 self.d8_targets = [] 574 self.d8_targets = []
575 self.options = options 575 self.options = options
576 self.env_overrides = env_overrides 576 self.env_overrides = env_overrides
577 self.samples = samples 577 self.samples = samples
578 self.use_snapshot = (options['snapshot'] != 'off') 578 self.use_snapshot = (options['snapshot'] != 'off')
579 self.build_snapshot = (options['snapshot'] == 'on') 579 self.build_snapshot = (options['snapshot'] == 'on')
580 self.flags = None 580 self.flags = None
581 581
582 def AddRelevantFlags(self, initial, flags): 582 def AddRelevantFlags(self, initial, flags):
583 result = initial.copy() 583 result = initial.copy()
584 self.AppendFlags(result, flags.get('all'))
585 toolchain = self.options['toolchain'] 584 toolchain = self.options['toolchain']
586 if toolchain in flags: 585 if toolchain in flags:
587 self.AppendFlags(result, flags[toolchain].get('all')) 586 self.AppendFlags(result, flags[toolchain].get('all'))
588 for option in sorted(self.options.keys()): 587 for option in sorted(self.options.keys()):
589 value = self.options[option] 588 value = self.options[option]
590 self.AppendFlags(result, flags[toolchain].get(option + ':' + value)) 589 self.AppendFlags(result, flags[toolchain].get(option + ':' + value))
590 self.AppendFlags(result, flags.get('all'))
591 return result 591 return result
592 592
593 def AddRelevantSubFlags(self, options, flags): 593 def AddRelevantSubFlags(self, options, flags):
594 self.AppendFlags(options, flags.get('all')) 594 self.AppendFlags(options, flags.get('all'))
595 for option in sorted(self.options.keys()): 595 for option in sorted(self.options.keys()):
596 value = self.options[option] 596 value = self.options[option]
597 self.AppendFlags(options, flags.get(option + ':' + value)) 597 self.AppendFlags(options, flags.get(option + ':' + value))
598 598
599 def GetRelevantSources(self, source): 599 def GetRelevantSources(self, source):
600 result = [] 600 result = []
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 # version of scons. Also, there's a bug in some revisions that 782 # version of scons. Also, there's a bug in some revisions that
783 # doesn't allow this flag to be set, so we swallow any exceptions. 783 # doesn't allow this flag to be set, so we swallow any exceptions.
784 # Lovely. 784 # Lovely.
785 try: 785 try:
786 SetOption('warn', 'no-deprecated') 786 SetOption('warn', 'no-deprecated')
787 except: 787 except:
788 pass 788 pass
789 789
790 790
791 Build() 791 Build()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698