สารานุกรมฟังก์ชัน Bazel BUILD

แนวคิดและคำศัพท์

ฟังก์ชัน

กฎ

กฎของระบบมาพร้อมกับไบนารี Bazel และไม่จำเป็นต้องใช้คำสั่ง load กฎเนทีฟพร้อมใช้งานทั่วโลกในไฟล์ BUILD ในไฟล์ .bzl คุณจะพบไฟล์ดังกล่าวในโมดูล native สำหรับกฎ Starlark ที่ไม่ใช่แบบเนทีฟซึ่งจัดส่งแยกจาก Bazel ให้ดูรายการกฎที่แนะนำ

กฎเนทีฟเฉพาะภาษา

ภาษา กฎไบนารี กฎของไลบรารี กฎการทดสอบ กฎอื่นๆ
Android android_binary
aar_import
android_library
android_instrumentation_test
android_local_test
android_device
android_ndk_repository
android_sdk_repository
C / C++ cc_binary
cc_import
cc_library
cc_proto_library
cc_shared_library
fdo_prefetch_hints
fdo_profile
memprof_profile
propeller_optimize
cc_test
cc_toolchain
cc_toolchain_suite
Java java_binary
java_import
java_library
java_lite_proto_library
java_proto_library
java_test
java_package_configuration
java_plugin
java_runtime
java_toolchain
Objective-C j2objc_library
objc_import
objc_library
available_xcodes
xcode_config
xcode_version
บัฟเฟอร์โปรโตคอล proto_lang_toolchain
proto_library
Python py_binary
py_library
py_test
py_runtime
เปลือกหอย sh_binary
sh_library
sh_test

กฎเนทีฟที่ไม่จำเป็นต้องเข้าใจภาษาพูด

ครอบครัว กฎ
การดำเนินการเพิ่มเติม
ทั่วไป
แพลตฟอร์มและเชนเครื่องมือ
Workspace