| # Copyright 2020 The Chromium Authors | |
| # Use of this source code is governed by a BSD-style license that can be | |
| # found in the LICENSE file. | |
| config("gemmlowp_include") { | |
| include_dirs = [ "src" ] | |
| if (is_clang) { | |
| # Gemmlowp doesn't have the annotations to support this analysis, so | |
| # building with this flag enabled results in spurious warnings. | |
| cflags_cc = [ "-Wno-thread-safety" ] | |
| } | |
| } | |
| source_set("gemmlowp") { | |
| public = [ | |
| "src/fixedpoint/fixedpoint.h", | |
| "src/public/bit_depth.h", | |
| "src/public/gemmlowp.h", | |
| "src/public/map.h", | |
| "src/public/output_stages.h", | |
| ] | |
| public_configs = [ ":gemmlowp_include" ] | |
| } |