Snap for 7196747 from 7e9f9bcdb79aba7eeb9efc0b2e678f4ba8b071a4 to mainline-tethering-release

Change-Id: I51d693e79d666c077d3b3dba325abbedb32df732
diff --git a/build/Android.bp b/build/Android.bp
index d537196..d2f8cde 100644
--- a/build/Android.bp
+++ b/build/Android.bp
@@ -130,6 +130,9 @@
         "test-piece-1",
     ],
     versions: ["1"],
+    dumpapi: {
+        no_license: true,
+    },
 }
 
 aidl_interface {
diff --git a/build/aidl_interface.go b/build/aidl_interface.go
index 240a0c6..c16b6a1 100644
--- a/build/aidl_interface.go
+++ b/build/aidl_interface.go
@@ -791,6 +791,11 @@
 	cc.VndkProperties
 }
 
+type DumpApiProperties struct {
+	// Dumps without license header (assuming it is the first comment in .aidl file). Default: false
+	No_license *bool
+}
+
 type aidlInterfaceProperties struct {
 	// Vndk properties for C++/NDK libraries only (preferred to use backend-specific settings)
 	cc.VndkProperties
@@ -858,6 +863,9 @@
 	// Marks that this interface does not need to be stable. When set to true, the build system
 	// doesn't create the API dump and require it to be updated. Default is false.
 	Unstable *bool
+
+	// --dumpapi options
+	Dumpapi DumpApiProperties
 }
 
 type aidlInterface struct {