diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn index d38a4cfa73..608e36ab12 100644 --- a/build/config/compiler/BUILD.gn +++ b/build/config/compiler/BUILD.gn @@ -391,6 +391,12 @@ config("compiler") { # to say that it does. Define them here instead. defines += [ "HAVE_SYS_UIO_H" ] + # When Android requires new flags consider also editing the flags in + # the following locations. + # Framework plugin_ffi template: packages/flutter_tools/templates/plugin_ffi/src.tmpl/CMakeLists.txt.tmpl + # Example PR: https://github.com/flutter/flutter/pull/155508 + # Dart Lang JNI package: pkgs/jni/src/CMakeLists.txt + # Example PR: https://github.com/dart-lang/native/pull/1615 ldflags += [ "-Wl,--no-undefined", "-Wl,--exclude-libs,ALL",