Age | Commit message (Collapse) | Author |
|
In order to support building with JDK21, Kythe needs to be able
to deal with the move of CommandLine from
com.sun.tools.javac.main to jdk.internal.opt, This change brings
in the service loader infrastructure that can deal with this.
Until we switch to JDK21 we will use the fallback (reflective)
mechanism. Once JDK21 is in place, we can also enable the 21
compatibility implementation.
Bug: 313924276
Test: prebuilts/build-tools/build-prebuilts.sh --skip-go --skip-asan \
--skip-soong-tests --resume
Test: java --add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
--add-exports=jdk.internal.opt/jdk.internal.opt=ALL-UNNAMED \
-jar ./out/soong/dist-common/framework/javac_extractor.jar \
# Using JDK11, JDK17 and JDK21
Change-Id: I10bae91e1203b919b6ca3012b208c01ea904ac76
|
|
These modules already have dependencies on libabsl, which exposes
the same set of headers.
Bug: 246681282
Test: presubmit
Change-Id: I5f9302943360261ee5bcb6d7f87f884287c36345
|
|
Bug: 279548314
Test: presubmit
Change-Id: I2f19aa7be864db98ddf6861c5bf17476a8254460
|
|
af58a1a6d90dceb795f8975b75cf3769b0318575
Change-Id: I848a08fc5455dea04ee77ad3c62ec1d3d5d072f9
|
|
Revert submission 2462733-fix-clang-tools-r487747
Rollback compiler update
Reverted changes: /q/submissionid:2462733-fix-clang-tools-r487747
Change-Id: Ifc66c521ce977931c021f209e39557437572638c
|
|
This cherrypicks the following upstream change to fix build with the
latest Clang API:
34a4932e42b7cc853eff38a43ee009a8d101f488 chore: update LLVM (#5483)
Test: presubmit
Bug: 264965700
Change-Id: Id1bc47a52214708784150a9cc4a326e41aa87582
|
|
Test: presubmit
Change-Id: I36006ef55385d0f4bf6544f9b7a0179aea90a2ff
|
|
google::protobuf::string has been removed in recent releases of
Protocol Buffers library.
Bug: 203713560
Test: OUT_DIR=out prebuilts/clang-tools/build-prebuilts.sh
Change-Id: I813648da19aa6e892a81a3f326cd42257f162657
|
|
Bug: http://b/241011085
Cherry-pick change to build kythe with latest LLVM.
Change-Id: Ifcbc3d80f430a275db074c115b9fca2fcb408e41
(cherry picked from commit 6a1baed2f889a36bb25e3f4429fd14016ef5cf3b)
|
|
|
|
|
|
The android llvm team upgrades the clang/llvm headers used to build
kythe. Adding the team to OWNERS for flexibility during these upgrades.
Test: N/A
Change-Id: I543e11ae8e2cc8490444107d6353f71ec881f9db
|
|
Bug: 244486343
Test: presubmit
Change-Id: I0a8f18a5f2da0ea722d1d53110d3db59a7cdbd38
(cherry picked from commit 15992735b55764e2e502e8ac81f03b32f7653c04)
|
|
Bug: 243950468
Test: prebuilts/build-tools/build-prebuilts.sh
Change-Id: I74d0c3b703bbdc6adb4c05e3f68269ad63f3282a
|
|
The signatures of com.sun.tools.javac.main.CommandLine.parse and
com.sun.tools.javac.main.Arguments.init methods changed between JDK14
and JDK17, call these methods via reflection to accomodadte both.
Bug: 240421813
Test: build java extractor and use it
Change-Id: I5db0a22bf9f837826f234e228f9652d422d94f20
|
|
* release: v0.0.60
* chore: clean up RELEASES.md
|
|
|
|
|
|
|
|
* chore(rust_common): manually configure the Rust protobuf toolchain
* fix: linting issues
|
|
|
|
|
|
* feat(rust_common): migrate to crate_universe from cargo-raze
* feat(rust_extractor): support incoming generated files in the Rust extractor
* feat(rust_indexer): support xrefs to incoming generated files
* fix: remove comment
* fix: remove debug logs
* fix: more fixes
* fix: exec -> target
|
|
* feat(cxx_indexer): record full signatures in a separate file
This makes it easier to debug production issues. Because signatures are based on structure, being able to go from a hash back to the original string turns out to be very useful.
|
|
* feat(cxx_indexer): implement directory traversal in indexer VFS
* chore: report file not found from dir_begin
|
|
|
|
|
|
This now uses the same logic as the java extractor:
https://github.com/kythe/kythe/blob/4aff6ac52c27de4d306b73982b343d6dcae4c2a7/kythe/java/com/google/devtools/kythe/extractors/java/JavaCompilationUnitExtractor.java#L297-L313
|
|
Our verifier assertions previously had a prefix of "//-", which the
latest gofmt changes to "// -" in some cases. This change
applies gofmt to all go indexer testdata files and adjusts the
--goal_regex to accept both prefix styles.
|
|
|
|
|
|
Problem: we index the go std library with the "google3/golib" corpus and the rest of go code with "google3". We want the cross-references to work between these, so std library elements in both need to have the same corpus.
|
|
* Generate compilation database for workspace
* Use bash arrays to hold the queried targets
* Use mapfile to fix Lint check
|
|
|
|
|
|
|
|
class/interface/ojbect literal properties (#5293)
Co-authored-by: Shahms King <shahms@google.com>
Co-authored-by: zrlk <zrlk@users.noreply.github.com>
|
|
|
|
|
|
* feat(proto): add a proto field to signify whether a file is protected
* fix: add comment
|
|
* fix(textproto): workaround upstream proto path bug
* chore: resolve comments
|
|
|
|
Before this change, java CUs don't receive a corpus if the required_inputs are not all in the same corpus. With this change, instead of assigning the empty corpus, the CU is assigned a corpus from the KYTHE_CORPUS environment variable.
|
|
|
|
|
|
|
|
|
|
Without the glob, the * doesn't actually expand.
|
|
|
|
* chore: restore ability to pass indexer label to cc_indexer_test
* fix(cxx_tests): properly pass test indexer runfiles
|