summaryrefslogtreecommitdiff
path: root/sdk/cc_sdk_test.go
diff options
context:
space:
mode:
author Chaitanya Cheemala (xWF) <ccheemala@google.com> 2025-02-07 01:37:56 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-02-07 01:37:57 -0800
commit7a57092288dc873c982dac1086ee06aa7ffb49f6 (patch)
treec5bd44db386b2f00d7e97af41999677e65f22e1b /sdk/cc_sdk_test.go
parentde7428141f39fcc4473b4e342458812845e62d58 (diff)
Revert "Move MutateApexTransition shortcut later"
Revert submission 3477737-move_apex_shortcut Reason for revert: Likely culprit for b/394990888 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted. Reverted changes: /q/submissionid:3477737-move_apex_shortcut Change-Id: I67459460e847451d06e733a01249e3dd8017a2e0
Diffstat (limited to 'sdk/cc_sdk_test.go')
-rw-r--r--sdk/cc_sdk_test.go25
1 files changed, 5 insertions, 20 deletions
diff --git a/sdk/cc_sdk_test.go b/sdk/cc_sdk_test.go
index 5bac67da6..939477f61 100644
--- a/sdk/cc_sdk_test.go
+++ b/sdk/cc_sdk_test.go
@@ -805,19 +805,13 @@ func TestSnapshotWithCcSharedLibrary(t *testing.T) {
native_shared_libs: ["mynativelib"],
}
- apex {
- name: "myapex",
- key: "myapex.key",
- min_sdk_version: "1",
- }
-
cc_library_shared {
name: "mynativelib",
srcs: [
"Test.cpp",
"aidl/foo/bar/Test.aidl",
],
- apex_available: ["myapex"],
+ apex_available: ["apex1", "apex2"],
export_include_dirs: ["myinclude"],
aidl: {
export_aidl_headers: true,
@@ -827,18 +821,6 @@ func TestSnapshotWithCcSharedLibrary(t *testing.T) {
`)
CheckSnapshot(t, result, "mysdk", "",
- snapshotTestPreparer(checkSnapshotWithoutSource,
- android.FixtureMergeMockFs(android.MockFS{
- "myapex/Android.bp": []byte(`
- apex {
- name: "myapex",
- key: "myapex.key",
- min_sdk_version: "1",
- }
- `),
- "myapex/apex_manifest.json": nil,
- }),
- ),
checkAndroidBpContents(`
// This is auto-generated. DO NOT EDIT.
@@ -851,7 +833,10 @@ cc_prebuilt_library_shared {
name: "mynativelib",
prefer: false,
visibility: ["//visibility:public"],
- apex_available: ["myapex"],
+ apex_available: [
+ "apex1",
+ "apex2",
+ ],
stl: "none",
compile_multilib: "both",
export_include_dirs: ["include/myinclude"],