“Android AOSP make sequence”的版本间的差异

来自个人维基
跳转至: 导航搜索
第7行: 第7行:
 
TARGET_CPU_VARIANT=generic
 
TARGET_CPU_VARIANT=generic
  
 +
Makefile
 +
+ build/core/main.mk
 +
|---- build/make/core/config.mk
 +
|---- $(SOONG_MAKEVARS_MK)
 +
|---- $(BUILD_SYSTEM)/clang/config.mk
 +
|---- -cts/build/config.mk (- means ignore error)
 +
|---- -test/vts/tools/vts-tradefed/build/config.mk
 +
|---- -tools/tradefederation/build/suites/device-tests/config.mk
 +
|---- -tools/tradefederation/build/suites/general-tests/config.mk
 +
|---- -test/sts/tools/sts-tradefed/build/config.mk
 +
|---- -test/suite_harness/tools/cts-instant-tradefed/build/config.mk
 +
|---- -test/mts/tools/build/config.mk
 +
|---- -vendor/google/build/config.mk (google-specifiec config)
 +
|---- $(BUILD_SYSTEM)/definitions.mk
 +
|---- $(BUILD_SYSTEM)/dex_preopt.mk
 +
|---- build/make/core/pdk_config.mk
 +
|---- $(BUILD_SYSTEM)/pdk_fusion_modules.mk
  
  
 +
build/core/main.mk
 +
《DEFAULT_GOAL》 droid
 +
    |-- droid_target
 
<font color=#000000>
 
<font color=#000000>
 
  + device/generic/car/aosp_car_arm64.mk  
 
  + device/generic/car/aosp_car_arm64.mk  

2019年9月25日 (三) 17:38的版本

Android make sequence, trace aosp_arm64-eng
TARGET_PRODUCT=aosp_arm64
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic

Makefile

+ build/core/main.mk
|---- build/make/core/config.mk
|---- $(SOONG_MAKEVARS_MK)
|---- $(BUILD_SYSTEM)/clang/config.mk
|---- -cts/build/config.mk (- means ignore error)
|---- -test/vts/tools/vts-tradefed/build/config.mk
|---- -tools/tradefederation/build/suites/device-tests/config.mk
|---- -tools/tradefederation/build/suites/general-tests/config.mk
|---- -test/sts/tools/sts-tradefed/build/config.mk
|---- -test/suite_harness/tools/cts-instant-tradefed/build/config.mk
|---- -test/mts/tools/build/config.mk
|---- -vendor/google/build/config.mk (google-specifiec config)
|---- $(BUILD_SYSTEM)/definitions.mk
|---- $(BUILD_SYSTEM)/dex_preopt.mk
|---- build/make/core/pdk_config.mk
|---- $(BUILD_SYSTEM)/pdk_fusion_modules.mk


build/core/main.mk

《DEFAULT_GOAL》 droid
   |-- droid_target

+ device/generic/car/aosp_car_arm64.mk 
|--+ device/generic/car/common/car.mk
   |--<>PRODUCT_COPY_FILES += <Auto modules>
   |--+packages/services/Car/car_product/build/car.mk

      |---<>PRODUCT_PACKAGES += <System UI>
      |---frameworks/base/data/fonts/fonts.mk
      |---+packages/services/Car/car_product/build/car_base.mk

         |----<>PRODUCT_PACKAGES += <Home, BasicDreams>
         |----<>PRODUCT_PACKAGES += <EVS package>
         |----+ $(SRC_TARGET_DIR)/product/core_minimal.mk
              |-----+ $(SRC_TARGET_DIR)/product/media_system.mk
                    |------$(SRC_TARGET_DIR)/product/base_system.mk
                    |------$(SRC_TARGET_DIR)/product/runtime_libart.mk
                    |------$(SRC_TARGET_DIR)/product/media_vendor.mk
                    |------$(SRC_TARGET_DIR)/product/media_product.mk

      |---<>PRODUCT_PACKAGES += <Automotive specific packages>
      |---<>PRODUCT_SYSTEM_SERVER_JARS += car-frameworks-service
      |---<>PRODUCT_COPY_FILES += bootanimation.zip
      |---device/sample/products/location_overlay.mk

   |--+$(SRC_TARGET_DIR)/product/aosp_arm64.mk
      |---+ core_64_bit.mk
          |---- <> init.zygote64_32.rc
      |---mainline_system.mk
      |---aosp_product.mk
      |---device/generic/goldfish/arm64-vendor.mk
      |---$(SRC_TARGET_DIR)/product/emulator_vendor.mk
      |---$(SRC_TARGET_DIR)/board/generic_arm64/device.mk
      |---$(SRC_TARGET_DIR)/product/gsi_release.mk
SRC_TARGET_DIR=build/make/target/product