Edit

kc3-lang/angle/src/libGLESv2.gypi

Branch :

  • Show log

    Commit

  • Author : Geoff Lang
    Date : 2014-02-06 13:24:33
    Hash : d5da329c
    Message : Improve the enumerate_files.py script. Cleaned up the agument parsing and added support for excluding files/folders. BUG=angle:552 Change-Id: I6dcf965f9b92ce4aa1c0b64bd4f9a0420883bcf6 Reviewed-on: https://chromium-review.googlesource.com/185204 Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org>

  • src/libGLESv2.gypi
  • # Copyright (c) 2013 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.
    
    {
        'target_defaults':
        {
            'defines':
            [
                'ANGLE_COMPILE_OPTIMIZATION_LEVEL=D3DCOMPILE_OPTIMIZATION_LEVEL1',
                'ANGLE_PRELOADED_D3DCOMPILER_MODULE_NAMES={ TEXT("d3dcompiler_46.dll"), TEXT("d3dcompiler_43.dll") }',
            ],
        },
    
        'conditions':
        [
            ['OS=="win"',
            {
                'targets':
                [
                    {
                        'target_name': 'libGLESv2',
                        'type': 'shared_library',
                        'dependencies': [ 'translator_static', 'commit_id', 'copy_compiler_dll' ],
                        'include_dirs':
                        [
                            '.',
                            '../include',
                            'libGLESv2',
                        ],
                        'sources':
                        [
                            '<!@(python <(angle_build_scripts_path)/enumerate_files.py \
                                 -dirs common libGLESv2 third_party/murmurhash ../include \
                                 -types *.cpp *.h *.hlsl *.vs *.ps *.bat *.def *.rc)',
                        ],
                        # TODO(jschuh): http://crbug.com/167187 size_t -> int
                        'msvs_disabled_warnings': [ 4267 ],
                        'msvs_settings':
                        {
                            'VCLinkerTool':
                            {
                                'AdditionalDependencies':
                                [
                                    'd3d9.lib',
                                    'dxguid.lib',
                                ]
                            }
                        },
                        'configurations':
                        {
                            'Debug':
                            {
                                'defines':
                                [
                                    'ANGLE_ENABLE_PERF',
                                ],
                            },
                        },
                    },
                ],
            },
            ],
        ],
    }