diff --git a/api/StubLibraries.bp b/api/StubLibraries.bp
index 7c8dd92f96d863d8b7cbf9fb587135b2a3909e68..9a0053f8add6ccc36014febb5bc16eff0199400f 100644
--- a/api/StubLibraries.bp
+++ b/api/StubLibraries.bp
@@ -380,7 +380,7 @@ java_api_library {
         ":non-updatable-current.txt",
     ],
     defaults: ["android-non-updatable_from_text_defaults"],
-    dep_api_srcs: "android_stubs_current.from-text",
+    full_api_surface_stub: "android_stubs_current.from-text",
 }
 
 java_api_library {
@@ -391,7 +391,7 @@ java_api_library {
         ":non-updatable-system-current.txt",
     ],
     defaults: ["android-non-updatable_from_text_defaults"],
-    dep_api_srcs: "android_system_stubs_current.from-text",
+    full_api_surface_stub: "android_system_stubs_current.from-text",
 }
 
 java_api_library {
@@ -403,7 +403,7 @@ java_api_library {
         ":non-updatable-test-current.txt",
     ],
     defaults: ["android-non-updatable_from_text_defaults"],
-    dep_api_srcs: "android_test_stubs_current.from-text",
+    full_api_surface_stub: "android_test_stubs_current.from-text",
 }
 
 java_api_library {
@@ -415,7 +415,7 @@ java_api_library {
         ":non-updatable-module-lib-current.txt",
     ],
     defaults: ["android-non-updatable_from_text_defaults"],
-    dep_api_srcs: "android_module_lib_stubs_current_full.from-text",
+    full_api_surface_stub: "android_module_lib_stubs_current_full.from-text",
 }
 
 java_defaults {