mirror of https://github.com/auygun/kaliber.git
Rename utils.gni to rules.gni
This commit is contained in:
parent
ae825faf32
commit
ddecaddccc
|
@ -1,5 +1,5 @@
|
||||||
# Build a shared library for Android. Build an executable for other platforms.
|
# Build a shared library for Android. Build an executable for other platforms.
|
||||||
template("game_tmpl") {
|
template("game") {
|
||||||
if (target_os == "android") {
|
if (target_os == "android") {
|
||||||
_target_type = "shared_library"
|
_target_type = "shared_library"
|
||||||
} else {
|
} else {
|
|
@ -1,6 +1,6 @@
|
||||||
import("//build/utils.gni")
|
import("//build/rules.gni")
|
||||||
|
|
||||||
game_tmpl("demo") {
|
game("demo") {
|
||||||
sources = [
|
sources = [
|
||||||
"credits.cc",
|
"credits.cc",
|
||||||
"credits.h",
|
"credits.h",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import("//build/utils.gni")
|
import("//build/rules.gni")
|
||||||
|
|
||||||
game_tmpl("hello_world") {
|
game("hello_world") {
|
||||||
sources = [ "hello_world.cc" ]
|
sources = [ "hello_world.cc" ]
|
||||||
deps = [
|
deps = [
|
||||||
"//src/base",
|
"//src/base",
|
||||||
|
|
Loading…
Reference in New Issue