# Copyright 2024 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. source_set("header") { sources = [ "simdutf.h" ] } source_set("simdutf") { sources = [ "simdutf.cpp" ] public_deps = [ ":header" ] cflags_cc = [ "-Wno-unused-const-variable", "-Wno-unused-function", ] configs -= [ "//build/config/compiler:chromium_code" ] configs += [ "//build/config/compiler:no_chromium_code" ] if (!is_debug) { configs -= [ "//build/config/compiler:default_optimization" ] configs += [ "//build/config/compiler:optimize_speed" ] } }