xref: /aosp_15_r20/tools/treble/build/sandbox/sample_config.xml (revision 105f628577ac4ba0e277a494fbb614ed8c12a994)
1*105f6285SAndroid Build Coastguard Worker<?xml version = "1.0" encoding = "UTF-8" ?>
2*105f6285SAndroid Build Coastguard Worker<!--
3*105f6285SAndroid Build Coastguard WorkerDefines sample build configuration file.
4*105f6285SAndroid Build Coastguard Worker-->
5*105f6285SAndroid Build Coastguard Worker<config>
6*105f6285SAndroid Build Coastguard Worker  <target name="aosp_cf_x86_64_phone_default" android_target="aosp_cf_x86_64_phone"
7*105f6285SAndroid Build Coastguard Worker      allow_readwrite_all="true">
8*105f6285SAndroid Build Coastguard Worker    <!-- Target elements can define elements and attributes that are inherited
9*105f6285SAndroid Build Coastguard Worker         by build_config child elements. -->
10*105f6285SAndroid Build Coastguard Worker    <goal name="droid"/>
11*105f6285SAndroid Build Coastguard Worker    <build_config>
12*105f6285SAndroid Build Coastguard Worker      <!-- build_config name will inherit the name aosp_cf_x86_64_phone_default
13*105f6285SAndroid Build Coastguard Worker           and append dist to the flag list. -->
14*105f6285SAndroid Build Coastguard Worker      <flag name="dist"/>
15*105f6285SAndroid Build Coastguard Worker    </build_config>
16*105f6285SAndroid Build Coastguard Worker    <build_config name="aosp_cf_x86_64_phone_no_dist" tags="skip">
17*105f6285SAndroid Build Coastguard Worker    </build_config>
18*105f6285SAndroid Build Coastguard Worker    <build_config name="aosp_cf_x86_64_phone_ro" allow_readwrite_all="false">
19*105f6285SAndroid Build Coastguard Worker      <!-- This build_config will override allow_readwrite_all attribute. -->
20*105f6285SAndroid Build Coastguard Worker    </build_config>
21*105f6285SAndroid Build Coastguard Worker    <build_config name="aosp_cf_x86_tv" android_target="aosp_cf_x86_tv">
22*105f6285SAndroid Build Coastguard Worker      <!-- This build will use aosp_cf_x86_tv as the lunch target. -->
23*105f6285SAndroid Build Coastguard Worker    </build_config>
24*105f6285SAndroid Build Coastguard Worker  </target>
25*105f6285SAndroid Build Coastguard Worker  <target name="aosp_car_arm64">
26*105f6285SAndroid Build Coastguard Worker    <!-- If android_target isn't provided target will use name as default
27*105f6285SAndroid Build Coastguard Worker         android_target. -->
28*105f6285SAndroid Build Coastguard Worker    <goal name="droid"/>
29*105f6285SAndroid Build Coastguard Worker    <flag name="dist"/>
30*105f6285SAndroid Build Coastguard Worker    <build_config>
31*105f6285SAndroid Build Coastguard Worker      <!-- build_config will inherit the name and android_target:
32*105f6285SAndroid Build Coastguard Worker           aosp_car_arm64. -->
33*105f6285SAndroid Build Coastguard Worker    </build_config>
34*105f6285SAndroid Build Coastguard Worker  </target>
35*105f6285SAndroid Build Coastguard Worker</config>
36