Loading dumpstate/aidl/default/Android.bp +38 −0 Original line number Diff line number Diff line Loading @@ -44,3 +44,41 @@ cc_binary { "-DLOG_TAG=\"android.hardware.dumpstate-service.example\"", ], } prebuilt_etc { name: "dumpstate-default.xml", src: "dumpstate-default.xml", sub_dir: "vintf", installable: false, } prebuilt_etc { name: "dumpstate-default.rc", src: ":gen-dumpstate-default.rc-for-apex", installable: false, } genrule { name: "gen-dumpstate-default.rc-for-apex", srcs: ["dumpstate-default.rc"], out: ["dumpstate-default-apex.rc"], cmd: "sed -E 's/\\/vendor\\/bin\\/hw/\\/apex\\/com.android.hardware.dumpstate\\/bin\\/hw/' $(in) > $(out)", } apex { name: "com.android.hardware.dumpstate", vendor: true, manifest: "apex_manifest.json", file_contexts: "apex_file_contexts", key: "com.android.hardware.key", certificate: ":com.android.hardware.certificate", updatable: false, binaries: [ "android.hardware.dumpstate-service.example", ], prebuilts: [ "dumpstate-default.rc", "dumpstate-default.xml", ], } dumpstate/aidl/default/apex_file_contexts 0 → 100644 +3 −0 Original line number Diff line number Diff line (/.*)? u:object_r:vendor_file:s0 /etc(/.*)? u:object_r:vendor_configs_file:s0 /bin/hw/android\.hardware\.dumpstate-service\.example u:object_r:hal_dumpstate_default_exec:s0 No newline at end of file dumpstate/aidl/default/apex_manifest.json 0 → 100644 +4 −0 Original line number Diff line number Diff line { "name": "com.android.hardware.dumpstate", "version": 1 } No newline at end of file Loading
dumpstate/aidl/default/Android.bp +38 −0 Original line number Diff line number Diff line Loading @@ -44,3 +44,41 @@ cc_binary { "-DLOG_TAG=\"android.hardware.dumpstate-service.example\"", ], } prebuilt_etc { name: "dumpstate-default.xml", src: "dumpstate-default.xml", sub_dir: "vintf", installable: false, } prebuilt_etc { name: "dumpstate-default.rc", src: ":gen-dumpstate-default.rc-for-apex", installable: false, } genrule { name: "gen-dumpstate-default.rc-for-apex", srcs: ["dumpstate-default.rc"], out: ["dumpstate-default-apex.rc"], cmd: "sed -E 's/\\/vendor\\/bin\\/hw/\\/apex\\/com.android.hardware.dumpstate\\/bin\\/hw/' $(in) > $(out)", } apex { name: "com.android.hardware.dumpstate", vendor: true, manifest: "apex_manifest.json", file_contexts: "apex_file_contexts", key: "com.android.hardware.key", certificate: ":com.android.hardware.certificate", updatable: false, binaries: [ "android.hardware.dumpstate-service.example", ], prebuilts: [ "dumpstate-default.rc", "dumpstate-default.xml", ], }
dumpstate/aidl/default/apex_file_contexts 0 → 100644 +3 −0 Original line number Diff line number Diff line (/.*)? u:object_r:vendor_file:s0 /etc(/.*)? u:object_r:vendor_configs_file:s0 /bin/hw/android\.hardware\.dumpstate-service\.example u:object_r:hal_dumpstate_default_exec:s0 No newline at end of file
dumpstate/aidl/default/apex_manifest.json 0 → 100644 +4 −0 Original line number Diff line number Diff line { "name": "com.android.hardware.dumpstate", "version": 1 } No newline at end of file