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

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

Issue 7649021: Separate the (partial) decoder of the x86_32 validator into a separate library. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 9 years, 4 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
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 os 7 import os
8 import sys 8 import sys
9 Import('env') 9 Import('env')
10 10
(...skipping 16 matching lines...) Expand all
27 27
28 # TODO(bradchen): eliminate need for the following line 28 # TODO(bradchen): eliminate need for the following line
29 env.FilterOut(CCFLAGS=['-Wextra', '-Wswitch-enum', '-Wsign-compare']) 29 env.FilterOut(CCFLAGS=['-Wextra', '-Wswitch-enum', '-Wsign-compare'])
30 30
31 # Create environment for command-line tools and testing, rather than 31 # Create environment for command-line tools and testing, rather than
32 # part of the TCB. Then define compile-time flag that communicates 32 # part of the TCB. Then define compile-time flag that communicates
33 # that we are compiling in the test environment (rather than for the TCB). 33 # that we are compiling in the test environment (rather than for the TCB).
34 test_env = env.Clone(); 34 test_env = env.Clone();
35 test_env.Append(CCFLAGS=['-DNACL_TRUSTED_BUT_NOT_TCB']) 35 test_env.Append(CCFLAGS=['-DNACL_TRUSTED_BUT_NOT_TCB'])
36 36
37 # Special purpose partial decoder used by the ncval_seg_sfi (x86-32 bit validato r).
38 env.ComponentLibrary(env.NaClTargetArchSuffix('ncdis_seg_sfi'),
39 ['ncdecode.c'])
40
37 # Segment register validator library 41 # Segment register validator library
38 env.ComponentLibrary(env.NaClTargetArchSuffix('ncval_seg_sfi'), 42 env.ComponentLibrary(env.NaClTargetArchSuffix('ncval_seg_sfi'),
39 ['ncdecode.c', 43 ['ncvalidate.c',
40 'ncvalidate.c',
41 'ncvalidate_detailed.c' 44 'ncvalidate_detailed.c'
42 ]) 45 ])
43 46
44 # Verbose version of segment register validator library. 47 # Verbose version of segment register validator library.
45 env.ComponentLibrary(env.NaClTargetArchSuffix('ncval_seg_sfi_verbose'), 48 env.ComponentLibrary(env.NaClTargetArchSuffix('ncdis_seg_sfi_verbose'),
46 ['ncdecode_verbose.c']) 49 ['ncdecode_verbose.c'])
OLDNEW
« no previous file with comments | « site_scons/site_tools/library_deps.py ('k') | src/trusted/validator/x86/ncval_seg_sfi/ncdecode.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698