1 parent 56c7975 commit 64efb5bCopy full SHA for 64efb5b
1 file changed
packages/react-native/ReactAndroid/cmake-utils/ReactNative-precompiled-header.cmake
@@ -3,6 +3,12 @@
3
# This source code is licensed under the MIT license found in the
4
# LICENSE file in the root directory of this source tree.
5
6
+if (NOT COMMAND target_precompile_headers)
7
+ function(target_reuse_reactnative_pch target)
8
+ endfunction()
9
+ return()
10
+endif ()
11
+
12
# Clang stamps a .pch with the time it was built, which makes it
13
# non-reproducible: ccache can never reuse one, and a PCH restored from the cache
14
# gets rejected as "modified since built" by the sources that consume it. Both
0 commit comments