Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d28c426f authored by Jingwen Chen's avatar Jingwen Chen
Browse files

Build test1_com.android.tzdata and test3_com.android.tzdata with bazel.

..and allowlist //system/timezone/testing/... so that these apexes are mixed builds enabled.

Bug: 273910287
Fixes: 275351675

Test: b build //system/timezone/testing/...
Test: b build //system/timezone/testing/... --config=android
Test: m test1_com.android.tzdata test3_com.android.tzdata
Test: showcommands test1_com.android.tzdata | grep bazel-out
Test: showcommands test3_com.android.tzdata | grep bazel-out
Test: build/bazel/scripts/print_analysis_metrics.py --save-proto-output-file=out/proto-out.txt; rg enabled out/proto.txt
        $ rg enabled out/proto-out.txt
    639:    "mixed_build_enabled_modules": [ "adb_crypto_test", "adb_pairing_auth_test", "adb_pairing_connection_test", "adb_tls_connection_test", "adbd_test", "api_fingerprint", "com.android.adbd", "com.android.tzdata", "libbase", "libc++", "libcrypto", "libcutils", "test1_com.android.tzdata", "test3_com.android.tzdata", "test_com.android.adbd" ],
Change-Id: I2e74426d974d07ca39fccb5003dd4baed9763941
parent 13ca1a92
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -357,6 +357,7 @@ var (
		"system/testing/gtest_extras":                            Bp2BuildDefaultTrueRecursively,
		"system/timezone/apex":                                   Bp2BuildDefaultTrueRecursively,
		"system/timezone/output_data":                            Bp2BuildDefaultTrueRecursively,
		"system/timezone/testing":                                Bp2BuildDefaultTrueRecursively,
		"system/tools/aidl/build/tests_bp2build":                 Bp2BuildDefaultTrue,
		"system/tools/mkbootimg":                                 Bp2BuildDefaultTrueRecursively,
		"system/tools/sysprop":                                   Bp2BuildDefaultTrue,
@@ -1432,6 +1433,7 @@ var (
		// M5: tzdata launch
		"com.android.tzdata",
		"test1_com.android.tzdata",
		"test3_com.android.tzdata",
		// M7: adbd launch
		"com.android.adbd",
		"test_com.android.adbd",