PR-URL: https://github.com/nodejs/node/pull/58070 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
23 lines
629 B
Plaintext
23 lines
629 B
Plaintext
# 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" ]
|
|
}
|
|
}
|