diff options
| author | 2020-07-17 11:46:12 +0000 | |
|---|---|---|
| committer | 2020-07-17 11:46:12 +0000 | |
| commit | 304439432919c5b14f32d8ae23b23ea8cb9a6589 (patch) | |
| tree | 5cea5357feda4e89fd8fd917c58a63b58ee854e7 /sdk/cc_sdk_test.go | |
| parent | 59b611d138531562590be4210880e4d95e9b4b90 (diff) | |
| parent | 7feceb2354bdbc12ea15a2ef105b4a9fa4726620 (diff) | |
Merge "Add support for SDK tests with LinuxBionic OS type."
Diffstat (limited to 'sdk/cc_sdk_test.go')
| -rw-r--r-- | sdk/cc_sdk_test.go | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sdk/cc_sdk_test.go b/sdk/cc_sdk_test.go index 2dd23c737..935d348ae 100644 --- a/sdk/cc_sdk_test.go +++ b/sdk/cc_sdk_test.go @@ -21,20 +21,20 @@ import ( "android/soong/cc" ) +var ccTestFs = map[string][]byte{ + "Test.cpp": nil, + "include/Test.h": nil, + "include-android/AndroidTest.h": nil, + "include-host/HostTest.h": nil, + "arm64/include/Arm64Test.h": nil, + "libfoo.so": nil, + "aidl/foo/bar/Test.aidl": nil, + "some/where/stubslib.map.txt": nil, +} + func testSdkWithCc(t *testing.T, bp string) *testSdkResult { t.Helper() - - fs := map[string][]byte{ - "Test.cpp": nil, - "include/Test.h": nil, - "include-android/AndroidTest.h": nil, - "include-host/HostTest.h": nil, - "arm64/include/Arm64Test.h": nil, - "libfoo.so": nil, - "aidl/foo/bar/Test.aidl": nil, - "some/where/stubslib.map.txt": nil, - } - return testSdkWithFs(t, bp, fs) + return testSdkWithFs(t, bp, ccTestFs) } // Contains tests for SDK members provided by the cc package. |