diff --git a/ReactCommon/cxxreact/tests/BUCK b/ReactCommon/cxxreact/tests/BUCK index f8f29de42..2d89a2dd3 100644 --- a/ReactCommon/cxxreact/tests/BUCK +++ b/ReactCommon/cxxreact/tests/BUCK @@ -11,7 +11,6 @@ TEST_SRCS = [ if THIS_IS_FBANDROID: include_defs('//ReactAndroid/DEFS') include_defs('//ReactAndroid/TEST_DEFS') - jni_instrumentation_test_lib( name = 'tests', class_under_test = 'com/facebook/react/XplatBridgeTest', @@ -19,7 +18,8 @@ if THIS_IS_FBANDROID: srcs = TEST_SRCS, compiler_flags = [ '-fexceptions', - '-std=c++1y', + '-frtti', + '-std=c++14', ], deps = [ '//native/third-party/android-ndk:android', @@ -35,6 +35,7 @@ if THIS_IS_FBOBJC: srcs = TEST_SRCS, compiler_flags = [ '-fexceptions', + '-frtti', ], deps = [ '//xplat/folly:molly',