Commit 16af1e41 by Jamie Madill

Fix commit id versioning when building with Chrome.

The GYP syntax would cause problems with the ninja build. BUG=angle:529 Change-Id: I84a30afc9bd8900535e44f5d5f9d8f766a4686e8 Reviewed-on: https://chromium-review.googlesource.com/186610Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Tested-by: 's avatarJamie Madill <jmadill@chromium.org>
parent d858468f
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
<ItemGroup> <ItemGroup>
<CustomBuild Include="..\..\src\commit_id.bat"> <CustomBuild Include="..\..\src\commit_id.bat">
<FileType>Document</FileType> <FileType>Document</FileType>
<Command>call call ..\..\src\commit_id.bat $(OutDir)obj\global_intermediate</Command> <Command>call call ..\..\src\commit_id.bat &quot;$(OutDir)obj\global_intermediate&quot;</Command>
<Message>Generating commit ID header...</Message> <Message>Generating commit ID header...</Message>
<Outputs>$(OutDir)obj\global_intermediate\commit.h</Outputs> <Outputs>$(OutDir)obj\global_intermediate\commit.h</Outputs>
</CustomBuild> </CustomBuild>
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
'message': 'Generating commit ID header...', 'message': 'Generating commit ID header...',
'inputs': [ 'commit_id.bat' ], 'inputs': [ 'commit_id.bat' ],
'outputs': ['<(SHARED_INTERMEDIATE_DIR)/commit.h'], 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/commit.h'],
'action': ['<(angle_relative_src_path)commit_id.bat <(SHARED_INTERMEDIATE_DIR)'], 'action': ['<(angle_relative_src_path)commit_id.bat', '<(SHARED_INTERMEDIATE_DIR)'],
} }
] #actions ] #actions
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment