Android.bpコンパイルsystemとvendorパーティションの2つのライブラリを生成
1123 ワード
Android.bpにvendor_を追加AVaiable:tureプロパティ.もちろんvendor:tureプロパティも使用できます.公式解釈は以下の通りである:vendor bool,whether this module is specific to an SoC(System-on-a-Chip).When set to true, it is installed into/vendor (or/system/vendor if vendor partition does not exist). Use
android.bpプロパティ説明公式アドレス
soc_specific
instead for better meaning. vendor_available bool, whether this module should be allowed to be directly depended by other modules with vendor: true
, proprietary: true
, or vendor_available:true
. If set to true, two variants will be built separately, one like normal, and the other limited to the set of libraries and headers that are exposed to/vendor modules. The vendor variant may be used with a different (newer)/system, so it shouldn’t have any unversioned runtime dependencies, or make assumptions about the system that may not be true in the future. If set to false, this module becomes inaccessible from/vendor modules. Default value is true when vndk: {enabled: true} or vendor: true. Nothing happens if BOARD_VNDK_VERSION isn’t set in the BoardConfig.mk android.bpプロパティ説明公式アドレス