| # 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 = "//flutter/third_party/tinygltf" |
| |
| source_set("tinygltf") { |
| public = [ "$source_root/tiny_gltf.h" ] |
| |
| if (is_clang) { |
| cflags_cc = [ "-Wno-sign-compare" ] |
| } |
| |
| include_dirs = [ |
| "$source_root", |
| "$source_root/third_party/include", |
| ] |
| |
| sources = [ |
| "//flutter/build/secondary/flutter/third_party/tinygltf/tinygltf_stub.cc", |
| ] |
| |
| deps = [ "//flutter/third_party/json" ] |
| } |