| # Copyright 2017 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/config/android/rules.gni") |
| |
| java_library("auto_common_java") { |
| java_files = [ |
| "src/common/src/main/java/com/google/auto/common/AnnotationMirrors.java", |
| "src/common/src/main/java/com/google/auto/common/BasicAnnotationProcessor.java", |
| "src/common/src/main/java/com/google/auto/common/MoreTypes.java", |
| "src/common/src/main/java/com/google/auto/common/SuperficialValidation.java", |
| "src/common/src/main/java/com/google/auto/common/AnnotationValues.java", |
| "src/common/src/main/java/com/google/auto/common/MoreElements.java", |
| "src/common/src/main/java/com/google/auto/common/Overrides.java", |
| "src/common/src/main/java/com/google/auto/common/Visibility.java", |
| ] |
| |
| deps = [ |
| "//third_party/guava:guava_java", |
| ] |
| } |
| |
| java_library("auto_service_java") { |
| java_files = |
| [ "src/service/src/main/java/com/google/auto/service/AutoService.java" ] |
| deps = [ |
| ":auto_common_java", |
| "//third_party/guava:guava_java", |
| ] |
| } |
| |
| java_annotation_processor("auto_service_processor") { |
| java_files = [ |
| "src/service/src/main/java/com/google/auto/service/processor/AutoServiceProcessor.java", |
| "src/service/src/main/java/com/google/auto/service/processor/package-info.java", |
| "src/service/src/main/java/com/google/auto/service/processor/ServicesFiles.java", |
| ] |
| main_class = "com.google.auto.service.processor.AutoServiceProcessor" |
| |
| deps = [ |
| ":auto_common_java", |
| ":auto_service_java", |
| "//third_party/guava:guava_java", |
| ] |
| } |