Add extra_asmflags

This makes it easier to cross-compile for non-Android ARM (e.g. Raspberry PI)

Bug: skia:
Change-Id: I4414d933bc38d56009aefcbe10e68f7c70964d9c
Reviewed-on: https://skia-review.googlesource.com/10291
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Mike Klein <mtklein@chromium.org>
This commit is contained in:
Kevin Lubick 2017-03-28 15:45:41 -04:00 committed by Skia Commit-Bot
parent d60ec06047
commit 2677a9a135

View File

@ -22,6 +22,7 @@ declare_args() {
msvc = 2015
extra_asmflags = []
extra_cflags = []
extra_cflags_c = []
extra_cflags_cc = []
@ -406,6 +407,7 @@ config("warnings_except_public_headers") {
}
config("extra_flags") {
asmflags = extra_asmflags
cflags = extra_cflags
cflags_c = extra_cflags_c
cflags_cc = extra_cflags_cc