| 1 |
# Copyright 2016 Google Inc. |
| 2 |
# |
| 3 |
# Use of this source code is governed by a BSD-style license that can be |
| 4 |
# found in the LICENSE file. |
| 5 |
|
| 6 |
declare_args() { |
| 7 |
} |
| 8 |
|
| 9 |
import("../third_party.gni") |
| 10 |
|
| 11 |
third_party("imgui") { |
| 12 |
public_include_dirs = [ "../externals/imgui" ] |
| 13 |
public_defines = [ "IMGUI_ENABLE_OSX_DEFAULT_CLIPBOARD_FUNCTIONS" ] |
| 14 |
|
| 15 |
sources = [ |
| 16 |
"../externals/imgui/imconfig.h", |
| 17 |
"../externals/imgui/imgui.cpp", |
| 18 |
"../externals/imgui/imgui.h", |
| 19 |
"../externals/imgui/imgui_demo.cpp", |
| 20 |
"../externals/imgui/imgui_draw.cpp", |
| 21 |
"../externals/imgui/imgui_internal.h", |
| 22 |
"../externals/imgui/imgui_tables.cpp", |
| 23 |
"../externals/imgui/imgui_widgets.cpp", |
| 24 |
"../externals/imgui/imstb_rectpack.h", |
| 25 |
"../externals/imgui/imstb_textedit.h", |
| 26 |
"../externals/imgui/imstb_truetype.h", |
| 27 |
"../externals/imgui/misc/cpp/imgui_stdlib.cpp", |
| 28 |
] |
| 29 |
} |