diff --git a/cmake/Sources.json b/cmake/Sources.json index 9dda8388f2..f11fdbe026 100644 --- a/cmake/Sources.json +++ b/cmake/Sources.json @@ -56,6 +56,7 @@ "src/buntime/bindings/v8/*.cpp", "src/buntime/bindings/v8/shim/*.cpp", "src/buntime/api/console/*.cpp", + "src/buntime/api/inspector/*.cpp", "src/bake/*.cpp", "src/deps/*.cpp", "src/vm/*.cpp", diff --git a/cmake/targets/BuildBun.cmake b/cmake/targets/BuildBun.cmake index 943a29773a..0c480d18cc 100644 --- a/cmake/targets/BuildBun.cmake +++ b/cmake/targets/BuildBun.cmake @@ -866,6 +866,7 @@ target_include_directories(${bun} PRIVATE ${CWD}/src/buntime/bindings/sqlite ${CWD}/src/buntime/bindings/v8 ${CWD}/src/buntime/api/console + ${CWD}/src/buntime/api/inspector ${CWD}/src/buntime/modules ${CWD}/src/js/builtins ${CWD}/src/napi diff --git a/src/buntime/bindings/BunInspector.cpp b/src/buntime/api/inspector/BunInspector.cpp similarity index 100% rename from src/buntime/bindings/BunInspector.cpp rename to src/buntime/api/inspector/BunInspector.cpp diff --git a/src/buntime/bindings/InspectorBunFrontendDevServerAgent.cpp b/src/buntime/api/inspector/InspectorBunFrontendDevServerAgent.cpp similarity index 100% rename from src/buntime/bindings/InspectorBunFrontendDevServerAgent.cpp rename to src/buntime/api/inspector/InspectorBunFrontendDevServerAgent.cpp diff --git a/src/buntime/bindings/InspectorBunFrontendDevServerAgent.h b/src/buntime/api/inspector/InspectorBunFrontendDevServerAgent.h similarity index 100% rename from src/buntime/bindings/InspectorBunFrontendDevServerAgent.h rename to src/buntime/api/inspector/InspectorBunFrontendDevServerAgent.h diff --git a/src/buntime/bindings/InspectorHTTPServerAgent.cpp b/src/buntime/api/inspector/InspectorHTTPServerAgent.cpp similarity index 100% rename from src/buntime/bindings/InspectorHTTPServerAgent.cpp rename to src/buntime/api/inspector/InspectorHTTPServerAgent.cpp diff --git a/src/buntime/bindings/InspectorHTTPServerAgent.h b/src/buntime/api/inspector/InspectorHTTPServerAgent.h similarity index 100% rename from src/buntime/bindings/InspectorHTTPServerAgent.h rename to src/buntime/api/inspector/InspectorHTTPServerAgent.h diff --git a/src/buntime/bindings/InspectorLifecycleAgent.cpp b/src/buntime/api/inspector/InspectorLifecycleAgent.cpp similarity index 100% rename from src/buntime/bindings/InspectorLifecycleAgent.cpp rename to src/buntime/api/inspector/InspectorLifecycleAgent.cpp diff --git a/src/buntime/bindings/InspectorLifecycleAgent.h b/src/buntime/api/inspector/InspectorLifecycleAgent.h similarity index 100% rename from src/buntime/bindings/InspectorLifecycleAgent.h rename to src/buntime/api/inspector/InspectorLifecycleAgent.h diff --git a/src/buntime/bindings/InspectorTestReporterAgent.cpp b/src/buntime/api/inspector/InspectorTestReporterAgent.cpp similarity index 100% rename from src/buntime/bindings/InspectorTestReporterAgent.cpp rename to src/buntime/api/inspector/InspectorTestReporterAgent.cpp diff --git a/src/buntime/bindings/InspectorTestReporterAgent.h b/src/buntime/api/inspector/InspectorTestReporterAgent.h similarity index 100% rename from src/buntime/bindings/InspectorTestReporterAgent.h rename to src/buntime/api/inspector/InspectorTestReporterAgent.h