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

Side by Side Diff: SConstruct

Issue 539683002: MinSFI: Add loader (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | site_scons/site_tools/naclsdk.py » ('j') | site_scons/site_tools/naclsdk.py » ('J')
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 atexit 6 import atexit
7 import json 7 import json
8 import os 8 import os
9 import platform 9 import platform
10 import re 10 import re
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 323
324 BitFromArgument(env, 'pnacl_generate_pexe', default=env.Bit('bitcode'), 324 BitFromArgument(env, 'pnacl_generate_pexe', default=env.Bit('bitcode'),
325 desc='use pnacl to generate pexes and translate in a separate step') 325 desc='use pnacl to generate pexes and translate in a separate step')
326 326
327 BitFromArgument(env, 'translate_in_build_step', default=True, 327 BitFromArgument(env, 'translate_in_build_step', default=True,
328 desc='Run translation during build phase (e.g. if do_not_run_tests=1)') 328 desc='Run translation during build phase (e.g. if do_not_run_tests=1)')
329 329
330 BitFromArgument(env, 'pnacl_unsandboxed', default=False, 330 BitFromArgument(env, 'pnacl_unsandboxed', default=False,
331 desc='Translate pexe to an unsandboxed, host executable') 331 desc='Translate pexe to an unsandboxed, host executable')
332 332
333 BitFromArgument(env, 'minsfi', default=env.Bit('bitcode'),
334 desc='Run MinSFI tests')
335
333 BitFromArgument(env, 'nonsfi_nacl', default=False, 336 BitFromArgument(env, 'nonsfi_nacl', default=False,
334 desc='Use Non-SFI Mode instead of the original SFI Mode. This uses ' 337 desc='Use Non-SFI Mode instead of the original SFI Mode. This uses '
335 'nonsfi_loader instead of sel_ldr, and it tells the PNaCl toolchain ' 338 'nonsfi_loader instead of sel_ldr, and it tells the PNaCl toolchain '
336 'to translate pexes to Non-SFI nexes.') 339 'to translate pexes to Non-SFI nexes.')
337 340
338 BitFromArgument(env, 'use_newlib_nonsfi_loader', default=True, 341 BitFromArgument(env, 'use_newlib_nonsfi_loader', default=True,
339 desc='Test nonsfi_loader linked against NaCl newlib instead of the one ' 342 desc='Test nonsfi_loader linked against NaCl newlib instead of the one '
340 'linked against host libc. This flag makes sense only with ' 343 'linked against host libc. This flag makes sense only with '
341 'nonsfi_nacl=1.') 344 'nonsfi_nacl=1.')
342 345
(...skipping 1856 matching lines...) Expand 10 before | Expand all | Expand 10 after
2199 CFLAGS = ['${EXTRA_CFLAGS}'], 2202 CFLAGS = ['${EXTRA_CFLAGS}'],
2200 CXXFLAGS = ['${EXTRA_CXXFLAGS}'], 2203 CXXFLAGS = ['${EXTRA_CXXFLAGS}'],
2201 ) 2204 )
2202 if base_env.Bit('ncval_testing'): 2205 if base_env.Bit('ncval_testing'):
2203 base_env.Append(CPPDEFINES = ['NCVAL_TESTING']) 2206 base_env.Append(CPPDEFINES = ['NCVAL_TESTING'])
2204 2207
2205 base_env.Append(BUILD_SCONSCRIPTS = [ 2208 base_env.Append(BUILD_SCONSCRIPTS = [
2206 # KEEP THIS SORTED PLEASE 2209 # KEEP THIS SORTED PLEASE
2207 'build/package_version/build.scons', 2210 'build/package_version/build.scons',
2208 'pynacl/build.scons', 2211 'pynacl/build.scons',
2212 'src/minsfi/trusted/build.scons',
2209 'src/nonsfi/irt/build.scons', 2213 'src/nonsfi/irt/build.scons',
2210 'src/nonsfi/loader/build.scons', 2214 'src/nonsfi/loader/build.scons',
2211 'src/shared/gio/build.scons', 2215 'src/shared/gio/build.scons',
2212 'src/shared/imc/build.scons', 2216 'src/shared/imc/build.scons',
2213 'src/shared/ldr/build.scons', 2217 'src/shared/ldr/build.scons',
2214 'src/shared/platform/build.scons', 2218 'src/shared/platform/build.scons',
2215 'src/shared/serialization/build.scons', 2219 'src/shared/serialization/build.scons',
2216 'src/shared/srpc/build.scons', 2220 'src/shared/srpc/build.scons',
2217 'src/shared/utils/build.scons', 2221 'src/shared/utils/build.scons',
2218 'src/third_party/gtest/build.scons', 2222 'src/third_party/gtest/build.scons',
(...skipping 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after
3295 'tests/includability/nacl.scons', 3299 'tests/includability/nacl.scons',
3296 'tests/infoleak/nacl.scons', 3300 'tests/infoleak/nacl.scons',
3297 'tests/libc/nacl.scons', 3301 'tests/libc/nacl.scons',
3298 'tests/libc_free_hello_world/nacl.scons', 3302 'tests/libc_free_hello_world/nacl.scons',
3299 'tests/list_mappings/nacl.scons', 3303 'tests/list_mappings/nacl.scons',
3300 'tests/longjmp/nacl.scons', 3304 'tests/longjmp/nacl.scons',
3301 'tests/loop/nacl.scons', 3305 'tests/loop/nacl.scons',
3302 'tests/mandel/nacl.scons', 3306 'tests/mandel/nacl.scons',
3303 'tests/math/nacl.scons', 3307 'tests/math/nacl.scons',
3304 'tests/memcheck_test/nacl.scons', 3308 'tests/memcheck_test/nacl.scons',
3309 'tests/minsfi/nacl.scons',
3305 'tests/mmap/nacl.scons', 3310 'tests/mmap/nacl.scons',
3306 'tests/mmap_main_nexe/nacl.scons', 3311 'tests/mmap_main_nexe/nacl.scons',
3307 'tests/mmap_prot_exec/nacl.scons', 3312 'tests/mmap_prot_exec/nacl.scons',
3308 'tests/mmap_race_protect/nacl.scons', 3313 'tests/mmap_race_protect/nacl.scons',
3309 'tests/nacl_log/nacl.scons', 3314 'tests/nacl_log/nacl.scons',
3310 'tests/nameservice/nacl.scons', 3315 'tests/nameservice/nacl.scons',
3311 'tests/nanosleep/nacl.scons', 3316 'tests/nanosleep/nacl.scons',
3312 'tests/nonsfi/nacl.scons', 3317 'tests/nonsfi/nacl.scons',
3313 'tests/noop/nacl.scons', 3318 'tests/noop/nacl.scons',
3314 'tests/nrd_xfer/nacl.scons', 3319 'tests/nrd_xfer/nacl.scons',
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
4000 nacl_env.ValidateSdk() 4005 nacl_env.ValidateSdk()
4001 4006
4002 if BROKEN_TEST_COUNT > 0: 4007 if BROKEN_TEST_COUNT > 0:
4003 msg = "There are %d broken tests." % BROKEN_TEST_COUNT 4008 msg = "There are %d broken tests." % BROKEN_TEST_COUNT
4004 if GetOption('brief_comstr'): 4009 if GetOption('brief_comstr'):
4005 msg += " Add --verbose to the command line for more information." 4010 msg += " Add --verbose to the command line for more information."
4006 print msg 4011 print msg
4007 4012
4008 # separate warnings from actual build output 4013 # separate warnings from actual build output
4009 Banner('B U I L D - O U T P U T:') 4014 Banner('B U I L D - O U T P U T:')
OLDNEW
« no previous file with comments | « no previous file | site_scons/site_tools/naclsdk.py » ('j') | site_scons/site_tools/naclsdk.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698