commands: { copy_before: { from: "build/soong/scripts/jar-wrapper.sh" to: "tools/out/bin/systemfeatures-gen-tool" executable: true } copy_before: { from: "out_adevtool_deps/soong/.intermediates/frameworks/base/tools/systemfeatures/systemfeatures-gen-tool/linux_glibc_common/combined/systemfeatures-gen-tool.jar" to: "tools/out/framework/systemfeatures-gen-tool.jar" executable: false } copy_before: { from: "frameworks/base/tools/systemfeatures/tests/data/features-1.xml" to: "frameworks/base/tools/systemfeatures/tests/data/features-1.xml" } copy_before: { from: "frameworks/base/tools/systemfeatures/tests/data/features-2.xml" to: "frameworks/base/tools/systemfeatures/tests/data/features-2.xml" } chdir: true command: "__SBOX_SANDBOX_DIR__/tools/out/bin/systemfeatures-gen-tool com.android.systemfeatures.RwNoFeatures --readonly=false > __SBOX_SANDBOX_DIR__/out/RwNoFeatures.java && __SBOX_SANDBOX_DIR__/tools/out/bin/systemfeatures-gen-tool com.android.systemfeatures.RoNoFeatures --readonly=true --feature-apis=WATCH > __SBOX_SANDBOX_DIR__/out/RoNoFeatures.java && __SBOX_SANDBOX_DIR__/tools/out/bin/systemfeatures-gen-tool com.android.systemfeatures.RwFeatures --readonly=false --feature=WATCH:1 --feature=WIFI:0 --feature=VULKAN:UNAVAILABLE --feature=AUTO: > __SBOX_SANDBOX_DIR__/out/RwFeatures.java && __SBOX_SANDBOX_DIR__/tools/out/bin/systemfeatures-gen-tool com.android.systemfeatures.RoFeatures --readonly=true --feature=WATCH:1 --feature=WIFI:0 --feature=VULKAN:UNAVAILABLE --feature=AUTO: --feature-apis=WATCH,PC > __SBOX_SANDBOX_DIR__/out/RoFeatures.java && __SBOX_SANDBOX_DIR__/tools/out/bin/systemfeatures-gen-tool com.android.systemfeatures.RwFeaturesFromXml --readonly=false --feature-xml-files=frameworks/base/tools/systemfeatures/tests/data/features-1.xml,frameworks/base/tools/systemfeatures/tests/data/features-2.xml > __SBOX_SANDBOX_DIR__/out/RwFeaturesFromXml.java && __SBOX_SANDBOX_DIR__/tools/out/bin/systemfeatures-gen-tool com.android.systemfeatures.RoFeaturesFromXml --readonly=true --feature-xml-files=frameworks/base/tools/systemfeatures/tests/data/features-1.xml,frameworks/base/tools/systemfeatures/tests/data/features-2.xml > __SBOX_SANDBOX_DIR__/out/RoFeaturesFromXml.java && __SBOX_SANDBOX_DIR__/tools/out/bin/systemfeatures-gen-tool com.android.systemfeatures.RoUnavailableFeaturesFromXml --readonly=true --unavailable-feature-xml-files=frameworks/base/tools/systemfeatures/tests/data/features-1.xml,frameworks/base/tools/systemfeatures/tests/data/features-2.xml > __SBOX_SANDBOX_DIR__/out/RoUnavailableFeaturesFromXml.java" copy_after: { from: "out/RoFeatures.java" to: "out_adevtool_deps/soong/.intermediates/frameworks/base/tools/systemfeatures/systemfeatures-gen-tests-srcs/gen/RoFeatures.java" } copy_after: { from: "out/RoFeaturesFromXml.java" to: "out_adevtool_deps/soong/.intermediates/frameworks/base/tools/systemfeatures/systemfeatures-gen-tests-srcs/gen/RoFeaturesFromXml.java" } copy_after: { from: "out/RoNoFeatures.java" to: "out_adevtool_deps/soong/.intermediates/frameworks/base/tools/systemfeatures/systemfeatures-gen-tests-srcs/gen/RoNoFeatures.java" } copy_after: { from: "out/RoUnavailableFeaturesFromXml.java" to: "out_adevtool_deps/soong/.intermediates/frameworks/base/tools/systemfeatures/systemfeatures-gen-tests-srcs/gen/RoUnavailableFeaturesFromXml.java" } copy_after: { from: "out/RwFeatures.java" to: "out_adevtool_deps/soong/.intermediates/frameworks/base/tools/systemfeatures/systemfeatures-gen-tests-srcs/gen/RwFeatures.java" } copy_after: { from: "out/RwFeaturesFromXml.java" to: "out_adevtool_deps/soong/.intermediates/frameworks/base/tools/systemfeatures/systemfeatures-gen-tests-srcs/gen/RwFeaturesFromXml.java" } copy_after: { from: "out/RwNoFeatures.java" to: "out_adevtool_deps/soong/.intermediates/frameworks/base/tools/systemfeatures/systemfeatures-gen-tests-srcs/gen/RwNoFeatures.java" } input_hash: "33de84435e8a66d68516539e5831186544f8f762ffe008cb87d378c57eb3513e" env: { name: "PATH" inherit: true } env: { name: "JAVA_HOME" inherit: true } env: { name: "TMPDIR" inherit: true } env: { name: "RBE_log_dir" inherit: true } env: { name: "RBE_platform" inherit: true } env: { name: "RBE_server_address" inherit: true } env: { name: "RBE_exec_root" inherit: true } env: { name: "OUT_DIR" value: "out" } dont_inherit_env: true }