channel_special_replace.py 352 B

123456789101112131415161718
  1. from print_log import printlog
  2. def HuaweiReplace(prj_path, key, value):
  3. if key == "APP_ID":
  4. printlog('huawei special replace ')
  5. pass
  6. specialReplace = {
  7. "huawei": HuaweiReplace
  8. }
  9. def get_special_replace(sdk_name):
  10. if sdk_name in specialReplace:
  11. return specialReplace[sdk_name]
  12. else:
  13. return None
  14. pass