aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp16
-rw-r--r--slf4j-api/Android.bp25
2 files changed, 41 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 8b05e6e7..2c7e6fc2 100644
--- a/Android.bp
+++ b/Android.bp
@@ -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,
+ },
+ },
+}