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

Commit 421de905 authored by Tri Vo's avatar Tri Vo
Browse files

trusty: Add libtrusty_test

Used by tests on the system side of the Treble boundary, e.g. fuzzing

Test: m libtrusty libtrusty_test
Change-Id: I56a15c80eb7c4b9e51f8e59a7cd1abdfc35d8d5a
parent dfaede06
Loading
Loading
Loading
Loading
+15 −4
Original line number Original line Diff line number Diff line
@@ -12,10 +12,8 @@
// See the License for the specific language governing permissions and
// See the License for the specific language governing permissions and
// limitations under the License.
// limitations under the License.


cc_library {
cc_defaults {
    name: "libtrusty",
    name: "libtrusty_defaults",
    vendor: true,

    srcs: ["trusty.c"],
    srcs: ["trusty.c"],
    export_include_dirs: ["include"],
    export_include_dirs: ["include"],
    cflags: [
    cflags: [
@@ -25,3 +23,16 @@ cc_library {


    shared_libs: ["liblog"],
    shared_libs: ["liblog"],
}
}

cc_library {
    name: "libtrusty",
    vendor: true,
    defaults: ["libtrusty_defaults"],
}

// TODO(b/170753563): cc_fuzz can't deal with vendor components. Build libtrusty
// for system.
cc_test_library {
    name: "libtrusty_test",
    defaults: ["libtrusty_defaults"],
}