summaryrefslogtreecommitdiff
path: root/bundle2installable/example
diff options
context:
space:
mode:
authorkuantung <kuantung@google.com>2017-07-31 10:16:44 -0700
committerTom Dobek <tdobek@google.com>2017-08-02 15:31:47 +0100
commit5e25b96772b38f70dda4fab22f671933c9238737 (patch)
tree8287e9f1597057808fe61164a159c18fb68c3ed6 /bundle2installable/example
downloadappbundle-5e25b96772b38f70dda4fab22f671933c9238737.tar.gz
Initial, fledgling implementation of bundle2installable tool.
Test: e2e.sh Change-Id: I30c032ffca0908bf5d81869d563308ed0ff30aab
Diffstat (limited to 'bundle2installable/example')
-rw-r--r--bundle2installable/example/bundle/bundle.zipbin0 -> 8752 bytes
-rw-r--r--bundle2installable/example/bundle/module1/assets/some_file.txt1
-rw-r--r--bundle2installable/example/bundle/module1/format.textpb4
-rw-r--r--bundle2installable/example/bundle/module1/res/drawable/hdpi/res1.jpg1
-rw-r--r--bundle2installable/example/bundle/module1/res/drawable/mdpi/res1.jpg1
-rw-r--r--bundle2installable/example/bundle/module1/res/drawable/mdpi/res2.jpg1
-rw-r--r--bundle2installable/example/bundle/module2/format.textpb4
-rw-r--r--bundle2installable/example/bundle/module2/native/arm64-v8/alibrary.so1
-rw-r--r--bundle2installable/example/bundle/module2/native/x86/alibrary.so1
-rw-r--r--bundle2installable/example/bundle/module2/res/drawable/hdpi/a.jpg1
-rw-r--r--bundle2installable/example/bundle/module2/res/drawable/mdpi/a.jpg1
-rw-r--r--bundle2installable/example/bundle/module2/res/drawable/xhdpi/a.jpg1
-rw-r--r--bundle2installable/example/bundle/module3/assets/gl1/textures.etc11
-rw-r--r--bundle2installable/example/bundle/module3/assets/gl2/textures.etc11
-rw-r--r--bundle2installable/example/bundle/module3/assets/gl3/textures.etc11
-rw-r--r--bundle2installable/example/bundle/module3/format.textpb4
-rw-r--r--bundle2installable/example/bundle/module3/native/arm64-v8/lib1.so1
-rw-r--r--bundle2installable/example/bundle/module3/native/x86/lib1.so1
-rw-r--r--bundle2installable/example/bundle/module3/res/drawable/hdpi/a.jpg1
-rw-r--r--bundle2installable/example/bundle/module3/res/drawable/mdpi/a.jpg1
-rw-r--r--bundle2installable/example/module/assets/gl1/textures.etc11
-rw-r--r--bundle2installable/example/module/assets/gl2/textures.etc11
-rw-r--r--bundle2installable/example/module/assets/gl3/textures.etc11
-rw-r--r--bundle2installable/example/module/assets/textures.etc11
-rw-r--r--bundle2installable/example/module/format.textpb4
-rw-r--r--bundle2installable/example/module/module.zipbin0 -> 3164 bytes
-rw-r--r--bundle2installable/example/module/native/arm64-v8/library.so1
-rw-r--r--bundle2installable/example/module/native/x86/library.so1
-rw-r--r--bundle2installable/example/module/res/drawable-hdpi/picture.png1
-rw-r--r--bundle2installable/example/module/res/drawable-mdpi/picture.png1
-rw-r--r--bundle2installable/example/module/res/drawable/picture.png1
31 files changed, 41 insertions, 0 deletions
diff --git a/bundle2installable/example/bundle/bundle.zip b/bundle2installable/example/bundle/bundle.zip
new file mode 100644
index 0000000..21cb2f2
--- /dev/null
+++ b/bundle2installable/example/bundle/bundle.zip
Binary files differ
diff --git a/bundle2installable/example/bundle/module1/assets/some_file.txt b/bundle2installable/example/bundle/module1/assets/some_file.txt
new file mode 100644
index 0000000..a984be3
--- /dev/null
+++ b/bundle2installable/example/bundle/module1/assets/some_file.txt
@@ -0,0 +1 @@
+Some asset.
diff --git a/bundle2installable/example/bundle/module1/format.textpb b/bundle2installable/example/bundle/module1/format.textpb
new file mode 100644
index 0000000..7b0ecc5
--- /dev/null
+++ b/bundle2installable/example/bundle/module1/format.textpb
@@ -0,0 +1,4 @@
+packages {
+ package_id: 128
+ package_name: "mainPackage"
+}
diff --git a/bundle2installable/example/bundle/module1/res/drawable/hdpi/res1.jpg b/bundle2installable/example/bundle/module1/res/drawable/hdpi/res1.jpg
new file mode 100644
index 0000000..769a602
--- /dev/null
+++ b/bundle2installable/example/bundle/module1/res/drawable/hdpi/res1.jpg
@@ -0,0 +1 @@
+hdpi jpeg
diff --git a/bundle2installable/example/bundle/module1/res/drawable/mdpi/res1.jpg b/bundle2installable/example/bundle/module1/res/drawable/mdpi/res1.jpg
new file mode 100644
index 0000000..ffa7a30
--- /dev/null
+++ b/bundle2installable/example/bundle/module1/res/drawable/mdpi/res1.jpg
@@ -0,0 +1 @@
+Mpdi jpeg
diff --git a/bundle2installable/example/bundle/module1/res/drawable/mdpi/res2.jpg b/bundle2installable/example/bundle/module1/res/drawable/mdpi/res2.jpg
new file mode 100644
index 0000000..9f4d332
--- /dev/null
+++ b/bundle2installable/example/bundle/module1/res/drawable/mdpi/res2.jpg
@@ -0,0 +1 @@
+mdpi res2
diff --git a/bundle2installable/example/bundle/module2/format.textpb b/bundle2installable/example/bundle/module2/format.textpb
new file mode 100644
index 0000000..7b0ecc5
--- /dev/null
+++ b/bundle2installable/example/bundle/module2/format.textpb
@@ -0,0 +1,4 @@
+packages {
+ package_id: 128
+ package_name: "mainPackage"
+}
diff --git a/bundle2installable/example/bundle/module2/native/arm64-v8/alibrary.so b/bundle2installable/example/bundle/module2/native/arm64-v8/alibrary.so
new file mode 100644
index 0000000..3391b8b
--- /dev/null
+++ b/bundle2installable/example/bundle/module2/native/arm64-v8/alibrary.so
@@ -0,0 +1 @@
+arm64-v8 library
diff --git a/bundle2installable/example/bundle/module2/native/x86/alibrary.so b/bundle2installable/example/bundle/module2/native/x86/alibrary.so
new file mode 100644
index 0000000..d758c3d
--- /dev/null
+++ b/bundle2installable/example/bundle/module2/native/x86/alibrary.so
@@ -0,0 +1 @@
+x86 library
diff --git a/bundle2installable/example/bundle/module2/res/drawable/hdpi/a.jpg b/bundle2installable/example/bundle/module2/res/drawable/hdpi/a.jpg
new file mode 100644
index 0000000..1d83daf
--- /dev/null
+++ b/bundle2installable/example/bundle/module2/res/drawable/hdpi/a.jpg
@@ -0,0 +1 @@
+hdpi a.jpg
diff --git a/bundle2installable/example/bundle/module2/res/drawable/mdpi/a.jpg b/bundle2installable/example/bundle/module2/res/drawable/mdpi/a.jpg
new file mode 100644
index 0000000..94213bf
--- /dev/null
+++ b/bundle2installable/example/bundle/module2/res/drawable/mdpi/a.jpg
@@ -0,0 +1 @@
+mdpi a.jpg
diff --git a/bundle2installable/example/bundle/module2/res/drawable/xhdpi/a.jpg b/bundle2installable/example/bundle/module2/res/drawable/xhdpi/a.jpg
new file mode 100644
index 0000000..40fb343
--- /dev/null
+++ b/bundle2installable/example/bundle/module2/res/drawable/xhdpi/a.jpg
@@ -0,0 +1 @@
+xhdpi a.jpg
diff --git a/bundle2installable/example/bundle/module3/assets/gl1/textures.etc1 b/bundle2installable/example/bundle/module3/assets/gl1/textures.etc1
new file mode 100644
index 0000000..2849ff7
--- /dev/null
+++ b/bundle2installable/example/bundle/module3/assets/gl1/textures.etc1
@@ -0,0 +1 @@
+textures for gl1
diff --git a/bundle2installable/example/bundle/module3/assets/gl2/textures.etc1 b/bundle2installable/example/bundle/module3/assets/gl2/textures.etc1
new file mode 100644
index 0000000..2c853ce
--- /dev/null
+++ b/bundle2installable/example/bundle/module3/assets/gl2/textures.etc1
@@ -0,0 +1 @@
+textures for gl2
diff --git a/bundle2installable/example/bundle/module3/assets/gl3/textures.etc1 b/bundle2installable/example/bundle/module3/assets/gl3/textures.etc1
new file mode 100644
index 0000000..cf30c2c
--- /dev/null
+++ b/bundle2installable/example/bundle/module3/assets/gl3/textures.etc1
@@ -0,0 +1 @@
+textures for gl3
diff --git a/bundle2installable/example/bundle/module3/format.textpb b/bundle2installable/example/bundle/module3/format.textpb
new file mode 100644
index 0000000..7b0ecc5
--- /dev/null
+++ b/bundle2installable/example/bundle/module3/format.textpb
@@ -0,0 +1,4 @@
+packages {
+ package_id: 128
+ package_name: "mainPackage"
+}
diff --git a/bundle2installable/example/bundle/module3/native/arm64-v8/lib1.so b/bundle2installable/example/bundle/module3/native/arm64-v8/lib1.so
new file mode 100644
index 0000000..826009f
--- /dev/null
+++ b/bundle2installable/example/bundle/module3/native/arm64-v8/lib1.so
@@ -0,0 +1 @@
+module3 arm64-v8 lib1.so
diff --git a/bundle2installable/example/bundle/module3/native/x86/lib1.so b/bundle2installable/example/bundle/module3/native/x86/lib1.so
new file mode 100644
index 0000000..90e549c
--- /dev/null
+++ b/bundle2installable/example/bundle/module3/native/x86/lib1.so
@@ -0,0 +1 @@
+module3 lib1.so x86
diff --git a/bundle2installable/example/bundle/module3/res/drawable/hdpi/a.jpg b/bundle2installable/example/bundle/module3/res/drawable/hdpi/a.jpg
new file mode 100644
index 0000000..2a2f661
--- /dev/null
+++ b/bundle2installable/example/bundle/module3/res/drawable/hdpi/a.jpg
@@ -0,0 +1 @@
+module3 hdpi a.jpg
diff --git a/bundle2installable/example/bundle/module3/res/drawable/mdpi/a.jpg b/bundle2installable/example/bundle/module3/res/drawable/mdpi/a.jpg
new file mode 100644
index 0000000..2b04ec0
--- /dev/null
+++ b/bundle2installable/example/bundle/module3/res/drawable/mdpi/a.jpg
@@ -0,0 +1 @@
+module3 mdpi a.jpg
diff --git a/bundle2installable/example/module/assets/gl1/textures.etc1 b/bundle2installable/example/module/assets/gl1/textures.etc1
new file mode 100644
index 0000000..4fa3fae
--- /dev/null
+++ b/bundle2installable/example/module/assets/gl1/textures.etc1
@@ -0,0 +1 @@
+gl1-textures
diff --git a/bundle2installable/example/module/assets/gl2/textures.etc1 b/bundle2installable/example/module/assets/gl2/textures.etc1
new file mode 100644
index 0000000..7bd0987
--- /dev/null
+++ b/bundle2installable/example/module/assets/gl2/textures.etc1
@@ -0,0 +1 @@
+gl2-textures
diff --git a/bundle2installable/example/module/assets/gl3/textures.etc1 b/bundle2installable/example/module/assets/gl3/textures.etc1
new file mode 100644
index 0000000..d88e8a7
--- /dev/null
+++ b/bundle2installable/example/module/assets/gl3/textures.etc1
@@ -0,0 +1 @@
+gl3-textures
diff --git a/bundle2installable/example/module/assets/textures.etc1 b/bundle2installable/example/module/assets/textures.etc1
new file mode 100644
index 0000000..3b6f771
--- /dev/null
+++ b/bundle2installable/example/module/assets/textures.etc1
@@ -0,0 +1 @@
+no-variant-textures
diff --git a/bundle2installable/example/module/format.textpb b/bundle2installable/example/module/format.textpb
new file mode 100644
index 0000000..7b0ecc5
--- /dev/null
+++ b/bundle2installable/example/module/format.textpb
@@ -0,0 +1,4 @@
+packages {
+ package_id: 128
+ package_name: "mainPackage"
+}
diff --git a/bundle2installable/example/module/module.zip b/bundle2installable/example/module/module.zip
new file mode 100644
index 0000000..7b00859
--- /dev/null
+++ b/bundle2installable/example/module/module.zip
Binary files differ
diff --git a/bundle2installable/example/module/native/arm64-v8/library.so b/bundle2installable/example/module/native/arm64-v8/library.so
new file mode 100644
index 0000000..3391b8b
--- /dev/null
+++ b/bundle2installable/example/module/native/arm64-v8/library.so
@@ -0,0 +1 @@
+arm64-v8 library
diff --git a/bundle2installable/example/module/native/x86/library.so b/bundle2installable/example/module/native/x86/library.so
new file mode 100644
index 0000000..ffc9498
--- /dev/null
+++ b/bundle2installable/example/module/native/x86/library.so
@@ -0,0 +1 @@
+x86-library
diff --git a/bundle2installable/example/module/res/drawable-hdpi/picture.png b/bundle2installable/example/module/res/drawable-hdpi/picture.png
new file mode 100644
index 0000000..520659f
--- /dev/null
+++ b/bundle2installable/example/module/res/drawable-hdpi/picture.png
@@ -0,0 +1 @@
+hdpi
diff --git a/bundle2installable/example/module/res/drawable-mdpi/picture.png b/bundle2installable/example/module/res/drawable-mdpi/picture.png
new file mode 100644
index 0000000..d3e3b70
--- /dev/null
+++ b/bundle2installable/example/module/res/drawable-mdpi/picture.png
@@ -0,0 +1 @@
+mdpi
diff --git a/bundle2installable/example/module/res/drawable/picture.png b/bundle2installable/example/module/res/drawable/picture.png
new file mode 100644
index 0000000..55cb19a
--- /dev/null
+++ b/bundle2installable/example/module/res/drawable/picture.png
@@ -0,0 +1 @@
+fallback