Commit Graph

30021 Commits

Author SHA1 Message Date
Treehugger Robot
fd8d202caa Merge "Let cargo2android.py generate data properties for tests." am: d832c85b2e
Original change: https://android-review.googlesource.com/c/platform/development/+/1771789

Change-Id: If002743ffbde27ca5938de61050a64224bb9475a
2021-07-19 21:05:54 +00:00
Treehugger Robot
d832c85b2e Merge "Let cargo2android.py generate data properties for tests." 2021-07-19 20:53:36 +00:00
Treehugger Robot
00a74639a1 Merge "Add VAB, VABC state checker to OTA_analyzer." am: 8cfacd4509
Original change: https://android-review.googlesource.com/c/platform/development/+/1771646

Change-Id: I7cf47869327e2c37f3e7511a74d3bf465113228f
2021-07-19 19:38:03 +00:00
Treehugger Robot
8cfacd4509 Merge "Add VAB, VABC state checker to OTA_analyzer." 2021-07-19 19:22:31 +00:00
Joel Galenson
e4f5388cf3 Let cargo2android.py generate data properties for tests.
Some tests load data from files.  These files thus need to be copied
to the correct location on the host/device so that the tests can
access them.  This adds an option to cargo2android.py so that it can
generate these data properties.

Bug: 171710847
Test: Use for a crate.
Change-Id: I14a1ad8aca4625cc5f09807d19ffd7499fcf3689
2021-07-19 12:18:21 -07:00
Treehugger Robot
5798a15596 Merge "Refactor the OTA configuration page using several components." am: c532190082
Original change: https://android-review.googlesource.com/c/platform/development/+/1770745

Change-Id: I3d28bfbb25b6c1020145a65ee7f5ff15d12ae108
2021-07-19 18:48:36 +00:00
Treehugger Robot
c532190082 Merge "Refactor the OTA configuration page using several components." 2021-07-19 18:31:32 +00:00
lishutong
f506b57791 Add VAB, VABC state checker to OTA_analyzer.
Add BasicInfo.vue to show some basic facts of the ota package,
including:
- is partial or not
- is incremental or not
- is VAB or not
- is VABC or not

Test: Mannual tested.
Change-Id: Ibc3e0a88ea03fc310b401ffe14c5b63d9e0f9452
2021-07-19 17:32:39 +00:00
Treehugger Robot
fe432ba9f7 Merge "cargo2android.py:vendor and vendor_ramdisk flags." am: 52a6dbe9d3
Original change: https://android-review.googlesource.com/c/platform/development/+/1770108

Change-Id: I0a9495f9382a45d1985de8593df68947f212ed4c
2021-07-19 16:41:45 +00:00
Treehugger Robot
52a6dbe9d3 Merge "cargo2android.py:vendor and vendor_ramdisk flags." 2021-07-19 16:23:01 +00:00
lishutong
1ab3abb53a Refactor the OTA configuration page using several components.
The original code for OTA configuration in the frontend is tightly
coupled and hard to maintain. This CL decoupled the job configuration
component (OTAOptions.vue), build library (BuildLibrary.vue) and job
submission (JobSubmission.js).

The BuildLibrary.vue will present the
target build list and take selections. Selections will be sent to
OTAOptions.vue, where flags are set. Once the setting is complete, an
OTAOption object defined by JobSubmission.js will be sent to the
backend. This design can be viewed in go/ota-dashboard-doc : detailed
design - TASK CONFIGURATION.

This has several benefits: (a) easier for
future maintainence. (b) The original code cannot easily be reused for
batch OTA package generation. Now, only the OTAOptions.vue has to be
modified for this purpose.

Test: Mannual tested. Unit tests will be added in following CLs.

Change-Id: I846d0c242cd6ed51478dd4d1a3e4c5fb8878aba1
2021-07-19 16:22:41 +00:00
Ivan Lozano
9192086c9c cargo2android.py:vendor and vendor_ramdisk flags.
Adds flags to emit vendor_available and vendor_ramdisk_available flags
to generated modules.

Bug: 194078853
Test: Calling script with new flags generates intended properties.
Change-Id: I4f7a6870b4f210b6627054c98962f50e98bc3e03
2021-07-19 15:18:11 +00:00
Treehugger Robot
67d67e64be Merge "Add responsive design to the UI." am: 1f1f1f7fed
Original change: https://android-review.googlesource.com/c/platform/development/+/1770425

Change-Id: I1a2f88cbe24417979f00d1e6f41f94f5e83b72ae
2021-07-17 02:24:16 +00:00
Treehugger Robot
1f1f1f7fed Merge "Add responsive design to the UI." 2021-07-17 02:05:27 +00:00
Treehugger Robot
b797b91fca Merge changes If4e8ff72,I53d861fb am: 91496f424d
Original change: https://android-review.googlesource.com/c/platform/development/+/1770026

