Commit 0049e43d by Geoff Lang

Fixed the DEPS folder and added a .gclient file so gclient sync will now work.

parent 6850947e
solutions = [ {
u'managed': False,
u'name': u'.',
u'url': u'https://code.google.com/p/angleproject/',
u'custom_deps': { },
u'deps_file': u'DEPS'
} ]
\ No newline at end of file
...@@ -3,7 +3,6 @@ Release ...@@ -3,7 +3,6 @@ Release
*.sdf *.sdf
*.ncb *.ncb
*.suo *.suo
*.vcproj.*
*.vcxproj.user *.vcxproj.user
patches-* patches-*
*.target.mk *.target.mk
...@@ -12,8 +11,7 @@ debug.txt ...@@ -12,8 +11,7 @@ debug.txt
*.opensdf *.opensdf
*.orig *.orig
*.rej *.rej
.gclient_entries
# Files generated by gyp third_party
src/build_angle.sln tests/third_party
src/*.vcxproj build/trunk
src/*.vcxproj.filters
deps = { deps = {
"trunk/third_party/gyp": "third_party/gyp":
"http://gyp.googlecode.com/svn/trunk@1564", "http://gyp.googlecode.com/svn/trunk@1564",
"trunk/third_party/googletest": "tests/third_party/googletest":
"http://googletest.googlecode.com/svn/trunk@573", #release 1.6.0 "http://googletest.googlecode.com/svn/trunk@629",
"trunk/third_party/googlemock": "tests/third_party/googlemock":
"http://googlemock.googlecode.com/svn/trunk@387", #release 1.6.0 "http://googlemock.googlecode.com/svn/trunk@410",
} }
hooks = [ hooks = [
{ {
# A change to a .gyp, .gypi, or to GYP itself should run the generator. # A change to a .gyp, .gypi, or to GYP itself should run the generator.
"pattern": ".", "pattern": ".",
"action": ["python", "trunk/build/gyp_angle"], "action": ["python", "build/gyp_angle"],
}, },
] ]
...@@ -14,6 +14,7 @@ script_dir = os.path.dirname(__file__) ...@@ -14,6 +14,7 @@ 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__':
......
...@@ -153,7 +153,7 @@ protected: ...@@ -153,7 +153,7 @@ protected:
const char* source, const char* source,
int compileOptions, int compileOptions,
const char* expected_error) { const char* expected_error) {
bool success = ShCompile(compiler, &source, 1, compileOptions); bool success = ShCompile(compiler, &source, 1, compileOptions) != 0;
if (success) { if (success) {
success = !expected_error; success = !expected_error;
} else { } else {
......
...@@ -10,12 +10,12 @@ ...@@ -10,12 +10,12 @@
'type': 'static_library', 'type': 'static_library',
'include_dirs': 'include_dirs':
[ [
'../third_party/googletest', 'third_party/googletest',
'../third_party/googletest/include', 'third_party/googletest/include',
], ],
'sources': 'sources':
[ [
'../third_party/googletest/src/gtest-all.cc', 'third_party/googletest/src/gtest-all.cc',
], ],
}, },
...@@ -24,13 +24,13 @@ ...@@ -24,13 +24,13 @@
'type': 'static_library', 'type': 'static_library',
'include_dirs': 'include_dirs':
[ [
'../third_party/googlemock', 'third_party/googlemock',
'../third_party/googlemock/include', 'third_party/googlemock/include',
'../third_party/googletest/include', 'third_party/googletest/include',
], ],
'sources': 'sources':
[ [
'../third_party/googlemock/src/gmock-all.cc', 'third_party/googlemock/src/gmock-all.cc',
], ],
}, },
...@@ -46,12 +46,12 @@ ...@@ -46,12 +46,12 @@
'include_dirs': 'include_dirs':
[ [
'../src/compiler/preprocessor', '../src/compiler/preprocessor',
'../third_party/googletest/include', 'third_party/googletest/include',
'../third_party/googlemock/include', 'third_party/googlemock/include',
], ],
'sources': 'sources':
[ [
'../third_party/googlemock/src/gmock_main.cc', 'third_party/googlemock/src/gmock_main.cc',
'<!@(python enumerate_files.py preprocessor_tests -types *.cpp *.h)' '<!@(python enumerate_files.py preprocessor_tests -types *.cpp *.h)'
], ],
}, },
...@@ -69,12 +69,12 @@ ...@@ -69,12 +69,12 @@
[ [
'../include', '../include',
'../src', '../src',
'../third_party/googletest/include', 'third_party/googletest/include',
'../third_party/googlemock/include', 'third_party/googlemock/include',
], ],
'sources': 'sources':
[ [
'../third_party/googlemock/src/gmock_main.cc', 'third_party/googlemock/src/gmock_main.cc',
'<!@(python enumerate_files.py compiler_tests -types *.cpp *.h)' '<!@(python enumerate_files.py compiler_tests -types *.cpp *.h)'
], ],
}, },
......
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