blob: 31c6c8c56b843f4e9cae2e07f6a1a82f39e755a6 [file]
// Copyright (c) 2026, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:native_toolchain_c/native_toolchain_c.dart';
/// The C build specification for the stb_image library.
///
/// It is used by the build and link hooks in the `hook/` directory.
final cLibrary = CLibrary(
name: 'stb_image',
assetName: 'src/third_party/stb_image.g.dart',
sources: ['third_party/stb_image.c', 'third_party/stb_image.h'],
);