Commit 3cd50f7e by Geoff Lang

Fix remaining discrepencies between master and es3proto project files.

Change-Id: I335c9346ac268beab25184e2b18ccfdd0b15c7b1 Reviewed-on: https://chromium-review.googlesource.com/182150Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent 91382e55
...@@ -3,31 +3,23 @@ ...@@ -3,31 +3,23 @@
# found in the LICENSE file. # found in the LICENSE file.
{ {
'targets': [ 'targets':
{ [
'target_name': 'All', {
'type': 'none', 'target_name': 'All',
'dependencies': [ 'type': 'none',
'../src/angle.gyp:*', 'dependencies': [ '../src/angle.gyp:*', ],
], 'conditions':
'conditions': [ [
['angle_build_samples==1', { ['angle_build_samples==1',
'dependencies': [ {
'../samples/samples.gyp:*', 'dependencies': [ '../samples/samples.gyp:*', ],
], }],
}], ['angle_build_tests==1',
['angle_build_tests==1', { {
'dependencies': [ 'dependencies': [ '../tests/tests.gyp:*', ],
'../tests/tests.gyp:*', }],
], ],
}], },
], ],
},
],
} }
# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2:
...@@ -14,22 +14,21 @@ script_dir = os.path.dirname(__file__) ...@@ -14,22 +14,21 @@ script_dir = os.path.dirname(__file__)
angle_dir = os.path.normpath(os.path.join(script_dir, os.pardir)) angle_dir = os.path.normpath(os.path.join(script_dir, os.pardir))
sys.path.append(os.path.join(angle_dir, 'third_party', 'gyp', 'pylib')) sys.path.append(os.path.join(angle_dir, 'third_party', 'gyp', 'pylib'))
print os.path.join(angle_dir, 'third_party', 'gyp', 'pylib')
import gyp import gyp
if __name__ == '__main__': if __name__ == '__main__':
args = sys.argv[1:] args = sys.argv[1:]
print 'Updating projects from gyp files...' print 'Updating projects from gyp files...'
sys.stdout.flush() sys.stdout.flush()
# Set the depth to get the top-level Makefile generated into the # Set the depth to get the top-level Makefile generated into the
# correct directory. This only has an effect on Linux. # correct directory. This only has an effect on Linux.
args.append('--depth'); args.append('--depth');
args.append('.'); args.append('.');
# Add common.gypi to the include path. # Add common.gypi to the include path.
args.append('-I' + os.path.join(script_dir, 'common.gypi')) args.append('-I' + os.path.join(script_dir, 'common.gypi'))
args.append('--no-parallel') args.append('--no-parallel')
# Add all.gyp as the main gyp file to be generated. # Add all.gyp as the main gyp file to be generated.
args.append(os.path.join(script_dir, 'all.gyp')) args.append(os.path.join(script_dir, 'all.gyp'))
sys.exit(gyp.main(args)) sys.exit(gyp.main(args))
...@@ -23,25 +23,25 @@ build_samples = True ...@@ -23,25 +23,25 @@ build_samples = True
build_tests = False build_tests = False
if __name__ == '__main__': if __name__ == '__main__':
gyp_cmd = os.path.join(gyp_dir, 'gyp') gyp_cmd = os.path.join(gyp_dir, 'gyp')
gyp_cmd += ' --ignore-environment' gyp_cmd += ' --ignore-environment'
gyp_cmd += ' --depth=.' gyp_cmd += ' --depth=.'
gyp_cmd += ' --include=' + os.path.join(script_dir, 'common.gypi') gyp_cmd += ' --include=' + os.path.join(script_dir, 'common.gypi')
gyp_cmd += ' --generator-output=' + generation_dir gyp_cmd += ' --generator-output=' + generation_dir
gyp_cmd += ' --format=' + gyp_generators gyp_cmd += ' --format=' + gyp_generators
gyp_cmd += ' -G msvs_version=' + msvs_version gyp_cmd += ' -G msvs_version=' + msvs_version
gyp_cmd += ' -D angle_build_tests=' + ('1' if build_tests else '0') 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_build_samples=' + ('1' if build_samples else '0')
gyp_cmd += ' -D angle_relative_src_path=..\\..\\src\\' gyp_cmd += ' -D angle_relative_src_path=..\\..\\src\\'
gyp_cmd += ' ' + os.path.join(script_dir, 'all.gyp') gyp_cmd += ' ' + os.path.join(script_dir, 'all.gyp')
print 'Generating projects to' + generation_dir + ' from gyp files...' print 'Generating projects to ' + generation_dir + ' from gyp files...'
print gyp_cmd print gyp_cmd
sys.stdout.flush() sys.stdout.flush()
os.system(gyp_cmd) os.system(gyp_cmd)
git_add_cmd = 'git add ' + generation_dir + ' -u' git_add_cmd = 'git add ' + generation_dir + ' -u'
print '\nRunning git add on updated Visual Studio projects...' print '\nRunning git add on updated Visual Studio projects...'
print git_add_cmd print git_add_cmd
sys.stdout.flush() sys.stdout.flush()
os.system(git_add_cmd) os.system(git_add_cmd)
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
<Filter>compiler\translator</Filter> <Filter>compiler\translator</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\..\src\compiler\translator\UnfoldShortCircuitAST.h"> <ClInclude Include="..\..\src\compiler\translator\UnfoldShortCircuitAST.h">
<Filter>..\..\src\compiler\translator</Filter> <Filter>compiler\translator</Filter>
</ClInclude> </ClInclude>
<ClCompile Include="..\..\src\compiler\translator\ValidateLimitations.cpp"> <ClCompile Include="..\..\src\compiler\translator\ValidateLimitations.cpp">
<Filter>compiler\translator</Filter> <Filter>compiler\translator</Filter>
...@@ -335,7 +335,7 @@ ...@@ -335,7 +335,7 @@
<Filter>compiler\translator</Filter> <Filter>compiler\translator</Filter>
</ClInclude> </ClInclude>
<ClCompile Include="..\..\src\compiler\translator\UnfoldShortCircuitAST.cpp"> <ClCompile Include="..\..\src\compiler\translator\UnfoldShortCircuitAST.cpp">
<Filter>..\..\src\compiler\translator</Filter> <Filter>compiler\translator</Filter>
</ClCompile> </ClCompile>
<ClInclude Include="..\..\src\compiler\translator\MMap.h"> <ClInclude Include="..\..\src\compiler\translator\MMap.h">
<Filter>compiler\translator</Filter> <Filter>compiler\translator</Filter>
......
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
<Filter>compiler\translator</Filter> <Filter>compiler\translator</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\..\src\compiler\translator\UnfoldShortCircuitAST.h"> <ClInclude Include="..\..\src\compiler\translator\UnfoldShortCircuitAST.h">
<Filter>..\..\src\compiler\translator</Filter> <Filter>compiler\translator</Filter>
</ClInclude> </ClInclude>
<ClCompile Include="..\..\src\compiler\translator\ValidateLimitations.cpp"> <ClCompile Include="..\..\src\compiler\translator\ValidateLimitations.cpp">
<Filter>compiler\translator</Filter> <Filter>compiler\translator</Filter>
...@@ -335,7 +335,7 @@ ...@@ -335,7 +335,7 @@
<Filter>compiler\translator</Filter> <Filter>compiler\translator</Filter>
</ClInclude> </ClInclude>
<ClCompile Include="..\..\src\compiler\translator\UnfoldShortCircuitAST.cpp"> <ClCompile Include="..\..\src\compiler\translator\UnfoldShortCircuitAST.cpp">
<Filter>..\..\src\compiler\translator</Filter> <Filter>compiler\translator</Filter>
</ClCompile> </ClCompile>
<ClInclude Include="..\..\src\compiler\translator\MMap.h"> <ClInclude Include="..\..\src\compiler\translator\MMap.h">
<Filter>compiler\translator</Filter> <Filter>compiler\translator</Filter>
......
...@@ -8,9 +8,3 @@ ...@@ -8,9 +8,3 @@
'angle.gypi', 'angle.gypi',
], ],
} }
# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2:
...@@ -88,12 +88,3 @@ ...@@ -88,12 +88,3 @@
] ]
] # conditions ] # conditions
} }
# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2:
# Copyright (c) 2012 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.
...@@ -8,9 +8,3 @@ ...@@ -8,9 +8,3 @@
'angle.gypi', 'angle.gypi',
], ],
} }
# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2:
# Copyright (c) 2012 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.
{
'includes':
[
'build_tests.gypi',
],
}
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