Change-Id: I094abfbc7f674bff0b146a60b37193b9810040db
2021-07-17 01:09:28 +00:00
Treehugger Robot
91496f424d Merge changes If4e8ff72,I53d861fb
* changes:
  Add data table for build library.
  Fix few UI bugs.
2021-07-17 00:53:37 +00:00
lishutong
be609f5b31 Add responsive design to the UI.
Now the columns width can be adjusted according to the window size.

Test: Mannual tested.
Change-Id: I1e2911b757948ee95f487631bcdceb5ede1fa63e
2021-07-16 19:38:16 +00:00
lishutong
c52791ae38 Add data table for build library.
Currently, users cannot choose build from the datatable directly, but
the datatable will give options to sort the builds uploaded and then
select from the sorted list.

Test: mannual tested.
Change-Id: If4e8ff7210a19170f7a7e6f77f03d21f6a10e6ac
2021-07-16 18:02:14 +00:00
Joel Galenson
f6d0a0664a Merge "When merging tests, prefer non-blocklisted ones." am: 14b71a757b
Original change: https://android-review.googlesource.com/c/platform/development/+/1768885

Change-Id: Ie05d4b9349efb392268c3a346aa4cf1df42612c7
2021-07-16 17:42:36 +00:00
Joel Galenson
14b71a757b Merge "When merging tests, prefer non-blocklisted ones." 2021-07-16 17:27:59 +00:00
Hsin-Yi Chen
43a899b438 Merge "Extend header-abi-dumper/linker --root-dir" am: ece19b2c70
Original change: https://android-review.googlesource.com/c/platform/development/+/1761252

Change-Id: I62671415596fd0ce386650c9390e63959bc94ef9
2021-07-16 10:33:43 +00:00
Hsin-Yi Chen
ece19b2c70 Merge "Extend header-abi-dumper/linker --root-dir" 2021-07-16 10:21:36 +00:00
Jooyung Han
ebe8fd66dd Merge "cargo2android: rename libxml to libxml_rust" am: b9008814e2
Original change: https://android-review.googlesource.com/c/platform/development/+/1768386

Change-Id: Ifac1b09ed1b2dcfed805b01759953a901c585850
2021-07-16 04:02:10 +00:00
Jooyung Han
b9008814e2 Merge "cargo2android: rename libxml to libxml_rust" 2021-07-16 03:53:07 +00:00
Jooyung Han
a427c9b64f cargo2android: rename libxml to libxml_rust
Bug: 193808832
Test: m
Change-Id: Ib3acfdda03197e8b773cbec500cadcc94d1a52a3
2021-07-16 08:53:14 +09:00
Joel Galenson
57fa23a5db When merging tests, prefer non-blocklisted ones.
The test blocklist was failing when multiple tests were merged into
one.  To fix this, when merging tests we prefer ones that are not
blocklisted.

Fixes: 193790055
Test: Run on the previously failing crate and another.
Change-Id: I53d1179bebef824ce80ac4f977015b04a26f8607
2021-07-15 10:53:24 -07:00
lishutong
5ad5ba9167 Fix few UI bugs.
1. The ordering in OTAJobTable was incorrect. Now fixed.
2. The JobDisplay card in JobList wasn't rendered correctly.

Test: Mannual tested.
Change-Id: I53d861fb60a623552487f957b42f4cd7404e654e
2021-07-15 15:56:43 +00:00
Treehugger Robot
f09df797ba Merge "Add data table in OTAGUI." am: dae4cdad62
Original change: https://android-review.googlesource.com/c/platform/development/+/1764566

Change-Id: I42f026a1601d23db62b08eb953607903f016f19e
2021-07-14 20:47:57 +00:00
Treehugger Robot
dae4cdad62 Merge "Add data table in OTAGUI." 2021-07-14 20:25:53 +00:00
lishutong
2ad7328834 Add data table in OTAGUI.
Use data table for build library and task monitoring.

Test: Mannual tested.
Change-Id: Icefd6bd27c98fe6b213ade7239ad4918fa9a9485
2021-07-14 17:41:53 +00:00
Treehugger Robot
4350b1a53f Merge "Add dependency for data table." am: 3f8e997752
Original change: https://android-review.googlesource.com/c/platform/development/+/1764565

Change-Id: I6dd4d6b40567f0719fca93683063e6634c29b1ce
2021-07-14 17:32:36 +00:00
Kelvin Zhang
d0c2bead51 Merge "Use material design for OTAGUI." am: 2793164968
Original change: https://android-review.googlesource.com/c/platform/development/+/1764186

