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

Side by Side Diff: src/untrusted/valgrind/nacl.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/untrusted/pthread/nacl.scons ('k') | tests/gdb/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 2010 The Native Client Authors. All rights reserved. 2 # Copyright 2010 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 # See http://code.google.com/p/nativeclient/wiki/ValgrindMemcheck 6 # See http://code.google.com/p/nativeclient/wiki/ValgrindMemcheck
7 # for details. 7 # for details.
8 8
9 Import('env') 9 Import('env')
10 10
11 # we do not have proper arm support and definitely no bitcode support 11 # we do not have proper arm support and definitely no bitcode support
12 # BUG= http://code.google.com/p/nativeclient/issues/detail?id=2357 12 # BUG= http://code.google.com/p/nativeclient/issues/detail?id=2357
13 if env.Bit('target_arm') or env.Bit('bitcode'): 13 if env.Bit('build_arm') or env.Bit('bitcode'):
14 Return() 14 Return()
15 15
16 libvalgrind = env.NaClSdkLibrary('libvalgrind', 'valgrind_interceptors.c') 16 libvalgrind = env.NaClSdkLibrary('libvalgrind', 'valgrind_interceptors.c')
17 env.AddHeaderToSdk(['dynamic_annotations.h']) 17 env.AddHeaderToSdk(['dynamic_annotations.h'])
18 18
19 # With newlib, dynamic annotations are built into libpthread. 19 # With newlib, dynamic annotations are built into libpthread.
20 # With glibc, they are in a separate library. 20 # With glibc, they are in a separate library.
21 if env.Bit('nacl_glibc'): 21 if env.Bit('nacl_glibc'):
22 libdynamic_annotations = env.NaClSdkLibrary('libdynamic_annotations', 22 libdynamic_annotations = env.NaClSdkLibrary('libdynamic_annotations',
23 'dynamic_annotations.c') 23 'dynamic_annotations.c')
OLDNEW
« no previous file with comments | « src/untrusted/pthread/nacl.scons ('k') | tests/gdb/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698