Rename utils.gni to rules.gni

This commit is contained in:
Attila Uygun 2023-09-04 19:27:42 +02:00
parent ae825faf32
commit ddecaddccc
3 changed files with 5 additions and 5 deletions

View File

@ -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 {

View File

@ -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",

View File

@ -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",