diff --git a/build/secondary/third_party/stb/BUILD.gn b/build/secondary/third_party/stb/BUILD.gn new file mode 100644 index 0000000000..a01c16f073 --- /dev/null +++ b/build/secondary/third_party/stb/BUILD.gn @@ -0,0 +1,15 @@ +# Copyright 2013 The Flutter Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +source_root = "//third_party/stb" + +source_set("stb_truetype") { + testonly = true + + public = [ "$source_root/stb_truetype.h" ] + + include_dirs = [ "$source_root" ] + + sources = [ "//build/secondary/third_party/stb/stb_truetype_stub.cc" ] +} diff --git a/build/secondary/third_party/stb/stb_truetype_stub.cc b/build/secondary/third_party/stb/stb_truetype_stub.cc new file mode 100644 index 0000000000..eaca9020be --- /dev/null +++ b/build/secondary/third_party/stb/stb_truetype_stub.cc @@ -0,0 +1,6 @@ +// Copyright 2013 The Flutter Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#define STB_TRUETYPE_IMPLEMENTATION +#include "third_party/stb/stb_truetype.h"