1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5java_binary_host {
6    name: "statsd_localdrive",
7    manifest: "localdrive_manifest.txt",
8    srcs: [
9        "src/com/android/statsd/shelltools/localdrive/*.java",
10        "src/com/android/statsd/shelltools/Utils.java",
11    ],
12    static_libs: [
13        "platformprotos",
14        "statsd_extension_atoms_registry_lib",
15        "guava",
16    ],
17}
18
19java_library_host {
20    name: "statsd_testdrive_lib",
21    srcs: [
22        "src/com/android/statsd/shelltools/testdrive/*.java",
23        "src/com/android/statsd/shelltools/Utils.java",
24    ],
25    static_libs: [
26        "platformprotos",
27        "statsd_extension_atoms_registry_lib",
28        "guava",
29    ],
30}
31
32java_library_host {
33    name: "statsd_extension_atoms_registry_lib",
34    srcs: [
35        "src/com/android/statsd/shelltools/ExtensionAtomsRegistry.java",
36    ],
37    static_libs: [
38        "platformprotos",
39    ],
40}
41
42
43java_binary_host {
44    name: "statsd_testdrive",
45    manifest: "testdrive_manifest.txt",
46    static_libs: [
47        "statsd_testdrive_lib",
48    ],
49}
50
51java_test_host {
52    name: "statsd_testdrive_test",
53    // tag this module as a test artifact
54    test_suites: [
55        "general-tests",
56    ],
57    srcs: ["test/com/android/statsd/shelltools/testdrive/*.java"],
58    static_libs: [
59        "statsd_testdrive_lib",
60        "junit",
61        "platformprotos",
62        "guava",
63    ],
64    data: [
65        "test/data/**/*.*",
66    ],
67    data_native_bins: [
68        "aprotoc",
69    ],
70}
71