blob: 48cb62cc7f52372547a03e05f4746f2c7bb8f1c0 [file] [log] [blame]
# Copyright 2016 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
config("add_exceptions") {
if (is_win) {
cflags_cc = [ "/EHsc" ]
} else {
cflags_cc = [ "-fexceptions" ]
}
}
config("add_rtti") {
if (is_win) {
cflags_cc = [ "/GR" ]
} else {
cflags_cc = [ "-frtti" ]
}
}