OLD | NEW |
1 #! -*- python -*- | 1 #! -*- python -*- |
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 import json | 6 import json |
7 import os | 7 import os |
8 import shutil | 8 import shutil |
9 import sys | 9 import sys |
10 | 10 |
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 for action in post_actions: | 528 for action in post_actions: |
529 env.AddPostAction(node, action) | 529 env.AddPostAction(node, action) |
530 return node | 530 return node |
531 | 531 |
532 pre_base_env.AddMethod(PPAPIBrowserTester) | 532 pre_base_env.AddMethod(PPAPIBrowserTester) |
533 | 533 |
534 | 534 |
535 # Disabled for ARM and MIPS because Chrome binaries for ARM and MIPS are not | 535 # Disabled for ARM and MIPS because Chrome binaries for ARM and MIPS are not |
536 # available. | 536 # available. |
537 def PPAPIBrowserTesterIsBroken(env): | 537 def PPAPIBrowserTesterIsBroken(env): |
538 return env.Bit('target_arm') or env.Bit('target_mips32') | 538 return env.Bit('build_arm') or env.Bit('build_mips32') |
539 | 539 |
540 pre_base_env.AddMethod(PPAPIBrowserTesterIsBroken) | 540 pre_base_env.AddMethod(PPAPIBrowserTesterIsBroken) |
541 | 541 |
542 # 3D is disabled everywhere | 542 # 3D is disabled everywhere |
543 def PPAPIGraphics3DIsBroken(env): | 543 def PPAPIGraphics3DIsBroken(env): |
544 return True | 544 return True |
545 | 545 |
546 pre_base_env.AddMethod(PPAPIGraphics3DIsBroken) | 546 pre_base_env.AddMethod(PPAPIGraphics3DIsBroken) |
547 | 547 |
548 | 548 |
549 def AddChromeFilesFromGroup(env, file_group): | 549 def AddChromeFilesFromGroup(env, file_group): |
550 env['BUILD_SCONSCRIPTS'] = ExtendFileList( | 550 env['BUILD_SCONSCRIPTS'] = ExtendFileList( |
551 env.get('BUILD_SCONSCRIPTS', []), | 551 env.get('BUILD_SCONSCRIPTS', []), |
552 ppapi_scons_files[file_group]) | 552 ppapi_scons_files[file_group]) |
553 | 553 |
554 pre_base_env.AddMethod(AddChromeFilesFromGroup) | 554 pre_base_env.AddMethod(AddChromeFilesFromGroup) |
OLD | NEW |