This CL also creates a fake ethernet-service.jar to ensure that targets that depend on ethernet-service do not break. Because ethernet-service.jar is on the system server classpath, these classes cannot be in the com.android.server.ethernet package, otherwise ConnectivityServiceInitializer will load them instead of the real classes. Test: m Bug: 210586283 Ignore-AOSP-First: avoid merge conflicts Change-Id: I6a4a0dc68233d4229d1cae4e5b196e287ef2ed5b
25 lines
843 B
Text
25 lines
843 B
Text
// Copyright (C) 2022 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.
|
|
|
|
// TODO: delete once:
|
|
// - The ethernet code has been moved to p/m/C.
|
|
// - All dependencies in the tree are gone.
|
|
java_library {
|
|
name: "ethernet-service",
|
|
installable: true,
|
|
srcs: [
|
|
"src/**/*.java",
|
|
],
|
|
}
|
|
|