Add stubs to libEGL cc_library

(cherry-picked from commit e81415168428b3d110c9ce34323ea241819bcee5)

Bug: 144781653
Bug: 147833914
Test: Builds
Change-Id: I73a8e9bac02cc4c6874c140ff55b328334f5d309
Merged-In: I73a8e9bac02cc4c6874c140ff55b328334f5d309
diff --git a/opengl/libs/Android.bp b/opengl/libs/Android.bp
index eb90c8b..3c741ab 100644
--- a/opengl/libs/Android.bp
+++ b/opengl/libs/Android.bp
@@ -161,6 +161,10 @@
     ],
     ldflags: ["-Wl,--exclude-libs=ALL"],
     export_include_dirs: ["EGL/include"],
+    stubs: {
+        symbol_file: "libEGL.map.txt",
+        versions: ["29"],
+    },
 }
 
 cc_test {