Remove Chrome-specific configs for GLFW and GLM

BUG=chromium:935641
BUG=chromium:935704

Change-Id: I3ebe97beb330ff8e446a54c218f4c34001259b33
Reviewed-on: https://dawn-review.googlesource.com/c/5061
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Corentin Wallez 2019-02-26 09:55:23 +00:00 committed by Commit Bot service account
parent 9b8d2b0bbf
commit d56f8d2e05
1 changed files with 6 additions and 0 deletions

View File

@ -225,6 +225,9 @@ config("glfw_public") {
static_library("glfw") {
public_configs = [ ":glfw_public" ]
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
if (is_msvc) {
# nonstandard extension, function/data pointer conversion in expression
cflags_c = [ "/wd4152" ]
@ -335,6 +338,9 @@ if (dawn_standalone) {
include_dirs = [ "glm" ]
}
source_set("glm") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
public_configs = [ ":glm_public_config" ]
# GLM is header only but has too many files to list them.
}