Fix compilation due to missing flag
Reviewed By: mhorowitz Differential Revision: D5053975 fbshipit-source-id: cfb5e71d7c9c318fa1942ce9d4dc72b4f7c1e054
This commit is contained in:
parent
28748f165b
commit
fb99f55939
|
@ -11,7 +11,6 @@ TEST_SRCS = [
|
||||||
if THIS_IS_FBANDROID:
|
if THIS_IS_FBANDROID:
|
||||||
include_defs('//ReactAndroid/DEFS')
|
include_defs('//ReactAndroid/DEFS')
|
||||||
include_defs('//ReactAndroid/TEST_DEFS')
|
include_defs('//ReactAndroid/TEST_DEFS')
|
||||||
|
|
||||||
jni_instrumentation_test_lib(
|
jni_instrumentation_test_lib(
|
||||||
name = 'tests',
|
name = 'tests',
|
||||||
class_under_test = 'com/facebook/react/XplatBridgeTest',
|
class_under_test = 'com/facebook/react/XplatBridgeTest',
|
||||||
|
@ -19,7 +18,8 @@ if THIS_IS_FBANDROID:
|
||||||
srcs = TEST_SRCS,
|
srcs = TEST_SRCS,
|
||||||
compiler_flags = [
|
compiler_flags = [
|
||||||
'-fexceptions',
|
'-fexceptions',
|
||||||
'-std=c++1y',
|
'-frtti',
|
||||||
|
'-std=c++14',
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
'//native/third-party/android-ndk:android',
|
'//native/third-party/android-ndk:android',
|
||||||
|
@ -35,6 +35,7 @@ if THIS_IS_FBOBJC:
|
||||||
srcs = TEST_SRCS,
|
srcs = TEST_SRCS,
|
||||||
compiler_flags = [
|
compiler_flags = [
|
||||||
'-fexceptions',
|
'-fexceptions',
|
||||||
|
'-frtti',
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
'//xplat/folly:molly',
|
'//xplat/folly:molly',
|
||||||
|
|
Loading…
Reference in New Issue