Commit 236be221 by Jamie Madill

Add in gypi scripts for preprocessor and compiler tests.

Chromium directly includes our .gypi files in its own standalone tests, hence we need to keep files where it looks for includes. Previously we had removed the gypi files with the new project structures. BUG=angle:568 Change-Id: I2cf87bdd3d9635ca8e58b991b9a3e55e00261851 Reviewed-on: https://chromium-review.googlesource.com/187650Reviewed-by: 's avatarZhenyao Mo <zmo@chromium.org> Reviewed-by: 's avatarShannon Woods <shannonwoods@chromium.org> Tested-by: 's avatarJamie Madill <jmadill@chromium.org>
parent d450505a
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
'component%': 'static_library', 'component%': 'static_library',
'angle_build_tests%': '1', 'angle_build_tests%': '1',
'angle_build_samples%': '1', 'angle_build_samples%': '1',
'angle_path%': '<(DEPTH)',
# angle_code is set to 1 for the core ANGLE targets defined in src/build_angle.gyp. # angle_code is set to 1 for the core ANGLE targets defined in src/build_angle.gyp.
# angle_code is set to 0 for test code, sample code, and third party code. # angle_code is set to 0 for test code, sample code, and third party code.
# When angle_code is 1, we build with additional warning flags on Mac and Linux. # When angle_code is 1, we build with additional warning flags on Mac and Linux.
......
# Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. # Copyright (c) 2014 The ANGLE Project Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
{ {
'includes': 'sources':
[ [
'build_tests.gypi', '<!@(python <(angle_path)/enumerate_files.py <(angle_path)/tests/compiler_tests/ -types *.cpp *.h)'
], ],
} }
# Copyright (c) 2014 The ANGLE Project Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'sources':
[
'<!@(python <(angle_path)/enumerate_files.py <(angle_path)/tests/preprocessor_tests/ -types *.cpp *.h)'
],
}
...@@ -75,9 +75,9 @@ ...@@ -75,9 +75,9 @@
'third_party/googletest/include', 'third_party/googletest/include',
'third_party/googlemock/include', 'third_party/googlemock/include',
], ],
'sources': 'includes':
[ [
'<!@(python <(angle_build_scripts_path)/enumerate_files.py preprocessor_tests -types *.cpp *.h)' 'preprocessor_tests/preprocessor_tests.gypi',
], ],
}, },
...@@ -97,9 +97,9 @@ ...@@ -97,9 +97,9 @@
'third_party/googletest/include', 'third_party/googletest/include',
'third_party/googlemock/include', 'third_party/googlemock/include',
], ],
'sources': 'includes':
[ [
'<!@(python <(angle_build_scripts_path)/enumerate_files.py compiler_tests -types *.cpp *.h)' 'compiler_tests/compiler_tests.gypi',
], ],
}, },
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment