aidegen: AIDEGen tool failed on import module

1. Change constants.py to constant.py.
2. Update all python files with import aidegen.constants to import
   aidegen.constant.
3. Add constant.py as a source in Android.bp.

Bug: 116535838
Test: cd $android_root;make aidegen;
      aidegen -p $project_path or aidegen -m $module_name

Change-Id: Id7e9e37e801fa6f49f178728f48ab739341cc38a
4 files changed
tree: d17eaec65266c32eee24ec2cee758de5acf02c3f
  1. aidegen/
  2. OWNERS
  3. PREUPLOAD.cfg
  4. pylintrc