зеркало из https://github.com/AvaloniaUI/angle.git
Fixed the DEPS folder and added a .gclient file so gclient sync will now work.
This commit is contained in:
Родитель
6850947e14
Коммит
0049e43d65
|
@ -0,0 +1,7 @@
|
|||
solutions = [ {
|
||||
u'managed': False,
|
||||
u'name': u'.',
|
||||
u'url': u'https://code.google.com/p/angleproject/',
|
||||
u'custom_deps': { },
|
||||
u'deps_file': u'DEPS'
|
||||
} ]
|
|
@ -3,7 +3,6 @@ Release
|
|||
*.sdf
|
||||
*.ncb
|
||||
*.suo
|
||||
*.vcproj.*
|
||||
*.vcxproj.user
|
||||
patches-*
|
||||
*.target.mk
|
||||
|
@ -12,8 +11,7 @@ debug.txt
|
|||
*.opensdf
|
||||
*.orig
|
||||
*.rej
|
||||
|
||||
# Files generated by gyp
|
||||
src/build_angle.sln
|
||||
src/*.vcxproj
|
||||
src/*.vcxproj.filters
|
||||
.gclient_entries
|
||||
third_party
|
||||
tests/third_party
|
||||
build/trunk
|
||||
|
|
12
DEPS
12
DEPS
|
@ -1,18 +1,18 @@
|
|||
deps = {
|
||||
"trunk/third_party/gyp":
|
||||
"third_party/gyp":
|
||||
"http://gyp.googlecode.com/svn/trunk@1564",
|
||||
|
||||
"trunk/third_party/googletest":
|
||||
"http://googletest.googlecode.com/svn/trunk@573", #release 1.6.0
|
||||
"tests/third_party/googletest":
|
||||
"http://googletest.googlecode.com/svn/trunk@629",
|
||||
|
||||
"trunk/third_party/googlemock":
|
||||
"http://googlemock.googlecode.com/svn/trunk@387", #release 1.6.0
|
||||
"tests/third_party/googlemock":
|
||||
"http://googlemock.googlecode.com/svn/trunk@410",
|
||||
}
|
||||
|
||||
hooks = [
|
||||
{
|
||||
# A change to a .gyp, .gypi, or to GYP itself should run the generator.
|
||||
"pattern": ".",
|
||||
"action": ["python", "trunk/build/gyp_angle"],
|
||||
"action": ["python", "build/gyp_angle"],
|
||||
},
|
||||
]
|
||||
|
|
|
@ -14,6 +14,7 @@ script_dir = os.path.dirname(__file__)
|
|||
angle_dir = os.path.normpath(os.path.join(script_dir, os.pardir))
|
||||
|
||||
sys.path.append(os.path.join(angle_dir, 'third_party', 'gyp', 'pylib'))
|
||||
print os.path.join(angle_dir, 'third_party', 'gyp', 'pylib')
|
||||
import gyp
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
@ -153,7 +153,7 @@ protected:
|
|||
const char* source,
|
||||
int compileOptions,
|
||||
const char* expected_error) {
|
||||
bool success = ShCompile(compiler, &source, 1, compileOptions);
|
||||
bool success = ShCompile(compiler, &source, 1, compileOptions) != 0;
|
||||
if (success) {
|
||||
success = !expected_error;
|
||||
} else {
|
||||
|
|
|
@ -10,12 +10,12 @@
|
|||
'type': 'static_library',
|
||||
'include_dirs':
|
||||
[
|
||||
'../third_party/googletest',
|
||||
'../third_party/googletest/include',
|
||||
'third_party/googletest',
|
||||
'third_party/googletest/include',
|
||||
],
|
||||
'sources':
|
||||
[
|
||||
'../third_party/googletest/src/gtest-all.cc',
|
||||
'third_party/googletest/src/gtest-all.cc',
|
||||
],
|
||||
},
|
||||
|
||||
|
@ -24,13 +24,13 @@
|
|||
'type': 'static_library',
|
||||
'include_dirs':
|
||||
[
|
||||
'../third_party/googlemock',
|
||||
'../third_party/googlemock/include',
|
||||
'../third_party/googletest/include',
|
||||
'third_party/googlemock',
|
||||
'third_party/googlemock/include',
|
||||
'third_party/googletest/include',
|
||||
],
|
||||
'sources':
|
||||
[
|
||||
'../third_party/googlemock/src/gmock-all.cc',
|
||||
'third_party/googlemock/src/gmock-all.cc',
|
||||
],
|
||||
},
|
||||
|
||||
|
@ -46,12 +46,12 @@
|
|||
'include_dirs':
|
||||
[
|
||||
'../src/compiler/preprocessor',
|
||||
'../third_party/googletest/include',
|
||||
'../third_party/googlemock/include',
|
||||
'third_party/googletest/include',
|
||||
'third_party/googlemock/include',
|
||||
],
|
||||
'sources':
|
||||
[
|
||||
'../third_party/googlemock/src/gmock_main.cc',
|
||||
'third_party/googlemock/src/gmock_main.cc',
|
||||
'<!@(python enumerate_files.py preprocessor_tests -types *.cpp *.h)'
|
||||
],
|
||||
},
|
||||
|
@ -69,12 +69,12 @@
|
|||
[
|
||||
'../include',
|
||||
'../src',
|
||||
'../third_party/googletest/include',
|
||||
'../third_party/googlemock/include',
|
||||
'third_party/googletest/include',
|
||||
'third_party/googlemock/include',
|
||||
],
|
||||
'sources':
|
||||
[
|
||||
'../third_party/googlemock/src/gmock_main.cc',
|
||||
'third_party/googlemock/src/gmock_main.cc',
|
||||
'<!@(python enumerate_files.py compiler_tests -types *.cpp *.h)'
|
||||
],
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче