зеркало из https://github.com/AvaloniaUI/angle.git
Add a step to the gyp projects which can run a python script after
a build of ANGLE is complete. We can use this hook to do things like copy DLLs to user-configured output folders. Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang ANGLEBUG=503 Change-Id: Iecf86b8c211b2a9933894c631c32107c8fda096a
This commit is contained in:
Родитель
03847b6d50
Коммит
91db708c4e
|
@ -22,3 +22,5 @@ debug.txt
|
|||
third_party
|
||||
tests/third_party
|
||||
out
|
||||
lib/*
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
'variables':
|
||||
{
|
||||
'angle_code': 1,
|
||||
'angle_post_build_script%': 0,
|
||||
},
|
||||
'includes':
|
||||
[
|
||||
|
@ -13,6 +14,36 @@
|
|||
'libGLESv2.gypi',
|
||||
'libEGL.gypi'
|
||||
],
|
||||
'conditions':
|
||||
[
|
||||
[
|
||||
'angle_post_build_script!=0 and OS=="win"',
|
||||
{
|
||||
'target_defaults':
|
||||
{
|
||||
'msvs_cygwin_shell': 0,
|
||||
},
|
||||
'targets':
|
||||
[
|
||||
{
|
||||
'target_name': 'post_build',
|
||||
'type': 'none',
|
||||
'dependencies': [ 'libGLESv2', 'libEGL' ],
|
||||
'actions':
|
||||
[
|
||||
{
|
||||
'action_name': 'ANGLE Post-Build Script',
|
||||
'message': 'Running <(angle_post_build_script)...',
|
||||
'inputs': [ '<(angle_post_build_script)', '<!@(python <(angle_post_build_script) inputs)' ],
|
||||
'outputs': [ '<!@(python <(angle_post_build_script) outputs)' ],
|
||||
'action': ['python', '<(angle_post_build_script)', 'run', '<(CONFIGURATION_NAME)', '$(Platform)', '<(PRODUCT_DIR)'],
|
||||
}
|
||||
] #actions
|
||||
}
|
||||
] # targets
|
||||
}
|
||||
]
|
||||
] # conditions
|
||||
}
|
||||
|
||||
# Local Variables:
|
||||
|
|
Загрузка…
Ссылка в новой задаче