Index: build/config/android/BUILD.gn |
diff --git a/build/config/android/BUILD.gn b/build/config/android/BUILD.gn |
index b966d8cd84d269d589c113ee386bba36d2ccf2ff..8343861ab103a02cec8cde5e940b3994a2098f62 100644 |
--- a/build/config/android/BUILD.gn |
+++ b/build/config/android/BUILD.gn |
@@ -21,6 +21,9 @@ config("compiler") { |
# The NDK has these things, but doesn't define the constants to say that it |
# does. Define them here instead. |
"HAVE_SYS_UIO_H", |
+ |
+ # Forces full rebuilds on NDK rolls. |
+ "ANDROID_NDK_VERSION=${android_ndk_version}", |
] |
if (is_clang) { |