-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide jar_snapshot for classpath in kotlincd
Summary: ## Context To enable Kotlin Incremental Compilation for a target we need to provide a snapshot of all the `.jar` files in its classpath. See more context in this [doc](https://docs.google.com/document/d/1EpyHaCcOHxGgFWw59vK2HZgcJERReOp6_j-8bCWkIN0/edit?usp=sharing) ## Steps 1 . Create a utility to generate snapshot for given `.jar` 2 . Provide jar_snapshot in JavaClasspathEntry ➜ 3 . Pass jar_snapshot for all `.jar` files in the classpath to KotlinCD 4 . In KotlinCD, deserialize and maintain a map of classpath to snapshot 5 . Provide classpath->snapshot map to incremental compilation ## This Diff When building a target incrementally, pass jar_snapshot for all `.jar` files in the classpath to KotlinCD Reviewed By: IanChilds Differential Revision: D62533759 fbshipit-source-id: bb17d15db9e5df069c53d79ab7c5bee20df49771
- Loading branch information
1 parent
20b0164
commit ef94481
Showing
2 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters