Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
incompatible_disallow_native_in_build_file: Forbid native module in BUILD files #7513
The native module was created to access BUILD file functions in bzl files.
The native module has been exposed by accident to BUILD files. We are going to remove it from BUILD files, and keep it only in bzl files.
- native.cc_library( + cc_library(
- srcs = native.glob(["*.java"]) + srcs = glob(["*.java"])
The fix is mechanical, it can be fixed automatically using: