Exclude test_com.android.tethering from R snapshot

Bug: 218685706
Test: BUILD_NUMBER=fixed packages/modules/common/build/mainline_modules_sdks.sh --build-release=R
      # Run before and after making this change and verify that the
      # only difference is to remove test_com.android.tethering.
      atest --no-bazel-mode --host mainline_modules_sdks_test
Change-Id: Ic24ce4afbe9f84b1afd65dca9cee2154dc436646
This commit is contained in:
Paul Duffin
2022-10-12 13:50:23 +01:00
parent 5fc8511dff
commit 378d990a95
3 changed files with 69 additions and 2 deletions

View File

@@ -0,0 +1,45 @@
// DO NOT EDIT. Auto-generated by the following:
// path/to/mainline_modules_sdks.sh
//
// Copyright (C) 2020 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
java_sdk_library_import {
name: "framework-tethering",
owner: "google",
prefer: true,
shared_library: false,
apex_available: [
"com.android.tethering",
],
public: {
jars: ["public/framework-tethering-stubs.jar"],
current_api: "public/framework-tethering.txt",
removed_api: "public/framework-tethering-removed.txt",
sdk_version: "module_current",
},
system: {
jars: ["system/framework-tethering-stubs.jar"],
current_api: "system/framework-tethering.txt",
removed_api: "system/framework-tethering-removed.txt",
sdk_version: "module_current",
},
module_lib: {
jars: ["module-lib/framework-tethering-stubs.jar"],
current_api: "module-lib/framework-tethering.txt",
removed_api: "module-lib/framework-tethering-removed.txt",
sdk_version: "module_current",
},
}