Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73e0854f authored by Gopinath Elanchezhian's avatar Gopinath Elanchezhian Committed by Android (Google) Code Review
Browse files

Merge "Add statsdprotolite in Android.bp"

parents 8a903bdb a9864fdc
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -43,3 +43,25 @@ cc_library_host_shared {
}


// ====  java proto device library (for test only)  ==============================
java_library {
    name: "statsdprotolite",
    proto: {
        type: "lite",
        include_dirs: ["external/protobuf/src"],
    },

    srcs: [
        "src/stats_log.proto",
        "src/statsd_config.proto",
        "src/atoms.proto",
    ],

    static_libs: [
        "platformprotoslite",
    ],
    // Protos have lots of MissingOverride and similar.
    errorprone: {
        javacflags: ["-XepDisableAllChecks"],
    },
}
+0 −22
Original line number Diff line number Diff line
@@ -242,28 +242,6 @@ LOCAL_SHARED_LIBRARIES := $(statsd_common_shared_libraries) \

include $(BUILD_NATIVE_TEST)

##############################
# stats proto static java lib
##############################

include $(CLEAR_VARS)
LOCAL_MODULE := statsdprotolite

LOCAL_SRC_FILES := \
    src/stats_log.proto \
    src/statsd_config.proto \
    src/atoms.proto

LOCAL_PROTOC_OPTIMIZE_TYPE := lite

LOCAL_STATIC_JAVA_LIBRARIES := \
    platformprotoslite

LOCAL_PROTOC_FLAGS := \
    -Iexternal/protobuf/src

include $(BUILD_STATIC_JAVA_LIBRARY)

##############################
# statsd micro benchmark
##############################