diff options
author | Matt Gilbride <mattgilbride@google.com> | 2024-02-22 13:57:58 +0000 |
---|---|---|
committer | Matt Gilbride <mattgilbride@google.com> | 2024-02-22 16:30:47 +0000 |
commit | 8079f0abd9d8411dbe2dc08f0cb791644ba0e898 (patch) | |
tree | 35b7bcaf475fd486f7d1162c23f37171949bb903 | |
parent | db1c67ccaa0dc16b93299917c297a8b9431f3dff (diff) | |
download | slf4j-8079f0abd9d8411dbe2dc08f0cb791644ba0e898.tar.gz |
Add slf4j-api and slf4j-nop build targets
Bug: 319296495
Test: m slf4j-api, m slf4j-nop
Change-Id: I0268c296b3ffe1f60cf74e9daa7ce448cc461a6d
-rw-r--r-- | Android.bp | 16 | ||||
-rw-r--r-- | slf4j-api/Android.bp | 25 |
2 files changed, 41 insertions, 0 deletions
@@ -78,3 +78,19 @@ java_library { "//packages/modules/OnDevicePersonalization:__subpackages__", ], } + +java_library_host { + name: "slf4j-nop", + srcs: [ + "slf4j-api/src/main/java/**/*.java", + "slf4j-nop/src/main/java/**/*.java", + ], + exclude_srcs: [ + "slf4j-api/src/main/java/org/slf4j/impl/**/*.java", + ], + target: { + windows: { + enabled: true, + }, + }, +} diff --git a/slf4j-api/Android.bp b/slf4j-api/Android.bp new file mode 100644 index 00000000..a47edb0b --- /dev/null +++ b/slf4j-api/Android.bp @@ -0,0 +1,25 @@ +// +// Copyright (C) 2017 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_library_host { + name: "slf4j-api", + srcs: ["src/main/java/**/*.java"], + target: { + windows: { + enabled: true, + }, + }, +} |