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

Side by Side Diff: src/trusted/validator_x86/build.scons

Issue 758223003: Cleanup: Use Bit('build_ARCH') instead of Bit('target_ARCH') (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Fix + simplify 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 | Annotate | Revision Log
« no previous file with comments | « src/trusted/validator_ragel/build.scons ('k') | src/untrusted/nacl/nacl.scons » ('j') | 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) 2011 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2011 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 6
7 import glob 7 import glob
8 import os 8 import os
9 import sys 9 import sys
10 10
11 Import('env') 11 Import('env')
12 12
13 # 13 #
14 # 14 #
15 # Build x86 only pieces 15 # Build x86 only pieces
16 # 16 #
17 # 17 #
18 if not env.Bit('target_x86'): Return() 18 if not env.Bit('build_x86'): Return()
19 19
20 # The following are copycode routines for x86-32 and x86-64. 20 # The following are copycode routines for x86-32 and x86-64.
21 # TODO(karl): Break this up so that we don't need to load 21 # TODO(karl): Break this up so that we don't need to load
22 # non-shared code in library. 22 # non-shared code in library.
23 env.ComponentLibrary(env.NaClTargetArchSuffix('nccopy'), [ 23 env.ComponentLibrary(env.NaClTargetArchSuffix('nccopy'), [
24 'nccopycode.c', 24 'nccopycode.c',
25 'nccopycode_stores.S', 25 'nccopycode_stores.S',
26 ]) 26 ])
27 27
OLDNEW
« no previous file with comments | « src/trusted/validator_ragel/build.scons ('k') | src/untrusted/nacl/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698