-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgtest.gyp
44 lines (44 loc) · 986 Bytes
/
gtest.gyp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
'targets': [
{
'target_name': 'gtest',
'toolsets': ['host', 'target'],
'type': 'static_library',
'sources': [
'gtest/src/gtest-death-test.cc',
'gtest/src/gtest-filepath.cc',
'gtest/src/gtest-port.cc',
'gtest/src/gtest-printers.cc',
'gtest/src/gtest-test-part.cc',
'gtest/src/gtest-typed-test.cc',
'gtest/src/gtest.cc',
],
'include_dirs': [
'gtest',
'gtest/include',
],
'defines': [
'GTEST_HAS_POSIX_RE=0',
],
'all_dependent_settings': {
'include_dirs': [
'gtest/include',
],
'defines': [
'GTEST_HAS_POSIX_RE=0',
'GTEST_LANG_CXX11=1',
],
},
'direct_dependent_settings': {
'defines': [
'UNIT_TEST',
],
'target_conditions': [
['_type=="executable"', {
'test': 1,
}],
],
},
},
],
}