mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-22 20:15:32 -04:00
universal7885: Organize tree
This commit is contained in:
parent
3f7b6ce7aa
commit
340f28fe4b
64 changed files with 1 additions and 1 deletions
11
universal7885-common/host-tools/makefile_generator.py
Normal file
11
universal7885-common/host-tools/makefile_generator.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import os
|
||||
blacklist = ["qcom", "nxp","pixel-framework", "lawnchair" ,"support", "overlay","samsung", "gapps", "google", "gms", "codeaurora", "addons", "overlays", "xtras", "themes"]
|
||||
vendors = os.listdir("vendor")
|
||||
for vendor in vendors:
|
||||
common = "vendor/"+vendor+"/config/common.mk"
|
||||
if os.path.isfile(common) and vendor not in blacklist:
|
||||
f = open("device/samsung/universal7885-common/vendor_name", "a")
|
||||
f.write(vendor)
|
||||
f.close()
|
||||
break
|
||||
|
||||
Loading…
Reference in a new issue