Loading cmds/statsd/Android.bp +58 −0 Original line number Diff line number Diff line Loading @@ -146,6 +146,7 @@ cc_defaults { "libprotoutil", "libservices", "libstatslog", "libstatsmetadata", "libstatssocket", "libsysutils", "libtimestats_proto", Loading @@ -153,6 +154,63 @@ cc_defaults { ], } // ================ // libstatsmetadata // ================ genrule { name: "atoms_info.h", tools: ["stats-log-api-gen"], cmd: "$(location stats-log-api-gen) --atomsInfoHeader $(genDir)/atoms_info.h", out: [ "atoms_info.h", ], } genrule { name: "atoms_info.cpp", tools: ["stats-log-api-gen"], cmd: "$(location stats-log-api-gen) --atomsInfoCpp $(genDir)/atoms_info.cpp", out: [ "atoms_info.cpp", ], } cc_library_shared { name: "libstatsmetadata", host_supported: true, generated_sources: [ "atoms_info.cpp", ], generated_headers: [ "atoms_info.h", ], cflags: [ "-Wall", "-Werror", ], export_generated_headers: [ "atoms_info.h", ], shared_libs: [ "libcutils", "libstatslog", ], target: { android: { shared_libs: [ "libutils", ], }, host: { static_libs: [ "libutils", ], }, }, } // ========= // statsd // ========= Loading cmds/statsd/src/FieldValue.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -18,8 +18,8 @@ #include "Log.h" #include "FieldValue.h" #include "HashableDimensionKey.h" #include "atoms_info.h" #include "math.h" #include "statslog.h" namespace android { namespace os { Loading cmds/statsd/src/StatsLogProcessor.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ #include <utils/SystemClock.h> #include "android-base/stringprintf.h" #include "atoms_info.h" #include "external/StatsPullerManager.h" #include "guardrail/StatsdStats.h" #include "metrics/CountMetricProducer.h" Loading cmds/statsd/src/external/PowerStatsPuller.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ #include <vector> #include "PowerStatsPuller.h" #include "statslog.h" #include "stats_log_util.h" using android::hardware::hidl_vec; Loading cmds/statsd/src/external/puller_util.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -18,8 +18,8 @@ #include "Log.h" #include "StatsPullerManager.h" #include "atoms_info.h" #include "puller_util.h" #include "statslog.h" namespace android { namespace os { Loading Loading
cmds/statsd/Android.bp +58 −0 Original line number Diff line number Diff line Loading @@ -146,6 +146,7 @@ cc_defaults { "libprotoutil", "libservices", "libstatslog", "libstatsmetadata", "libstatssocket", "libsysutils", "libtimestats_proto", Loading @@ -153,6 +154,63 @@ cc_defaults { ], } // ================ // libstatsmetadata // ================ genrule { name: "atoms_info.h", tools: ["stats-log-api-gen"], cmd: "$(location stats-log-api-gen) --atomsInfoHeader $(genDir)/atoms_info.h", out: [ "atoms_info.h", ], } genrule { name: "atoms_info.cpp", tools: ["stats-log-api-gen"], cmd: "$(location stats-log-api-gen) --atomsInfoCpp $(genDir)/atoms_info.cpp", out: [ "atoms_info.cpp", ], } cc_library_shared { name: "libstatsmetadata", host_supported: true, generated_sources: [ "atoms_info.cpp", ], generated_headers: [ "atoms_info.h", ], cflags: [ "-Wall", "-Werror", ], export_generated_headers: [ "atoms_info.h", ], shared_libs: [ "libcutils", "libstatslog", ], target: { android: { shared_libs: [ "libutils", ], }, host: { static_libs: [ "libutils", ], }, }, } // ========= // statsd // ========= Loading
cmds/statsd/src/FieldValue.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -18,8 +18,8 @@ #include "Log.h" #include "FieldValue.h" #include "HashableDimensionKey.h" #include "atoms_info.h" #include "math.h" #include "statslog.h" namespace android { namespace os { Loading
cmds/statsd/src/StatsLogProcessor.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ #include <utils/SystemClock.h> #include "android-base/stringprintf.h" #include "atoms_info.h" #include "external/StatsPullerManager.h" #include "guardrail/StatsdStats.h" #include "metrics/CountMetricProducer.h" Loading
cmds/statsd/src/external/PowerStatsPuller.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ #include <vector> #include "PowerStatsPuller.h" #include "statslog.h" #include "stats_log_util.h" using android::hardware::hidl_vec; Loading
cmds/statsd/src/external/puller_util.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -18,8 +18,8 @@ #include "Log.h" #include "StatsPullerManager.h" #include "atoms_info.h" #include "puller_util.h" #include "statslog.h" namespace android { namespace os { Loading