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

Side by Side Diff: src/trusted/validator/x86/ncval_seg_sfi/build.scons

Issue 636933004: stop building/testing old x86 validator. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: rebase master Created 6 years, 2 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
OLDNEW
(Empty)
1 # -*- python -*-
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
4 # found in the LICENSE file.
5
6
7 import os
8 import sys
9 Import('env')
10
11 #
12 #
13 # Build x86 only pieces
14 #
15 #
16 if not env.Bit('target_x86'): Return()
17
18 # TODO(bradchen): eliminate need for the following line
19 env.FilterOut(CCFLAGS=['-Wextra', '-Wswitch-enum', '-Wsign-compare'])
20
21 # Create environment for command-line tools and testing, rather than
22 # part of the TCB. Then define compile-time flag that communicates
23 # that we are compiling in the test environment (rather than for the TCB).
24 test_env = env.Clone()
25 test_env.Append(CCFLAGS=['-DNACL_TRUSTED_BUT_NOT_TCB'])
26
27 # Special purpose partial decoder used by the ncval_seg_sfi (x86-32 bit validato r).
28 env.ComponentLibrary(env.NaClTargetArchSuffix('ncdis_seg_sfi'),
29 ['ncdecode.c'])
30
31 # Segment register validator library
32 env.ComponentLibrary(env.NaClTargetArchSuffix('ncval_seg_sfi'),
33 ['ncvalidate.c',
34 'ncvalidate_detailed.c'
35 ])
36
37 # Verbose version of segment register validator library.
38 env.ComponentLibrary(env.NaClTargetArchSuffix('ncdis_seg_sfi_verbose'),
39 ['ncdecode_verbose.c'])
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698