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

Unified Diff: ppapi/native_client/tests/ppapi/nacl.scons

Issue 11358131: NaCl: remove dead tests and files from the SCons build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | « ppapi/native_client/chrome_main.scons ('k') | ppapi/native_client/tests/ppapi/opengl_cpp_header_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/tests/ppapi/nacl.scons
diff --git a/ppapi/native_client/tests/ppapi/nacl.scons b/ppapi/native_client/tests/ppapi/nacl.scons
deleted file mode 100644
index b3aaa1f90c350e562c22ffd22706a4d1da97c718..0000000000000000000000000000000000000000
--- a/ppapi/native_client/tests/ppapi/nacl.scons
+++ /dev/null
@@ -1,62 +0,0 @@
-# -*- python -*-
-# Copyright 2010 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 gyp_extract
-
-Import('env')
-
-env.Prepend(CPPDEFINES=['XP_UNIX', 'GL_GLEXT_PROTOTYPES'])
-
-# TODO(robertm): those should not be necessary once we go -std=c99
-env.FilterOut(CFLAGS=['-pedantic'])
-env.FilterOut(CCFLAGS=['-pedantic'])
-
-
-# Load ppapi_cpp.gypi
-ppapi_cpp_gypi = gyp_extract.LoadGypFile(
- env.File('$SOURCE_ROOT/ppapi/ppapi_cpp.gypi').abspath)
-
-# From ppapi_cpp.gypi:ppapi_cpp_objects:cpp/[^/]*\.h
-cpp_headers = gyp_extract.GypTargetSources(
- ppapi_cpp_gypi, 'ppapi_cpp_objects', 'cpp/[^/]*\.h')
-cpp_headers = ['ppapi/' +
- header_file for header_file in cpp_headers]
-
-# From ppapi_cpp.gypi:ppapi_cpp_objects:cpp/dev/[^/]*\.h
-cpp_dev_headers = gyp_extract.GypTargetSources(
- ppapi_cpp_gypi, 'ppapi_cpp_objects', 'cpp/dev/[^/]*\.h')
-cpp_dev_headers = ['ppapi/' +
- header_file for header_file in cpp_dev_headers]
-
-
-def EmitHeaderTest(target=None, source=None, env=None):
- fh = open(target[0].path, 'w')
- for header in env['TEST_HEADERS']:
- fh.write('#include "%s"\n' % header)
- fh.close()
- return 0
-
-
-env.Append(CPPPATH=['$SOURCE_ROOT/ppapi/lib/gl/include'])
-cpp_header_test_cc = env.Command(
- '$OBJ_ROOT/gen/native_client/test/ppapi/cpp_header_test.cc',
- [], Action(EmitHeaderTest, varlist=['TEST_HEADERS']),
- TEST_HEADERS=cpp_headers)
-
-cpp_dev_header_test_cc = env.Command(
- '$OBJ_ROOT/gen/native_client/test/ppapi/cpp_dev_header_test.cc',
- [], Action(EmitHeaderTest, varlist=['TEST_HEADERS']),
- TEST_HEADERS=cpp_dev_headers)
-
-
-ppapi_header_test_inputs = [
- cpp_header_test_cc,
- cpp_dev_header_test_cc,
- 'opengl_header_test.c',
- 'opengl_cpp_header_test.cc',
-]
-
-# Build-only test to make sure the header layout for ppapi is correct.
-env.ComponentLibrary('header_test', ppapi_header_test_inputs)
« no previous file with comments | « ppapi/native_client/chrome_main.scons ('k') | ppapi/native_client/tests/ppapi/opengl_cpp_header_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698