Reland^2 "Also build the compile-time tests with _FORTIFY_SOURCE=3."

Bug: http://b/291762537
Change-Id: Ida079459eb53ca8d30c775a01d5ea0cbfbf5c981
diff --git a/tests/Android.bp b/tests/Android.bp
index 72236ab..4509cc4 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -1445,3 +1445,13 @@
         "-D_FORTIFY_SOURCE=2",
     ],
 }
+
+cc_library_static {
+    name: "bionic-compile-time-tests3-clang++",
+    defaults: [
+        "bionic_compile_time_tests_defaults",
+    ],
+    cppflags: [
+        "-D_FORTIFY_SOURCE=3",
+    ],
+}