[1 of 1][10277814]nfc development
###%%%comment:[1 of 1]nfc development
###%%%bug number:10277814
###%%%product name:n10
###%%%root cause:Coding
###%%%Bug category:Platform
###%%%regression response:---
###%%%regression comments:
###%%%Module_Impact:nfc
###%%%Test_Suggestion:.
###%%%Solution:.
###%%%Test_Report:need more test
###%%%VAL Can Test:Yes
Change-Id: Ic66611be4ca8e522b5fde5775692f074f47a5c1d
diff --git a/Android.bp b/Android.bp
deleted file mode 100644
index 9679a81..0000000
--- a/Android.bp
+++ /dev/null
@@ -1 +0,0 @@
-subdirs = ["src", "utils"]
diff --git a/SN100x/src/Android.bp b/SN100x/src/Android.bp
deleted file mode 100755
index f93e1e8..0000000
--- a/SN100x/src/Android.bp
+++ /dev/null
@@ -1,76 +0,0 @@
-cc_library_shared {
- arch: {
- arm: {
- instruction_set: "arm",
- },
- },
- name: "libsn100nfc-nci",
- system_ext_specific: true,
- shared_libs: [
- "libcutils",
- "liblog",
- "libdl",
- "libhardware",
- "libz",
- "libchrome",
- "libbase",
- "libstatslog",
-
- // Treble configuration
- "libhidlbase",
- "libutils",
- "android.hardware.nfc@1.0",
- "android.hardware.nfc@1.1",
- "android.hardware.nfc@1.2",
- "vendor.nxp.hardware.nfc@1.0",
- "vendor.nxp.hardware.nfc@1.1",
- "vendor.nxp.hardware.nfc@2.0",
- ],
- static_libs: [
- "libsn100nfcutils",
- ],
- cflags: [
- "-DBUILDCFG=1",
- "-Wall",
- "-Werror",
- "-Wimplicit-fallthrough",
- "-DNXP_EXTNS=TRUE",
- ],
- local_include_dirs: [
- "include",
- "gki/ulinux",
- "gki/common",
- "nfa/include",
- "nfc/include",
- ],
- srcs: [
- "nfa/ce/*.cc",
- "nfa/dm/*.cc",
- "nfa/ee/*.cc",
- "nfa/hci/*.cc",
- "nfa/p2p/*.cc",
- "nfa/rw/*.cc",
- "nfa/scr/*.cc",
- "nfa/sys/*.cc",
- "nfa/t4tnfcee/*.cc",
- "nfc/llcp/*.cc",
- "nfc/nci/*.cc",
- "nfc/ndef/*.cc",
- "nfc/nfc/*.cc",
- "nfc/tags/*.cc",
- "adaptation/*.cc",
- "gki/common/*.cc",
- "gki/ulinux/*.cc",
- ],
- product_variables: {
- debuggable: {
- cflags: [
- "-DDCHECK_ALWAYS_ON"
- ],
- },
- },
- sanitize: {
- cfi: true,
- integer_overflow: true,
- },
-}
diff --git a/SN100x/utils/Android.bp b/SN100x/utils/Android.bp
deleted file mode 100644
index 86103cd..0000000
--- a/SN100x/utils/Android.bp
+++ /dev/null
@@ -1,69 +0,0 @@
-cc_defaults {
- name: "sn100nfc_utils_defaults",
- include_dirs: [
- "system/nfc",
- ],
- cflags: [
- "-Wall",
- "-Werror",
- ],
- target: {
- linux_glibc: {
- cflags: ["-D_GNU_SOURCE"],
- },
- darwin: {
- enabled: false,
- },
- },
-}
-
-cc_library_static {
- name: "libsn100nfcutils",
- defaults: ["sn100nfc_utils_defaults"],
- export_include_dirs: ["include"],
- host_supported: true,
- srcs: [
- "config.cc",
- "ringbuffer.cc",
- ],
- shared_libs: [
- "libbase",
- ],
- sanitize: {
- cfi: true,
- misc_undefined: ["signed-integer-overflow",
- "unsigned-integer-overflow"],
- },
-}
-
-cc_test {
- name: "sn100nfc_test_utils",
- defaults: ["sn100nfc_utils_defaults"],
- test_suites: ["device-tests"],
- host_supported: true,
- srcs: [
- "test/config_test.cc",
- "test/ringbuffer_test.cc",
- ],
- static_libs: [
- "libsn100nfcutils",
- "libgmock",
- ],
- shared_libs: [
- "libbase",
- ],
-}
-
-cc_fuzz {
- name: "sn100nfc_utils_ringbuffer_fuzzer",
- host_supported: true,
- srcs: [
- "test/ringbuffer_fuzzer/ringbuffer_fuzzer.cpp",
- ],
- static_libs: [
- "libsn100nfcutils",
- ],
- corpus: [
- "test/ringbuffer_fuzzer/corpus/*",
- ],
-}
diff --git a/src/Android.bp b/src/Android.bp
deleted file mode 100644
index f8c94e1..0000000
--- a/src/Android.bp
+++ /dev/null
@@ -1,79 +0,0 @@
-cc_library_shared {
- arch: {
- arm: {
- instruction_set: "arm",
- },
- },
- name: "libnqnfc-nci",
- system_ext_specific: true,
- shared_libs: [
- "libcutils",
- "liblog",
- "libdl",
- "libhardware",
- "libchrome",
- "libbase",
- "libz",
- "libstatslog",
-
- // Treble configuration
- "libhidlbase",
- "libutils",
- "android.hardware.nfc@1.0",
- "android.hardware.nfc@1.1",
- "vendor.nxp.hardware.nfc@1.0",
- "vendor.nxp.hardware.nfc@1.1",
- "vendor.nxp.hardware.nfc@2.0",
- "vendor.nxp.nxpnfclegacy@1.0",
- "android.hardware.nfc@1.2",
- ],
- static_libs: [
- "libnqnfcutils",
- ],
- cflags: [
- "-DBUILDCFG=1",
- "-Wall",
- "-Werror",
- "-DNXP_EXTNS=TRUE",
- "-DNFC_NXP_AID_MAX_SIZE_DYN=TRUE",
- "-DNXP_NFCC_HCE_F=TRUE",
- "-DNFC_NXP_LISTEN_ROUTE_TBL_OPTIMIZATION=TRUE",
- "-DANDROID"
- ],
- local_include_dirs: [
- "include",
- "gki/ulinux",
- "gki/common",
- "nfa/include",
- "nfc/include",
- ],
- srcs: [
- "nfa/ce/*.cc",
- "nfa/dm/*.cc",
- "nfa/ee/*.cc",
- "nfa/hci/*.cc",
- "nfa/p2p/*.cc",
- "nfa/rw/*.cc",
- "nfa/scr/*.cc",
- "nfa/sys/*.cc",
- "nfc/llcp/*.cc",
- "nfc/nci/*.cc",
- "nfc/ndef/*.cc",
- "nfc/nfc/*.cc",
- "nfc/tags/*.cc",
- "adaptation/*.cc",
- "gki/common/*.cc",
- "gki/ulinux/*.cc",
- ],
- product_variables: {
- debuggable: {
- cflags: [
- "-DDCHECK_ALWAYS_ON"
- ],
- },
- },
- sanitize: {
- cfi: true,
- integer_overflow: true,
- },
-}
diff --git a/utils/Android.bp b/utils/Android.bp
deleted file mode 100755
index 35d5167..0000000
--- a/utils/Android.bp
+++ /dev/null
@@ -1,69 +0,0 @@
-cc_defaults {
- name: "nqnfc_utils_defaults",
- include_dirs: [
- "system/nfc",
- ],
- cflags: [
- "-Wall",
- "-Werror",
- ],
- target: {
- linux_glibc: {
- cflags: ["-D_GNU_SOURCE"],
- },
- darwin: {
- enabled: false,
- },
- },
-}
-
-cc_library_static {
- name: "libnqnfcutils",
- defaults: ["nqnfc_utils_defaults"],
- export_include_dirs: ["include"],
- host_supported: true,
- srcs: [
- "config.cc",
- "ringbuffer.cc",
- ],
- shared_libs: [
- "libbase",
- ],
- sanitize: {
- cfi: true,
- misc_undefined: ["signed-integer-overflow",
- "unsigned-integer-overflow"],
- },
-}
-
-cc_test {
- name: "nqnfc_test_utils",
- defaults: ["nqnfc_utils_defaults"],
- test_suites: ["device-tests"],
- host_supported: true,
- srcs: [
- "test/config_test.cc",
- "test/ringbuffer_test.cc",
- ],
- static_libs: [
- "libnqnfcutils",
- "libgmock",
- ],
- shared_libs: [
- "libbase",
- ],
-}
-
-cc_fuzz {
- name: "nqnfc_utils_ringbuffer_fuzzer",
- host_supported: true,
- srcs: [
- "test/ringbuffer_fuzzer/ringbuffer_fuzzer.cpp",
- ],
- static_libs: [
- "libnqnfcutils",
- ],
- corpus: [
- "test/ringbuffer_fuzzer/corpus/*",
- ],
-}