engine: BUILD cleanups

master
q3k 2021-07-11 01:30:04 +00:00
parent 296006a280
commit e90ebae6f6
4 changed files with 11 additions and 15 deletions

View File

@ -5,7 +5,7 @@ glsl_binary(
srcs = [
"forward.vert",
],
visibility = ["//engine:__pkg__"],
visibility = ["//engine/render:__pkg__"],
)
glsl_binary(
@ -16,5 +16,5 @@ glsl_binary(
"forward_brdf.frag",
"forward_defs.frag",
],
visibility = ["//engine:__pkg__"],
visibility = ["//engine/render:__pkg__"],
)

View File

@ -23,21 +23,10 @@ rust_library(
"//engine/physics",
"//engine/render",
"//lib/ecs",
"//third_party/cargo:cgmath",
"//third_party/cargo:image",
"//third_party/cargo:mlua",
"//third_party/cargo:log",
"//third_party/cargo:env_logger",
],
proc_macro_deps = [
"//lib/ecs_macros",
],
data = [
"//assets:test-128px.png",
"//assets:test-128px-roughness.png",
"//assets/shaders:forward_vert",
"//assets/shaders:forward_frag",
] + glob(["lua/**"]),
data = glob(["lua/**"]),
visibility = [
"//visibility:public",
],

View File

@ -31,6 +31,10 @@ rust_library(
"vulkan/swapchain_binding.rs",
"vulkan/worker.rs",
],
data = [
"//assets/shaders:forward_vert",
"//assets/shaders:forward_frag",
],
deps = [
"//engine/input",
"//engine/util",

View File

@ -25,7 +25,10 @@ rust_binary(
"//third_party/cargo:env_logger",
"//third_party/cargo:log",
],
data = glob(["lua/**"]),
data = [
"//assets:test-128px.png",
"//assets:test-128px-roughness.png",
] + glob(["lua/**"]),
)
abrasion_release(