Change-Id: If199f0f6738d15e9f32bcd0bb55c02729d3015da
2021-07-14 17:32:07 +00:00
Treehugger Robot
3f8e997752 Merge "Add dependency for data table." 2021-07-14 17:07:52 +00:00
Kelvin Zhang
2793164968 Merge "Use material design for OTAGUI." 2021-07-14 17:07:31 +00:00
Joel Galenson
294f9a7129 Merge "Rename rust_defaults that contain tests." am: 1353136072
Original change: https://android-review.googlesource.com/c/platform/development/+/1764607

Change-Id: I2b8931a666907343421c0d5ba57098bb49c013b0
2021-07-14 16:27:56 +00:00
Joel Galenson
1353136072 Merge "Rename rust_defaults that contain tests." 2021-07-14 16:14:48 +00:00
Hsin-Yi Chen
94154c1bdf Extend header-abi-dumper/linker --root-dir
This commit extends the format of --root-dir to <path>:<replacement>. If
a source path starts with <path>, the prefix is replaced. The build
system can use this option to have the ABI tools replace non-default
OUT_DIR with "out". This commit also allows more than one --root-dir.
When the tool normalizes a source path, the tool finds the longest
matching root dir.

Test: ./header-checker-unittests
Bug: 192157880
Change-Id: Ie77b4f09304e029aa5c2acc6a000c59400913426
2021-07-14 15:23:53 +08:00
Hsin-Yi Chen
bc87054422 Merge "Rename collect_exported_headers.cpp to source_path_utils.cpp" am: 86372bc2f7
Original change: https://android-review.googlesource.com/c/platform/development/+/1763369

Change-Id: Ie6e0e09e76a68e8b8092615f98b62fdd226b1273
2021-07-14 05:06:23 +00:00
Hsin-Yi Chen
86372bc2f7 Merge "Rename collect_exported_headers.cpp to source_path_utils.cpp" 2021-07-14 04:54:52 +00:00
Treehugger Robot
6c9b0a08fc Merge "Add dependency for vuetify (material design UI)." am: 411c51574a
Original change: https://android-review.googlesource.com/c/platform/development/+/1764185

Change-Id: I2c20074db55276b5612b0f3f8513539739767b20
2021-07-13 18:24:04 +00:00
Treehugger Robot
0f7ac1a146 Merge "Add drag and drop file upload." am: 066f9d3eea
Original change: https://android-review.googlesource.com/c/platform/development/+/1763193

Change-Id: I8765308f62c05a45d1fd74af4cb6543e3a1a8f5a
2021-07-13 18:20:31 +00:00
Treehugger Robot
411c51574a Merge "Add dependency for vuetify (material design UI)." 2021-07-13 18:01:44 +00:00
Treehugger Robot
066f9d3eea Merge "Add drag and drop file upload." 2021-07-13 18:01:13 +00:00
Joel Galenson
5922d6d980 Merge "Let cargo2android ensure some libraries are whole_static_libs." am: 8a91713408
Original change: https://android-review.googlesource.com/c/platform/development/+/1764605

Change-Id: Ib72a02352891a2315dd3a45dd57316007dea0127
2021-07-13 17:18:59 +00:00
Joel Galenson
8a91713408 Merge "Let cargo2android ensure some libraries are whole_static_libs." 2021-07-13 17:08:50 +00:00
Treehugger Robot
ca07502834 Merge "Refactor the frontend using material-desing UI." am: 8a8ed516d1
Original change: https://android-review.googlesource.com/c/platform/development/+/1763227

Change-Id: I26b449329c22e47a94582e2be58489d09a97b74f
2021-07-13 16:46:55 +00:00
Treehugger Robot
8a8ed516d1 Merge "Refactor the frontend using material-desing UI." 2021-07-13 16:35:56 +00:00
Joel Galenson
d37d7e6d2c Rename rust_defaults that contain tests.
This patch ensures that rust_defaults for tests have _tests in the
name.  This can make the Android.bp file a bit more readable.

Test: Run on a crate and build it.
Change-Id: I5d034c456052b892bd01c3c041b2572bc9364692
2021-07-13 09:03:01 -07:00
Joel Galenson
12467e54a7 Let cargo2android ensure some libraries are whole_static_libs.
Test: Use on a crate.
Change-Id: I1d6a3bdb47141d5d20af3c118fd7a05bef223a48
2021-07-13 08:55:17 -07:00
lishutong
0bb19984b5 Add dependency for data table.
Add vue3-table-lite.

No-Typo-Check: auto-generated artifacts

Test: Mannual tested.
Change-Id: Ifc84c61861f88f9eeb8d3e4d6775c93aaa609318
2021-07-13 15:32:46 +00:00