Upgrade mobile BUCK and .bzl files to use C++14
Summary: Upgrade mobile `BUCK` and `.bzl` files to use C++14. Let's see what happens. Reviewed By: mzlee Differential Revision: D14223329 fbshipit-source-id: ff642ca017103d9415c4d7f5beaf5ded07ef7ff1
This commit is contained in:
committed by
Facebook Github Bot
parent
9f72ad05ce
commit
f793ba2d6b
@@ -12,7 +12,7 @@ load(
|
|||||||
"yoga_dep",
|
"yoga_dep",
|
||||||
)
|
)
|
||||||
|
|
||||||
COMPILER_FLAGS = BASE_COMPILER_FLAGS + ["-std=c++11"]
|
COMPILER_FLAGS = BASE_COMPILER_FLAGS + ["-std=c++14"]
|
||||||
|
|
||||||
fb_native.csharp_library(
|
fb_native.csharp_library(
|
||||||
name = "yogalibnet46",
|
name = "yogalibnet46",
|
||||||
|
@@ -18,7 +18,7 @@ yoga_cxx_library(
|
|||||||
"-Wall",
|
"-Wall",
|
||||||
"-Werror",
|
"-Werror",
|
||||||
"-Os",
|
"-Os",
|
||||||
"-std=c++11",
|
"-std=c++14",
|
||||||
],
|
],
|
||||||
platforms = ANDROID,
|
platforms = ANDROID,
|
||||||
preprocessor_flags = [
|
preprocessor_flags = [
|
||||||
|
@@ -32,7 +32,7 @@ yoga_cxx_library(
|
|||||||
"-Wall",
|
"-Wall",
|
||||||
"-Werror",
|
"-Werror",
|
||||||
"-Wno-unused-parameter",
|
"-Wno-unused-parameter",
|
||||||
"-std=c++11",
|
"-std=c++14",
|
||||||
],
|
],
|
||||||
platforms = (ANDROID,),
|
platforms = (ANDROID,),
|
||||||
visibility = ["PUBLIC"],
|
visibility = ["PUBLIC"],
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
load("//tools/build_defs/oss:yoga_defs.bzl", "YOGA_ROOTS", "subdir_glob", "yoga_cxx_library")
|
load("//tools/build_defs/oss:yoga_defs.bzl", "YOGA_ROOTS", "subdir_glob", "yoga_cxx_library")
|
||||||
|
|
||||||
COMPILER_FLAGS = [
|
COMPILER_FLAGS = [
|
||||||
"-std=c++11",
|
"-std=c++14",
|
||||||
"-Wno-missing-prototypes",
|
"-Wno-missing-prototypes",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user