Edit

kc3-lang/angle/src/libGLESv2.gypi

Branch :

  • Show log

    Commit

  • Author : Geoff Lang
    Date : 2013-10-08 11:46:54
    Hash : 5e5f990e
    Message : Merge 7692ca41dbfe20e6acf3319a37aa38b8160f51c6 from master. Remove %(AdditionalDependencies) from gyp linker deps, and add full windows dependency library list. ANGLEBUG=477 BUG= R=zmo@chromium.org Review URL: https://codereview.appspot.com/14161043

  • 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_DISABLE_TRACE',
              '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' ],
                        'include_dirs':
                        [
                            '.',
                            '../include',
                            'libGLESv2',
                        ],
                        'defines':
                        [
                            'NOMINMAX',
                            'ANGLE_ENABLE_D3D_EVENTS',
                        ],
                        'sources': [ '<!@(python enumerate_files.py common libGLESv2 third_party/murmurhash -types *.cpp *.h *.hlsl *.vs *.ps *.bat *.def)' ],
                        'msvs_disabled_warnings': [ 4267 ],
                        'msvs_settings':
                        {
                            'VCLinkerTool':
                            {
                                'AdditionalDependencies':
                                [
                                    'd3d9.lib',
                                    'dxguid.lib',
                                ]
                            }
                        },
                    },
                ],
            },
            ],
        ],
    }