1
2java_test_host {
3    name: "xsdc-java-tests",
4    srcs: ["src/**/*.java"],
5    static_libs: [
6        "junit",
7        "xsdc",
8    ],
9    java_resource_dirs: ["resources"]
10}
11
12cc_test_host {
13    name: "xsdc-cpp-tests",
14    srcs: [
15        "main.cpp",
16    ],
17    generated_sources: [
18        "xsdc_attr_group_simple_tests",
19        "xsdc_group_tests",
20        "xsdc_nested_type_tests",
21        "xsdc_predefined_types_tests",
22        "xsdc_purchase_simple_tests",
23        "xsdc_reference_tests",
24        "xsdc_simple_complex_content_tests",
25        "xsdc_simple_type_tests",
26    ],
27    generated_headers: [
28        "xsdc_attr_group_simple_tests",
29        "xsdc_group_tests",
30        "xsdc_nested_type_tests",
31        "xsdc_predefined_types_tests",
32        "xsdc_purchase_simple_tests",
33        "xsdc_reference_tests",
34        "xsdc_simple_complex_content_tests",
35        "xsdc_simple_type_tests",
36    ],
37    shared_libs: [
38        "libbase",
39        "libxml2",
40    ],
41    data: ["resources/*.xml"],
42}
43