summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago Seifert <aquilescanta@google.com>2022-03-23 10:22:18 +0000
committerSantiago Seifert <aquilescanta@google.com>2022-03-24 14:31:14 +0000
commit387b06d84331d1fe5b9eca377e278ca5de82de5c (patch)
tree3298af0593f804bbb13c98a011f6b3a74115ec52
parent06a9c2f07fcf04bffecc705089e288e2fe19a3ea (diff)
downloadexoplayer-387b06d84331d1fe5b9eca377e278ca5de82de5c.tar.gz
Move stubs to the bottom of Android.bp
Being an internal target, it eases readability if it's not in between public targets. This CL also allows dependency from platform code, but that's just for testing convenience. `m target` does not work if the apex_availability doesn't include platform. This change eases the review of incoming changes. Bug: 223572414 Test: N/A. Just moving one target within the file. Change-Id: Ic2dd920de21ced2b8871ff65235aa8eedb2307e5 Merged-In: Ic2dd920de21ced2b8871ff65235aa8eedb2307e5
-rw-r--r--Android.bp31
1 files changed, 16 insertions, 15 deletions
diff --git a/Android.bp b/Android.bp
index b83c699a..a6bb1997 100644
--- a/Android.bp
+++ b/Android.bp
@@ -90,21 +90,6 @@ java_library {
notice: "LICENSE",
}
-// Compile dummy implementations of annotations used by exoplayer but not
-// present in the Android tree.
-java_library {
- name: "exoplayer2-annotation-stubs",
- host_supported: true,
- sdk_version: "core_current",
- apex_available: [
- "//apex_available:anyapex",
- ],
- min_sdk_version: "16",
- srcs: ["annotation-stubs/src/**/*.java"],
- static_libs: ["jsr305"],
- visibility: ["//visibility:private"],
-}
-
// Exposes util classes for testing MediaParser.
android_library {
name: "exoplayer2-extractor-test-utils",
@@ -163,3 +148,19 @@ android_library {
"-0 .webm",
],
}
+
+// Compile dummy implementations of annotations used by exoplayer but not
+// present in the Android tree.
+java_library {
+ name: "exoplayer2-annotation-stubs",
+ host_supported: true,
+ sdk_version: "core_current",
+ apex_available: [
+ "//apex_available:anyapex",
+ "//apex_available:platform",
+ ],
+ min_sdk_version: "16",
+ srcs: ["annotation-stubs/src/**/*.java"],
+ static_libs: ["jsr305"],
+ visibility: ["//visibility:private"],
+}