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
|
cc_defaults {
name: "build_version_test_defaults",
use_version_lib: true,
host_supported: true,
target: {
windows: {
enabled: true,
},
},
}
cc_test {
name: "build_version_test",
defaults: ["build_version_test_defaults"],
srcs: ["build_version_test.cpp"],
target: {
android: {
shared_libs: ["libbuild_version_test"],
},
not_windows: {
shared_libs: ["libbuild_version_test"],
},
},
}
cc_library_shared {
name: "libbuild_version_test",
defaults: ["build_version_test_defaults"],
srcs: ["build_version_test_lib.cpp"],
target: {
windows: {
enabled: false,
},
},
}
|