Commit 06090a96 by Jamie Madill

Add a relative source path variable to our gyp build process.

This path lets us locate the src folder with respect to the generated output folder, for the pregenerated projects. Change-Id: I5cf36f35f68638572bc1a8aec1f570edf76a1c74 Reviewed-on: https://chromium-review.googlesource.com/178521Reviewed-by: 's avatarShannon Woods <shannonwoods@chromium.org> Commit-Queue: Shannon Woods <shannonwoods@chromium.org> Tested-by: 's avatarShannon Woods <shannonwoods@chromium.org> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org> Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent fa3d9f30
......@@ -32,6 +32,7 @@ if __name__ == '__main__':
gyp_cmd += ' -G msvs_version=' + msvs_version
gyp_cmd += ' -D angle_build_tests=' + ('1' if build_tests else '0')
gyp_cmd += ' -D angle_build_samples=' + ('1' if build_samples else '0')
gyp_cmd += ' -D angle_relative_src_path=..\\..\\src\\'
gyp_cmd += ' ' + os.path.join(script_dir, 'all.gyp')
print 'Generating projects to' + generation_dir + ' from gyp files...'
......
......@@ -7,6 +7,7 @@
{
'angle_code': 1,
'angle_post_build_script%': 0,
'angle_relative_src_path%': '',
},
'includes':
[
......
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