From e7d8feeaca22aa10ca5fd0174d50924805ed8a6c Mon Sep 17 00:00:00 2001 From: Kudo Chien Date: Tue, 10 Jan 2023 16:21:25 +0800 Subject: [PATCH] Add jsinspector prefab target --- ReactAndroid/build.gradle | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ReactAndroid/build.gradle b/ReactAndroid/build.gradle index 2f9e64bff5acc5..1e7fdbb0af2dcc 100644 --- a/ReactAndroid/build.gradle +++ b/ReactAndroid/build.gradle @@ -215,6 +215,10 @@ final def preparePrefab = tasks.register("preparePrefab", PreparePrefabHeadersTa new Pair("../ReactCommon/cxxreact/", "cxxreact/"), ] ), + new PrefabPreprocessingEntry( + "jsinspector", + new Pair("../ReactCommon/jsinspector/", "jsinspector/"), + ), ] ) it.outputDir.set(prefabHeadersDir) @@ -472,7 +476,8 @@ android { "react_render_scheduler", "react_render_mounting", "hermes_executor", - "jscexecutor" + "jscexecutor", + "jsinspector" } } ndk { @@ -598,6 +603,9 @@ android { jscexecutor { headers(new File(prefabHeadersDir, "jscexecutor").absolutePath) } + jsinspector { + headers(new File(prefabHeadersDir, "jsinspector").absolutePath) + } } publishing {