1 # Copyright (c) 2012 The ANGLE Project Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
9 'angle_post_build_script%': 0,
10 'angle_relative_src_path%': '',
25 'msvs_cygwin_shell': 0,
30 'target_name': 'commit_id',
35 'action_name': 'Generate Commit ID Header',
36 'message': 'Generating commit ID header...',
37 'inputs': [ 'commit_id.bat' ],
38 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/commit.h'],
39 'action': ['<(angle_relative_src_path)commit_id.bat', '<(SHARED_INTERMEDIATE_DIR)'],
44 'target_name': 'copy_compiler_dll',
46 'sources': [ 'copy_compiler_dll.bat' ],
50 'msvs_cygwin_shell': 0,
51 'action_name': 'copy_dll',
52 'message': 'Copying D3D Compiler DLL...',
53 'inputs': [ 'copy_compiler_dll.bat' ],
54 'outputs': [ '<(PRODUCT_DIR)/D3DCompiler_46.dll' ],
55 'action': ["<(angle_relative_src_path)copy_compiler_dll.bat", "$(PlatformName)", "<(windows_sdk_path)", "<(PRODUCT_DIR)" ],
63 'angle_post_build_script!=0 and OS=="win"',
67 'msvs_cygwin_shell': 0,
72 'target_name': 'post_build',
74 'dependencies': [ 'libGLESv2', 'libEGL' ],
78 'action_name': 'ANGLE Post-Build Script',
79 'message': 'Running <(angle_post_build_script)...',
80 'inputs': [ '<(angle_post_build_script)', '<!@(["python", "<(angle_post_build_script)", "inputs", "<(CONFIGURATION_NAME)", "$(PlatformName)", "<(PRODUCT_DIR)"])' ],
81 'outputs': [ '<!@(python <(angle_post_build_script) outputs "<(CONFIGURATION_NAME)" "$(PlatformName)" "<(PRODUCT_DIR)")' ],
82 'action': ['python', '<(angle_post_build_script)', 'run', '<(CONFIGURATION_NAME)', '$(PlatformName)', '<(PRODUCT_DIR)'],
95 'target_name': 'commit_id',
100 'action_name': 'Generate Commit ID Header',
101 'message': 'Generating commit ID header...',
102 'inputs': [ 'commit_id.py' ],
103 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/commit.h'],
104 'action': ['python', '<(angle_relative_src_path)commit_id.py', '<(SHARED_INTERMEDIATE_DIR)/commit.h'],