Skip to content

Commit

Permalink
This commit contains a seperate build.BAZEL for the enumfilterutil i…
Browse files Browse the repository at this point in the history
… made
  • Loading branch information
whyash8 committed Nov 5, 2024
1 parent 1062a9e commit 424945d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ MIGRATED_SOURCE_FILES = glob([
"src/main/java/org/oppia/android/app/activity/*.kt",
"src/main/java/org/oppia/android/app/fragment/*.kt",
"src/main/java/org/oppia/android/app/utility/datetime/*.kt",
"src/main/java/org/oppia/android/util/enumfilter/EnumFilterUtil.kt",
]) + [
"src/main/java/org/oppia/android/app/viewmodel/ObservableArrayList.kt",
"src/main/java/org/oppia/android/app/viewmodel/ObservableViewModel.kt",
Expand Down Expand Up @@ -846,7 +847,7 @@ kt_android_library(
"src/sharedTest/java/org/oppia/android/app/utility/ProgressMatcher.kt",
"src/sharedTest/java/org/oppia/android/app/utility/ProtoExtraMatcher.kt",
"src/sharedTest/java/org/oppia/android/app/utility/TabMatcher.kt",
"src/main/java/org/oppia/android/util/enumfilter/EnumFilterUtil.kt",

],
visibility = [
":app_testing_visibility",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ kt_android_library(
"//utility/src/main/java/org/oppia/android/util/logging/performancemetrics:performance_metrics_assessor",
"//utility/src/main/java/org/oppia/android/util/logging/performancemetrics:performance_metrics_event_logger",
"//utility/src/main/java/org/oppia/android/util/networking:network_connection_util",
"//utility/src/main/java/org/oppia/android/util/enumfilter/EnumFilterUtil.kt",
"//utility/src/main/java/org/oppia/android/util/enumfilter:enum_filter_util",


],
)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"""
General purposes utilities for filtering enums.
"""


load("@io_bazel_rules_kotlin//kotlin:android.bzl", "kt_android_library")

kt_android_library(
name = "enum_filter_util",
srcs = [
"EnumFilterUtil.kt",
],
visibility = [
"//:oppia_api_visibility",
],
deps = [

],
)

0 comments on commit 424945d

Please sign in to comment.