From dfcb5c515bd99f224bf26343462919aa8a69d9a0 Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Mon, 29 Apr 2024 16:27:35 -0700 Subject: [PATCH] Remove embedded_launcher: true usages The default value for embedded_launcher has been changed to true. Bug: 174041232 Test: Presubmits Change-Id: I2fb4b920828307e60c0fae6864ba720c7c31e1f2 --- provenance/tools/Android.bp | 5 ----- python/tests/Android.bp | 5 ----- .../Android.bp | 14 ------------- scripts/Android.bp | 20 ------------------- scripts/hiddenapi/Android.bp | 19 ------------------ 5 files changed, 63 deletions(-) diff --git a/provenance/tools/Android.bp b/provenance/tools/Android.bp index 0eddd7636..b42e543de 100644 --- a/provenance/tools/Android.bp +++ b/provenance/tools/Android.bp @@ -23,11 +23,6 @@ python_binary_host { srcs: [ "gen_provenance_metadata.py", ], - version: { - py3: { - embedded_launcher: true, - }, - }, libs: [ "provenance_metadata_proto", "libprotobuf-python", diff --git a/python/tests/Android.bp b/python/tests/Android.bp index e5569ba87..056f7eddd 100644 --- a/python/tests/Android.bp +++ b/python/tests/Android.bp @@ -27,9 +27,4 @@ python_test_host { test_options: { unit_test: false, }, - version: { - py3: { - embedded_launcher: true, - }, - }, } diff --git a/python/tests/dont_import_folder_of_entrypoint/Android.bp b/python/tests/dont_import_folder_of_entrypoint/Android.bp index e54e9b2c0..ab2e314be 100644 --- a/python/tests/dont_import_folder_of_entrypoint/Android.bp +++ b/python/tests/dont_import_folder_of_entrypoint/Android.bp @@ -10,17 +10,3 @@ python_test_host { "mypkg/mymodule.py", ], } - -python_test_host { - name: "py_dont_import_folder_of_entrypoint_test_embedded_launcher", - main: "mypkg/main.py", - srcs: [ - "mypkg/main.py", - "mypkg/mymodule.py", - ], - version: { - py3: { - embedded_launcher: true, - }, - }, -} diff --git a/scripts/Android.bp b/scripts/Android.bp index d039a8171..790fbe0c1 100644 --- a/scripts/Android.bp +++ b/scripts/Android.bp @@ -29,11 +29,6 @@ python_test_host { "manifest_fixer_test.py", "manifest_fixer.py", ], - version: { - py3: { - embedded_launcher: true, - }, - }, libs: [ "manifest_utils", ], @@ -214,11 +209,6 @@ python_binary_host { srcs: [ "conv_linker_config.py", ], - version: { - py3: { - embedded_launcher: true, - }, - }, libs: [ "linker_config_proto", ], @@ -299,20 +289,10 @@ python_binary_host { srcs: [ "merge_directories.py", ], - version: { - py3: { - embedded_launcher: true, - }, - }, } python_binary_host { name: "buildinfo", main: "buildinfo.py", srcs: ["buildinfo.py"], - version: { - py3: { - embedded_launcher: true, - }, - }, } diff --git a/scripts/hiddenapi/Android.bp b/scripts/hiddenapi/Android.bp index 1e89efe93..43edf447c 100644 --- a/scripts/hiddenapi/Android.bp +++ b/scripts/hiddenapi/Android.bp @@ -18,19 +18,9 @@ package { default_applicable_licenses: ["Android-Apache-2.0"], } -python_defaults { - name: "hiddenapi_defaults", - version: { - py3: { - embedded_launcher: true, - }, - }, -} - python_binary_host { name: "analyze_bcpf", main: "analyze_bcpf.py", - defaults: ["hiddenapi_defaults"], srcs: ["analyze_bcpf.py"], // Make sure that the bpmodify tool is built. data: [":bpmodify"], @@ -42,7 +32,6 @@ python_binary_host { python_test_host { name: "analyze_bcpf_test", main: "analyze_bcpf_test.py", - defaults: ["hiddenapi_defaults"], srcs: [ "analyze_bcpf.py", "analyze_bcpf_test.py", @@ -60,21 +49,18 @@ python_test_host { python_binary_host { name: "merge_csv", main: "merge_csv.py", - defaults: ["hiddenapi_defaults"], srcs: ["merge_csv.py"], } python_binary_host { name: "generate_hiddenapi_lists", main: "generate_hiddenapi_lists.py", - defaults: ["hiddenapi_defaults"], srcs: ["generate_hiddenapi_lists.py"], } python_test_host { name: "generate_hiddenapi_lists_test", main: "generate_hiddenapi_lists_test.py", - defaults: ["hiddenapi_defaults"], srcs: [ "generate_hiddenapi_lists.py", "generate_hiddenapi_lists_test.py", @@ -92,7 +78,6 @@ python_library_host { python_test_host { name: "signature_trie_test", main: "signature_trie_test.py", - defaults: ["hiddenapi_defaults"], srcs: ["signature_trie_test.py"], libs: ["signature_trie"], test_options: { @@ -103,7 +88,6 @@ python_test_host { python_binary_host { name: "verify_overlaps", main: "verify_overlaps.py", - defaults: ["hiddenapi_defaults"], srcs: ["verify_overlaps.py"], libs: [ "signature_trie", @@ -113,7 +97,6 @@ python_binary_host { python_test_host { name: "verify_overlaps_test", main: "verify_overlaps_test.py", - defaults: ["hiddenapi_defaults"], srcs: [ "verify_overlaps.py", "verify_overlaps_test.py", @@ -129,14 +112,12 @@ python_test_host { python_binary_host { name: "signature_patterns", main: "signature_patterns.py", - defaults: ["hiddenapi_defaults"], srcs: ["signature_patterns.py"], } python_test_host { name: "signature_patterns_test", main: "signature_patterns_test.py", - defaults: ["hiddenapi_defaults"], srcs: [ "signature_patterns.py", "signature_patterns_test.py",