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

Commit 5209abad authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by Android (Google) Code Review
Browse files

Merge "Use -Werror in frameworks/base/tools/stats_log_api_gen"

parents f8c2bdfe ca189f4d
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -23,6 +23,10 @@ cc_binary_host {
        "Collation.cpp",
        "main.cpp",
    ],
    cflags: [
        "-Wall",
        "-Werror",
    ],

    shared_libs: [
        "libstats_proto_host",
@@ -90,6 +94,10 @@ cc_library_shared {
    name: "libstatslog",
    generated_sources: ["statslog.cpp"],
    generated_headers: ["statslog.h"],
    cflags: [
        "-Wall",
        "-Werror",
    ],
    export_generated_headers: ["statslog.h"],
    shared_libs: [
        "liblog",
+0 −8
Original line number Diff line number Diff line
@@ -96,8 +96,6 @@ java_type_name(java_type_t type)
static int
write_stats_log_cpp(FILE* out, const Atoms& atoms)
{
    int errorCount;

    // Print prelude
    fprintf(out, "// This file is autogenerated\n");
    fprintf(out, "\n");
@@ -157,8 +155,6 @@ write_stats_log_cpp(FILE* out, const Atoms& atoms)
static int
write_stats_log_header(FILE* out, const Atoms& atoms)
{
    int errorCount;

    // Print prelude
    fprintf(out, "// This file is autogenerated\n");
    fprintf(out, "\n");
@@ -229,8 +225,6 @@ write_stats_log_header(FILE* out, const Atoms& atoms)
static int
write_stats_log_java(FILE* out, const Atoms& atoms)
{
    int errorCount;

    // Print prelude
    fprintf(out, "// This file is autogenerated\n");
    fprintf(out, "\n");
@@ -395,8 +389,6 @@ jni_function_signature(const vector<java_type_t>& signature)
static int
write_stats_log_jni(FILE* out, const Atoms& atoms)
{
    int errorCount;

    // Print prelude
    fprintf(out, "// This file is autogenerated\n");
    fprintf(out, "\n");