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

Side by Side Diff: ppapi/native_client/chrome_main.scons

Issue 778173002: NaCl cleanup: Use Bit('build_ARCH') instead of Bit('target_ARCH') (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years 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
« 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 #! -*- 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
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)
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