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

Unified Diff: src/trusted/validator/x86/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/trusted/validator/x86/64/validator_x86_64.gyp ('k') | src/trusted/validator/x86/decoder/build.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/validator/x86/build.scons
diff --git a/src/trusted/validator/x86/build.scons b/src/trusted/validator/x86/build.scons
deleted file mode 100644
index 781a82ddae7a347fdfe509940c4a5dc367a50b48..0000000000000000000000000000000000000000
--- a/src/trusted/validator/x86/build.scons
+++ /dev/null
@@ -1,54 +0,0 @@
-# -*- python -*-
-# Copyright (c) 2011 The Native Client Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import os
-import sys
-Import('env')
-
-#
-# Build the x86 specific library.
-#
-if not env.Bit('target_x86'): Return()
-
-# Create environment for building the common library for x86 validators.
-lib_env = env.Clone()
-lib_env.Append(CPPPATH=['${TARGET_ROOT}'])
-lib_env.FilterOut(CCFLAGS=['-Wextra', '-Wswitch-enum', '-Wsign-compare'])
-
-lib_env.ComponentLibrary(lib_env.NaClTargetArchSuffix('ncval_base'), [
- 'error_reporter.c',
- 'halt_trim.c',
- 'ncinstbuffer.c',
- 'x86_insts.c',
- 'nc_segment.c',
- ])
-
-lib_env.ComponentLibrary(lib_env.NaClTargetArchSuffix('ncval_base_verbose'), [
- 'error_reporter_verbose.c',
- 'x86_insts_verbose.c',
- ])
-
-#---------- UNIT TESTS ---------------------------------
-
-# Create an environment to run unit tests using Gtest.
-gtest_env = env.MakeGTestEnv()
-
-# List of (unit) test file prefixes to run unit tests on.
-gtest_sources = [
- 'halt_trim',
- 'nc_remaining_memory',
- 'nc_inst_bytes',
- ]
-
-for source in gtest_sources:
- test_exe = gtest_env.ComponentProgram(
- 'x86_validator_tests_' + source,
- [source+'_tests.cc'],
- EXTRA_LIBS=[gtest_env.NaClTargetArchSuffix('ncvalidate')])
- test_node = gtest_env.CommandTest(
- source+'Tests.out',
- command=[test_exe])
- gtest_env.AddNodeToTestSuite(test_node, ['small_tests'],
- 'run_x86_validator_tests')
« no previous file with comments | « src/trusted/validator/x86/64/validator_x86_64.gyp ('k') | src/trusted/validator/x86/decoder/build.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698