lin
2025-02-25 a02983e50ab34c3e7366b27cdeca427a327faebd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//###############################################################################
// Android optee-client and optee-supplicant makefile                                                #
//###############################################################################
 
// ANDROIDMK TRANSLATION ERROR: unsupported conditional
// ifeq ($(SECURE_OS_OPTEE), yes)
 
//###############################################################################
// Include optee-client common config and flags                                 #
//###############################################################################
// ANDROIDMK TRANSLATION ERROR: unsupported include
// include $(LOCAL_PATH)/config.mk
 
// ANDROIDMK TRANSLATION ERROR: unsupported include
// include $(LOCAL_PATH)/android_flags.mk
 
//###############################################################################
// Build libteec.so - TEE (Trusted Execution Environment) shared library        #
//###############################################################################
cc_library_shared {
    name: "libteec",
    vendor_available:true,
    //vendor: true,
    //proprietary: true,
    cflags: ["-DTEEC_LOG_FILE=\"/data/vendor/tee/teec.log\""] + ["-DDEBUGLEVEL_1"] + ["-DBINARY_PREFIX=\"TEEC\""] + ["-c", "-fPIC",],
    srcs: [
        "libteec/src/tee_client_api.c",
        "libteec/src/teec_trace.c",
    ],
 
    shared_libs: [
        "libcutils",
        "liblog",
        "libutils",
    ],
 
    local_include_dirs: [
        "libteec/include",
    ],
 
 
    export_include_dirs: ["public"],
 
}
 
// TEE Supplicant
// ANDROIDMK TRANSLATION ERROR: unsupported include
// include $(LOCAL_PATH)/tee-supplicant/tee_supplicant_android.mk
 
// ANDROIDMK TRANSLATION ERROR: endif from unsupported conditional
// endif