aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/java_tools/import_deps_checker
Commit message (Collapse)AuthorAge
* Print the target names of the problematic classes, for better description of ↵Gravatar cnsun2018-06-04
| | | | | | | the dependency problems. RELNOTES: None. PiperOrigin-RevId: 199170334
* Format all bzl files with buildifierGravatar vladmos2018-06-01
| | | | | | This CL aslo enables a presubmit check for correct formatting of all bzl files in //third_party/bazel. PiperOrigin-RevId: 198857055
* Resolve all super classes even if we have found missing super classes. This isGravatar cnsun2018-05-30
| | | | | | | | | necessary. If we stop resolving the super classes, then the checker will complain that some methods are missign. In fact, these methods exist, but their class is not resolved due to the existing early-break strategy. RELNOTES: none PiperOrigin-RevId: 198594008
* Remove the flag --fail_on_errors.Gravatar cnsun2018-05-24
| | | | | RELNOTES:none. PiperOrigin-RevId: 197923013
* Flag indirect dependencies in ImportDepsChecker toolGravatar kmb2018-05-07
| | | | PiperOrigin-RevId: 195732395
* Fix a Bazel test.Gravatar cnsun2018-04-27
| | | | | RELNOTES:none. PiperOrigin-RevId: 194598332
* Add a silence mode to the deps checker. Now the checker can be used to dumpGravatar cnsun2018-04-27
| | | | | | | jdeps proto without emitting any warning or error. RELNOTES: none. PiperOrigin-RevId: 194593178
* Emit jdeps proto, that is, the used jars on the regular classpath.Gravatar cnsun2018-04-26
| | | | | RELNOTES: PiperOrigin-RevId: 194461881
* 1. Avoid checking the primitive number types in annotations.Gravatar cnsun2018-04-17
| | | | | | | | 2. Remove incorrect assertion in AnnotationVisitor.visit(String, Object), and delegate the checking for arrays to visitArray(String). RELNOTES: n/a. PiperOrigin-RevId: 193256108
* ignore made-up java/lang/Synthetic annotation that ASM sometimes insertsGravatar kmb2018-04-13
| | | | | | RELNOTES: None. PiperOrigin-RevId: 192844304
* Add regressiont test for b/77473436.Gravatar cnsun2018-04-13
| | | | | RELNOTES: n/a. PiperOrigin-RevId: 192836316
* Split the single classpath (combining bootclasspath and regular classpathGravatar cnsun2018-04-13
| | | | | | | | | together) into two separate classpaths. This is the preparation cl. In the following cls, I will graduately make the dependency issues clear, i.e., wether it is a problem in the bootclasspath or the regular classpath. RELNOTES: n/a. PiperOrigin-RevId: 192828237
* Enable testing stderr for import-deps-checker.Gravatar cnsun2018-04-11
| | | | | | RELNOTES: None. PiperOrigin-RevId: 192452316
* Improve golden testsGravatar cushon2018-04-06
| | | | PiperOrigin-RevId: 191970818
* Emit a usage error if --output is not providedGravatar cushon2018-04-06
| | | | PiperOrigin-RevId: 191961686
* fix deps checker tool handling of primitive arrays in annotationsGravatar kmb2018-04-06
| | | | PiperOrigin-RevId: 191948995
* PiperOrigin-RevId: 191474411Gravatar kmb2018-04-03
|
* 1) Fixes a bug in the checking of missing members. Before, MemberInfo containsGravatar cnsun2018-03-19
| | | | | | | | | | | both the owner and the name. However, this is wrong, as the field reference or method call may reference the same member with a different owner (e.g., subclass). 2) The type in ASM may refer to internal names, but also may refer to array descriptor. And arrays have methods such as clone(). Before, I just assume that a type can only be internal names. RELNOTES: None. PiperOrigin-RevId: 189630806
* Add a flag to control whether to treat missing dependencies as errors orGravatar cnsun2018-03-08
| | | | | | | warnings (--emit_errors or --noemit_errors). RELNOTES:None. PiperOrigin-RevId: 188397338
* Allow --classpath_entry to be empy.Gravatar cnsun2018-03-02
| | | | | | RELNOTES:None. PiperOrigin-RevId: 187711775
* Improve error message of import_deps_checker.Gravatar cnsun2018-03-01
| | | | | RELNOTES: None. PiperOrigin-RevId: 187571707
* Expose import-deps-checker to //tools/android so that AarImport can use it.Gravatar cnsun2018-02-16
| | | | | RELNOTES:n/a. PiperOrigin-RevId: 186043433
* 1) Make checker exit with 199 if there is any dependency issue.Gravatar cnsun2018-02-12
| | | | | | | | 2) Also print the dependency issues to stderr. 3) Add golden tests to test the above two. RELNOTES:n/a. PiperOrigin-RevId: 185423338
* add srcs filegroups for import_deps_checkerGravatar Benjamin Peterson2018-02-09
| | | | | Change-Id: I1fa7867ffb08af95c1eef5ae3e32cff34292328b PiperOrigin-RevId: 185189976
* Use MoreAsserts.assertThrowas instead of the Junit's version.Gravatar cnsun2018-02-08
| | | | | RELNOTES:none. PiperOrigin-RevId: 185075745
* Add a new tool to check the deps of aar_import. This is the first cl of aGravatar cnsun2018-02-06
series. The following CLs will integrate this into bazel. RELNOTES:n/a. PiperOrigin-RevId: 184706507