Skip to content

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 704147693
  • Loading branch information
DeviceInfra authored and copybara-github committed Dec 10, 2024
1 parent 34ecc91 commit 7128cff
Showing 1 changed file with 49 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,24 +40,50 @@ java_library(

java_library(
name = "schedule_unit",
srcs = [
"JobScheduleUnit.java",
"JobSetting.java",
"TestScheduleUnit.java",
deprecation = "This target has been split. Depend on the sub-targets instead.",
exports = [
":job_schedule_unit",
":job_setting",
":test_schedule_unit",
],
)

java_library(
name = "job_schedule_unit",
srcs = ["JobScheduleUnit.java"],
deps = [
":job_setting",
":locator",
"//src/devtools/mobileharness/api/model/proto:job_java_proto",
"//src/java/com/google/devtools/mobileharness/shared/util/logging:google_logger",
"//src/java/com/google/wireless/qa/mobileharness/shared/model/job/in",
"//src/java/com/google/wireless/qa/mobileharness/shared/model/job/out:timing",
"//src/java/com/google/wireless/qa/mobileharness/shared/proto:job_java_proto",
"@maven//:com_google_guava_guava",
],
)

java_library(
name = "job_setting",
srcs = ["JobSetting.java"],
deps = [
"//src/devtools/mobileharness/api/model/proto:job_java_proto",
"//src/devtools/mobileharness/service/moss/proto:slg_java_proto",
"//src/java/com/google/devtools/mobileharness/api/model/error",
"//src/java/com/google/devtools/mobileharness/api/model/job/in",
"//src/java/com/google/devtools/mobileharness/shared/util/file/local",
"//src/java/com/google/devtools/mobileharness/shared/util/logging:google_logger",
"//src/java/com/google/wireless/qa/mobileharness/shared/model/job/in",
"//src/java/com/google/wireless/qa/mobileharness/shared/model/job/out:timing",
"//src/java/com/google/wireless/qa/mobileharness/shared/proto:job_java_proto",
"@maven//:com_google_errorprone_error_prone_annotations",
"@maven//:com_google_guava_guava",
],
)

java_library(
name = "test_schedule_unit",
srcs = ["TestScheduleUnit.java"],
deps = [
":locator",
"//src/java/com/google/wireless/qa/mobileharness/shared/model/job/out:timing",
],
)

Expand All @@ -74,25 +100,32 @@ java_library(

java_library(
name = "job",
srcs = [
"JobInfo.java",
"JobSetting.java",
"TestInfo.java",
"TestInfos.java",
],
deprecation = "This target has been split. Depend on the sub-targets instead.",
visibility = ["//visibility:public"],
exports = [
":job_info_cluster",
":job_setting",
":locator",
"//src/java/com/google/wireless/qa/mobileharness/shared/model/job/in",
"//src/java/com/google/wireless/qa/mobileharness/shared/model/job/out",
],
)

java_library(
name = "job_info_cluster",
srcs = [
"JobInfo.java",
"TestInfo.java",
"TestInfos.java",
],
visibility = ["//visibility:public"],
deps = [
":job_schedule_unit",
":job_setting",
":locator",
":schedule_unit",
":test_schedule_unit",
"//src/devtools/mobileharness/api/model/proto:job_java_proto",
"//src/devtools/mobileharness/service/moss/proto:slg_java_proto",
"//src/java/com/google/devtools/mobileharness/api/model/error",
"//src/java/com/google/devtools/mobileharness/api/model/job/in",
"//src/java/com/google/devtools/mobileharness/api/model/job/out",
"//src/java/com/google/devtools/mobileharness/infra/controller/test/model:test_execution_unit",
"//src/java/com/google/devtools/mobileharness/shared/util/dir:test_dir",
Expand Down

0 comments on commit 7128cff

Please sign in to comment.