interfaces: Add Script to generate vendor hal make files

Author: Vinay Verma <vvinay@codeaurora.org>
Date:   Mon Feb 19 07:45:32 2018 +0530

    Add Script to generate vendor hal make files

    Script will generate blueprint files for vendor hals present
    under proprieatry and opensource projects.It will recursively
    search for all hal files and generate accordingly

    Change-Id: Id08c68d0d059a9bbbf0260350e2c3d5bd702d517

Author: Vinay Verma <vvinay@codeaurora.org>
Date:   Wed Mar 14 17:18:23 2018 +0530

    - Do not generate fingerprint bp files - Check for bp files and exit if found.

    Change-Id: Iae998facddd73d4ac24b4366dcd0f3bea119e6b7

Author: Vinay Verma <vvinay@codeaurora.org>
Date:   Tue Apr 17 10:40:33 2018 +0530

    Generate blueprint files for HAL's

    - Add condition to check if .bp exists
    - Generate .bp only if not present in build tree for a HAL.
    - Remove fingerprint hard-coding and checks for not generating
      bp files. It will be taken care by above point.

    Change-Id: I21501c768e732167f44887730e0a1dc38ada4140

Author: David Ng <dave@codeaurora.org>
Date:   Fri May 4 18:53:24 2018 -0700

    Re-run hidl-gen on updated vendor HALs

    Update vendor_hal makefile generation script to always re-run
    for previously compile-time generated Android.bp's - but update
    only if there are differences.

    hidl-gen is skipped in HAL directories where there's an existing
    Android.bp but are not previously compile-time generated.

    Compile-time generated Android.bp's are denoted by an
    .hidl-autogen alongside the Android.bp.

    Change-Id: I79f70d48a72c456649d975b450a4d69bb47e9e93

Author: David Ng <dave@codeaurora.org>
Date:   Fri May 11 19:09:13 2018 -0700

    Sanitize host tools used in vendor HAL hidl-gen wrapper

    Sanitize all host tools used by the vendor HAL hidl-gen wrapper.
    This is an attempt to standardize the host tool behaviors that
    may be impacted by variations in build-time environments.

    Change-Id: I2f6eb5af05a7f2a3f5ea82ee1780a94f305b2b18

Author: Vinay Verma <vvinay@codeaurora.org>
Date:   Sun Jun 24 19:53:06 2018 +0530

    Handle case when .bp generation is failed

    - Return exit command to calling function if .bp generation is
      failed.
    - Do not proceed with other HAL's if error is found.
    - Move creation of .hidl-gen file at earlier stage because failure
      in bp genration results in empty .bp file and script can run in
      wrong case of pre-existing .bp files in next run.

    Change-Id: I0f45326913fa1a4e3b6e289cf56a43b4382a9f7e

Author: Vinay Verma <vvinay@codeaurora.org>
Date:   Tue Jul 17 17:49:01 2018 +0530

    Create .hidl-autogen marker

    If Android.bp is already present then it is moved to .hidl-autogen
    and then back to Android.bp after checking diff. In this case we
    are left with no marker and in next iteration Android.bp is
    treated as committed file and hence not updated.

    Creating .hidl-autogen explicitly.

    Change-Id: I9c02dbba9a86cbdc4551d43a75b47d7d17c1b9d3

Author: Dileep Marchya <dmarchya@codeaurora.org>
Date:   Wed Jun 26 20:42:17 2019 +0530

    hidl-gen: Match exact string in hidl-gen before skipping.

    - Grep leads to a substring match and causes package
      names to get skipped incorrectly. Use -w option to
      find the exact match.

    CRs-Fixed: 2479486
    Change-Id: Ic1fbe72304177d396eab142eaf832b841b61da24

Change-Id: Ic574fbee9ce858ee102235e248a9bf494112848b
1 file changed
tree: cad6d5089b84bcab976f082e28b6bde6bb329627
  1. aidl/
  2. alsa_utils_legacy/
  3. interfaces/
  4. libmtkperf_client/
  5. Android.bp
  6. Android.mk
  7. README.md
README.md

Common hardware components for MediaTek devices