Merge "Change rust 'syn' module default to 1.0.7"
diff --git a/0.15.42/Android.bp b/0.15.42/Android.bp
index ce24426..ac895fa 100644
--- a/0.15.42/Android.bp
+++ b/0.15.42/Android.bp
@@ -1,7 +1,7 @@
// This file is generated by cargo2android.py.
rust_library_host_rlib {
- name: "libsyn",
+ name: "libsyn-0.15.42",
crate_name: "syn",
srcs: ["src/lib.rs"],
edition: "2015",
diff --git a/0.15.42/LICENSE b/0.15.42/LICENSE
new file mode 120000
index 0000000..6b579aa
--- /dev/null
+++ b/0.15.42/LICENSE
@@ -0,0 +1 @@
+LICENSE-APACHE
\ No newline at end of file
diff --git a/0.15.42/METADATA b/0.15.42/METADATA
new file mode 100644
index 0000000..58e68c5
--- /dev/null
+++ b/0.15.42/METADATA
@@ -0,0 +1,17 @@
+name: "syn"
+description:
+ "Syn is a parsing library for parsing a stream of Rust tokens into a syntax "
+ "tree of Rust source code."
+
+third_party {
+ url {
+ type: HOMEPAGE
+ value: "https://crates.io/crates/syn"
+ }
+ url {
+ type: GIT
+ value: "https://github.com/dtolnay/syn"
+ }
+ version: "0.15.42"
+ last_upgrade_date { year: 2019 month: 7 day: 26 }
+}
diff --git a/0.15.42/MODULE_LICENSE_APACHE2 b/0.15.42/MODULE_LICENSE_APACHE2
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/0.15.42/MODULE_LICENSE_APACHE2
diff --git a/0.15.42/NOTICE b/0.15.42/NOTICE
new file mode 120000
index 0000000..7a694c9
--- /dev/null
+++ b/0.15.42/NOTICE
@@ -0,0 +1 @@
+LICENSE
\ No newline at end of file
diff --git a/1.0.7/Android.bp b/1.0.7/Android.bp
index 55198eb..e7bff6d 100644
--- a/1.0.7/Android.bp
+++ b/1.0.7/Android.bp
@@ -1,7 +1,7 @@
// This file is generated by cargo2android.py.
rust_library_host_rlib {
- name: "libsyn-1.0.7",
+ name: "libsyn",
crate_name: "syn",
srcs: ["src/lib.rs"],
edition: "2018",
diff --git a/1.0.7/LICENSE b/1.0.7/LICENSE
new file mode 120000
index 0000000..6b579aa
--- /dev/null
+++ b/1.0.7/LICENSE
@@ -0,0 +1 @@
+LICENSE-APACHE
\ No newline at end of file
diff --git a/1.0.7/METADATA b/1.0.7/METADATA
new file mode 100644
index 0000000..b3cf575
--- /dev/null
+++ b/1.0.7/METADATA
@@ -0,0 +1,17 @@
+name: "syn"
+description:
+ "Syn is a parsing library for parsing a stream of Rust tokens into a syntax "
+ "tree of Rust source code."
+
+third_party {
+ url {
+ type: HOMEPAGE
+ value: "https://crates.io/crates/syn"
+ }
+ url {
+ type: GIT
+ value: "https://github.com/dtolnay/syn"
+ }
+ version: "1.0.7"
+ last_upgrade_date { year: 2020 month: 3 day: 5 }
+}
diff --git a/1.0.7/MODULE_LICENSE_APACHE2 b/1.0.7/MODULE_LICENSE_APACHE2
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/1.0.7/MODULE_LICENSE_APACHE2
diff --git a/1.0.7/NOTICE b/1.0.7/NOTICE
new file mode 120000
index 0000000..7a694c9
--- /dev/null
+++ b/1.0.7/NOTICE
@@ -0,0 +1 @@
+LICENSE
\ No newline at end of file