Lukacs T. Berki
c541cd27fa
Create Bazel symlink forest in a separate process.
...
This helps with incrementality a lot: the symlink forest must depend on
almost every directory in the source tree so that if a new file is added
or removed from *anywhere*, it is regenerated.
Previously, we couldn't do this without invoking bp2build, which is
quite wasteful because bp2build takes way more time than the symlink
forest creation, even though we do the latter in a very suboptimal way
at the moment.
This means that if a source file is added or removed (which does not
affect globs), we don't pay the cost of bp2build anymore.
Also refactored symlink_forest.go on the side. Too much state was being
passed around in arguments.
This change reimplements aosp/2263423 ; the semantics of not touching an
output file is the exact same as order-only inputs and the latter is a
bit fewer lines of code.
Test: Presubmits.
Change-Id: I565c580df8a01bacf175d56747c3f50743d4a4d4
2022-10-27 08:08:45 +00:00
..
2022-10-24 11:11:58 -04:00
2022-08-17 10:43:13 -07:00
2022-10-04 16:38:14 -07:00
2022-09-21 19:49:46 +00:00
2022-06-01 21:07:25 -07:00
2022-09-14 14:21:44 -07:00
2022-05-20 07:45:48 +00:00
2022-09-14 21:09:50 +00:00
2022-10-07 23:48:00 +00:00
2022-07-01 23:06:03 +00:00
2022-02-28 14:17:15 -05:00
2022-10-03 08:43:13 -07:00
2022-10-03 08:43:13 -07:00
2022-09-28 19:02:51 +00:00
2022-10-25 17:56:58 +00:00
2022-09-26 14:44:15 -04:00
2022-10-20 14:57:37 +00:00
2022-10-13 20:40:27 +00:00
2022-10-13 20:40:27 +00:00
2022-06-21 10:13:42 +09:00
2022-04-08 14:15:43 +00:00
2022-08-17 10:43:13 -07:00
2021-03-17 16:35:13 +01:00
2022-10-27 08:08:45 +00:00
2022-08-01 16:07:30 -04:00
2021-03-22 18:31:53 +00:00
2021-03-17 16:18:17 +00:00
2022-06-13 13:16:53 +00:00
2022-05-04 21:41:55 +00:00
2022-08-23 13:15:12 -04:00
2022-08-16 01:03:10 +00:00
2020-12-07 12:27:50 -08:00
2020-12-07 12:27:50 -08:00
2020-12-07 12:27:50 -08:00
2021-03-22 18:31:53 +00:00
2020-11-23 18:06:08 -08:00
2020-10-09 18:34:24 -07:00
2019-07-11 14:52:17 -07:00
2022-10-24 11:11:58 -04:00
2022-10-24 11:11:58 -04:00
2021-04-01 10:33:20 +01:00
2022-08-25 14:47:41 -04:00
2022-09-14 14:21:44 -07:00
2022-09-14 14:21:44 -07:00
2022-04-26 09:08:55 -04:00
2021-06-15 15:49:51 +02:00
2021-09-02 11:46:24 +02:00
2022-09-14 13:49:27 -07:00
2022-10-13 13:52:56 -07:00
2022-02-11 10:36:22 -08:00
2021-09-02 11:46:24 +02:00
2022-09-14 13:49:27 -07:00
2022-02-11 10:36:22 -08:00
2022-06-01 18:56:26 -07:00
2020-12-07 10:23:54 -08:00
2022-10-06 11:06:51 +01:00
2022-07-22 10:01:35 -07:00
2022-10-04 16:38:14 -07:00
2022-10-12 17:43:20 -07:00
2021-03-22 18:31:53 +00:00
2022-10-04 17:32:56 +00:00
2022-05-11 17:30:58 +00:00
2022-06-22 17:19:03 -07:00
2022-08-03 17:47:25 +09:00
2022-10-27 08:08:45 +00:00
2021-03-22 18:31:53 +00:00
2020-11-17 10:50:19 -08:00
2022-06-09 15:00:08 -07:00
2020-10-09 18:34:24 -07:00
2022-07-22 10:01:35 -07:00
2021-09-02 09:28:52 -07:00
2021-12-08 15:08:59 -08:00
2021-12-13 13:33:15 -05:00
2022-09-14 13:49:27 -07:00
2022-03-28 14:29:14 +09:00
2022-03-28 14:29:14 +09:00
2021-07-09 23:54:01 +01:00
2022-01-08 03:09:52 +00:00
2021-12-15 15:22:53 -08:00
2022-10-22 02:26:30 +00:00
2020-11-23 00:29:18 -05:00
2021-07-20 12:46:48 -07:00
2021-11-08 13:38:28 +00:00
2022-09-28 13:58:52 +01:00
2022-09-15 22:18:48 -07:00
2022-10-04 17:32:56 +00:00
2022-04-04 16:42:46 -07:00
2022-08-17 10:43:13 -07:00
2021-03-03 09:14:22 +01:00
2021-09-23 11:37:57 +01:00
2021-12-01 17:43:00 +00:00
2022-06-28 22:07:23 +00:00
2022-09-26 18:28:56 +01:00
2022-02-10 23:36:06 +00:00
2021-01-07 17:19:27 -08:00
2022-05-20 16:54:00 -07:00
2022-02-08 17:32:28 -05:00
2022-09-16 21:23:36 +00:00
2021-08-27 10:08:49 +02:00
2022-10-06 10:24:47 +01:00
2021-12-15 15:22:53 -08:00
2022-10-06 11:06:51 +01:00
2022-08-01 16:28:48 +01:00
2022-02-17 15:52:07 -08:00
2022-06-06 12:29:25 -07:00
2021-03-22 18:31:53 +00:00
2022-09-21 19:28:11 +00:00
2022-05-20 16:54:13 -07:00
2022-05-18 16:38:19 -07:00