Edit

kc3-lang/angle/tests/build_tests.gyp

Branch :

  • Show log

    Commit

  • Author : gman@chromium.org
    Date : 2012-10-17 21:33:48
    Hash : 8d804799
    Message : Add Variable Packing checks to ANGLE BUG=373 TEST=unit tests git-svn-id: https://angleproject.googlecode.com/svn/trunk@1317 736b8ea6-26fd-11df-bfd4-992fa37f6226

  • tests/build_tests.gyp
  • # Copyright (c) 2012 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.
    
    {
      'targets': [
        {
          'target_name': 'gtest',
          'type': 'static_library',
          'include_dirs': [
            '../third_party/googletest',
            '../third_party/googletest/include',
          ],
          'sources': [
            '../third_party/googletest/src/gtest-all.cc',
          ],
        },
        {
          'target_name': 'gmock',
          'type': 'static_library',
          'include_dirs': [
            '../third_party/googlemock',
            '../third_party/googlemock/include',
            '../third_party/googletest/include',
          ],
          'sources': [
            '../third_party/googlemock/src/gmock-all.cc',
          ],
        },
        {
          'target_name': 'preprocessor_tests',
          'type': 'executable',
          'dependencies': [
            '../src/build_angle.gyp:preprocessor',
            'gtest',
            'gmock',
          ],
          'include_dirs': [
            '../src/compiler/preprocessor/new',
            '../third_party/googletest/include',
            '../third_party/googlemock/include',
          ],
          'sources': [
            '../third_party/googlemock/src/gmock_main.cc',
            'preprocessor_tests/char_test.cpp',
            'preprocessor_tests/comment_test.cpp',
            'preprocessor_tests/define_test.cpp',
            'preprocessor_tests/error_test.cpp',
            'preprocessor_tests/extension_test.cpp',
            'preprocessor_tests/identifier_test.cpp',
            'preprocessor_tests/if_test.cpp',
            'preprocessor_tests/input_test.cpp',
            'preprocessor_tests/location_test.cpp',
            'preprocessor_tests/MockDiagnostics.h',
            'preprocessor_tests/MockDirectiveHandler.h',
            'preprocessor_tests/number_test.cpp',
            'preprocessor_tests/operator_test.cpp',
            'preprocessor_tests/pragma_test.cpp',
            'preprocessor_tests/PreprocessorTest.cpp',
            'preprocessor_tests/PreprocessorTest.h',
            'preprocessor_tests/space_test.cpp',
            'preprocessor_tests/token_test.cpp',
            'preprocessor_tests/version_test.cpp',
          ],
        },
        {
          'target_name': 'compiler_tests',
          'type': 'executable',
          'dependencies': [
            '../src/build_angle.gyp:translator_common',
            'gtest',
            'gmock',
          ],
          'include_dirs': [
            '../include',
            '../src',
            '../third_party/googletest/include',
            '../third_party/googlemock/include',
          ],
          'sources': [
            '../third_party/googlemock/src/gmock_main.cc',
            'compiler_tests/VariablePacker_test.cpp',
          ],
        },
      ],
    }
    
    # Local Variables:
    # tab-width:2
    # indent-tabs-mode:nil
    # End:
    # vim: set expandtab tabstop=2 shiftwidth=2: