diff options
| author | 2024-08-22 01:31:41 +0000 | |
|---|---|---|
| committer | 2024-08-22 01:31:41 +0000 | |
| commit | 221ae24e2f471c391312f22ce6edb04debf0f6d8 (patch) | |
| tree | 7f9ff487c6f0d452d3604fefe104f12046baf577 | |
| parent | f8482b9f5c6b00d91b9d4dd029af2805df620147 (diff) | |
| parent | 297153203dab4e139dc893ccc2f482b312169642 (diff) | |
Merge "Add font JSON to the DroidSansMono" into main
| -rw-r--r-- | data/fonts/Android.bp | 8 | ||||
| -rw-r--r-- | data/fonts/font_config.json | 12 |
2 files changed, 20 insertions, 0 deletions
diff --git a/data/fonts/Android.bp b/data/fonts/Android.bp index f1a6b6974b06..1a3a0f60f2dc 100644 --- a/data/fonts/Android.bp +++ b/data/fonts/Android.bp @@ -86,3 +86,11 @@ prebuilt_fonts_xml { // Because `system.img` is a dependency of `fontchain_lint`, it cannot be // converted to Android.bp for now. // After system.img can be generated by Soong, then it can be converted to Android.bp. + +filegroup { + name: "DroidSansMono", + srcs: ["font_config.json"], + required: [ + "DroidSansMono.ttf", + ], +} diff --git a/data/fonts/font_config.json b/data/fonts/font_config.json new file mode 100644 index 000000000000..427e6cfe7307 --- /dev/null +++ b/data/fonts/font_config.json @@ -0,0 +1,12 @@ +[ + { + "name": "monospace", + "fonts": [ + { + "file": "DroidSansMono.ttf", + "weight": "400", + "style": "normal" + } + ] + } +]
\ No newline at end of file |