anchao commented on code in PR #13577:
URL: https://github.com/apache/nuttx/pull/13577#discussion_r1770819298
##########
Android.bp:
##########
@@ -0,0 +1,67 @@
+cc_library_headers {
Review Comment:
This commit only exports some libc functions to the Android side, which
seems to be to solve the compatibility issues of some applications
(bscanf/bsprintf). I agree with the changes in header files, which is pretty
good to optimize header dependency, but please cautious introducing android.bp,
unless you want to compile nuttx/sim into the Android environment.
##########
Android.bp:
##########
@@ -0,0 +1,67 @@
+cc_library_headers {
+ name: "nuttx_libc_headers",
+ generated_headers: [
+ "nuttx_headers_gen",
+ ],
+ export_generated_headers: ["nuttx_headers_gen"],
+ proprietary: true,
+}
+
+cc_defaults {
+ name: "nuttx_libc_defaults",
+ cflags: [
+ "-DCONFIG_DISABLE_MOUNTPOINT",
Review Comment:
Thanks, that makes sense.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]