• Jiangyi's avatar
    build: Add chromium prebuilt support to envsetup.sh && The core Makefile · 56d96ae8
    Jiangyi authored
    This adds a chromium_prebuilt function to envsetup.sh that is invoked by lunch to check
    whether the chromium prebuilts are up-to-date or not. If not, it will be built from source
    and then the new source built version will be pulled during brunch/mka bacon to become the
    new prebuilts for future builds.
    
    This is all opt-in through the USE_PREBUILT_CHROMIUM flag. Without it being set to 1,
    none of this would be ran, and regular operations will go on.
    
    PS13:
    -use export TARGET_DEVICE
    -replace git -C with params compatible to old git versions
    
    (vendor repository for script)
    
    Change-Id: I40f8c8dbd2a8a84a5c1b9f47ee04180a71ef4e07
    
    Conflicts:
    	core/Makefile
    56d96ae8
envsetup.sh 45.2 KB