Loading Ravenwood.bp +26 −0 Original line number Diff line number Diff line Loading @@ -77,6 +77,19 @@ java_genrule { ], } // Extract the stats file. genrule { name: "framework-minus-apex.ravenwood.stats", defaults: ["ravenwood-internal-only-visibility-genrule"], cmd: "cp $(in) $(out)", srcs: [ ":framework-minus-apex.ravenwood-base{hoststubgen_framework-minus-apex_stats.csv}", ], out: [ "hoststubgen_framework-minus-apex_stats.csv", ], } java_library { name: "services.core-for-hoststubgen", installable: false, // host only jar. Loading Loading @@ -135,6 +148,19 @@ java_genrule { ], } // Extract the stats file. genrule { name: "services.core.ravenwood.stats", defaults: ["ravenwood-internal-only-visibility-genrule"], cmd: "cp $(in) $(out)", srcs: [ ":services.core.ravenwood-base{hoststubgen_services.core_stats.csv}", ], out: [ "hoststubgen_services.core_stats.csv", ], } java_library { name: "services.core.ravenwood-jarjar", installable: false, Loading ravenwood/Android.bp +12 −0 Original line number Diff line number Diff line Loading @@ -154,3 +154,15 @@ filegroup { srcs: ["ravenwood-services-jarjar-rules.txt"], visibility: ["//frameworks/base"], } // For collecting the *stats.csv files in a known directory under out/host/linux-x86/testcases/. // The "test" just shows the available stats filenames. sh_test_host { name: "ravenwood-stats-checker", src: "ravenwood-stats-checker.sh", test_suites: ["general-tests"], data: [ ":framework-minus-apex.ravenwood.stats", ":services.core.ravenwood.stats", ], } ravenwood/ravenwood-stats-checker.sh 0 → 100755 +5 −0 Original line number Diff line number Diff line #!/bin/bash # Just print the available *.csv filenames. echo '#Stats files:' ls *.csv No newline at end of file Loading
Ravenwood.bp +26 −0 Original line number Diff line number Diff line Loading @@ -77,6 +77,19 @@ java_genrule { ], } // Extract the stats file. genrule { name: "framework-minus-apex.ravenwood.stats", defaults: ["ravenwood-internal-only-visibility-genrule"], cmd: "cp $(in) $(out)", srcs: [ ":framework-minus-apex.ravenwood-base{hoststubgen_framework-minus-apex_stats.csv}", ], out: [ "hoststubgen_framework-minus-apex_stats.csv", ], } java_library { name: "services.core-for-hoststubgen", installable: false, // host only jar. Loading Loading @@ -135,6 +148,19 @@ java_genrule { ], } // Extract the stats file. genrule { name: "services.core.ravenwood.stats", defaults: ["ravenwood-internal-only-visibility-genrule"], cmd: "cp $(in) $(out)", srcs: [ ":services.core.ravenwood-base{hoststubgen_services.core_stats.csv}", ], out: [ "hoststubgen_services.core_stats.csv", ], } java_library { name: "services.core.ravenwood-jarjar", installable: false, Loading
ravenwood/Android.bp +12 −0 Original line number Diff line number Diff line Loading @@ -154,3 +154,15 @@ filegroup { srcs: ["ravenwood-services-jarjar-rules.txt"], visibility: ["//frameworks/base"], } // For collecting the *stats.csv files in a known directory under out/host/linux-x86/testcases/. // The "test" just shows the available stats filenames. sh_test_host { name: "ravenwood-stats-checker", src: "ravenwood-stats-checker.sh", test_suites: ["general-tests"], data: [ ":framework-minus-apex.ravenwood.stats", ":services.core.ravenwood.stats", ], }
ravenwood/ravenwood-stats-checker.sh 0 → 100755 +5 −0 Original line number Diff line number Diff line #!/bin/bash # Just print the available *.csv filenames. echo '#Stats files:' ls *.csv No newline at end of file