Add NativeAotStubs.h and NativeAotStubs.cpp to build.bzl (#196235)

This PR adds:
- `NativeAotStubs.h` to `GENERATED_H`
- `NativeAotStubs.cpp` to `GENERATED_CPP`

Pull Request resolved: https://github.com/pytorch/pytorch/pull/196235
Approved by: https://github.com/Skylion007
This commit is contained in:
Daniel Delgado Vargas
2026-09-12 23:06:00 +00:00
committed by PyTorch MergeBot
parent f0cb6a19b0
commit 609121c5bc
+2
View File
@@ -158,6 +158,7 @@ GENERATED_H = [
"Functions.h", "Functions.h",
"NativeFunctions.h", "NativeFunctions.h",
"NativeMetaFunctions.h", "NativeMetaFunctions.h",
"NativeAotStubs.h",
"FunctionalInverses.h", "FunctionalInverses.h",
"RedispatchFunctions.h", "RedispatchFunctions.h",
"RegistrationDeclarations.h", "RegistrationDeclarations.h",
@@ -212,6 +213,7 @@ GENERATED_CPP_MTIA = [
GENERATED_CPP = [ GENERATED_CPP = [
"Functions.cpp", "Functions.cpp",
"NativeAotStubs.cpp",
"RegisterBackendSelect.cpp", "RegisterBackendSelect.cpp",
"RegisterCPU_0.cpp", "RegisterCPU_0.cpp",
"RegisterCPU_1.cpp", "RegisterCPU_1.cpp",