@@ -5,32 +5,53 @@ package(default_visibility = ["//:__subpackages__"])
55
66cc_library (
77 name = "taste" ,
8- copts = copts ,
98 srcs = ["taste.cc" ],
109 hdrs = ["taste.hh" ],
10+ copts = copts ,
1111 deps = [
1212 "//ecsact/cli:report" ,
1313 "//ecsact/cli/commands/build:build_recipe" ,
14- "@ecsact_runtime//:dylib" ,
1514 "@boost.dll" ,
15+ "@ecsact_runtime//:dylib" ,
1616 ],
1717)
1818
1919cc_library (
2020 name = "integrity" ,
21- copts = copts ,
2221 srcs = ["integrity.cc" ],
2322 hdrs = ["integrity.hh" ],
23+ copts = copts ,
2424 deps = [
2525 "@boringssl//:crypto" ,
2626 ],
2727)
2828
2929cc_library (
3030 name = "cook" ,
31- copts = copts ,
3231 srcs = ["cook.cc" ],
3332 hdrs = ["cook.hh" ],
33+ copts = copts ,
34+ data = select ({
35+ "//:use_sdk_version_enabled" : [
36+ ],
37+ "//:use_sdk_version_disabled" : [
38+ "@ecsact_runtime//:ecsact/lib.hh" ,
39+ "@ecsact_runtime//:ecsact/runtime.h" ,
40+ "@ecsact_runtime//:ecsact/runtime/async.h" ,
41+ "@ecsact_runtime//:ecsact/runtime/async.hh" ,
42+ "@ecsact_runtime//:ecsact/runtime/common.h" ,
43+ "@ecsact_runtime//:ecsact/runtime/core.h" ,
44+ "@ecsact_runtime//:ecsact/runtime/core.hh" ,
45+ "@ecsact_runtime//:ecsact/runtime/definitions.h" ,
46+ "@ecsact_runtime//:ecsact/runtime/dylib.h" ,
47+ "@ecsact_runtime//:ecsact/runtime/dynamic.h" ,
48+ "@ecsact_runtime//:ecsact/runtime/meta.h" ,
49+ "@ecsact_runtime//:ecsact/runtime/meta.hh" ,
50+ "@ecsact_runtime//:ecsact/runtime/serialize.h" ,
51+ "@ecsact_runtime//:ecsact/runtime/serialize.hh" ,
52+ "@ecsact_runtime//:ecsact/runtime/static.h" ,
53+ ],
54+ }),
3455 defines = select ({
3556 "//:use_sdk_version_enabled" : ["ECSACT_CLI_USE_SDK_VERSION" ],
3657 "//:use_sdk_version_disabled" : [],
@@ -44,45 +65,24 @@ cc_library(
4465 deps = [
4566 ":integrity" ,
4667 "//ecsact/cli:report" ,
47- "//ecsact/cli/detail:argv0" ,
48- "//ecsact/cli/detail:download" ,
49- "//ecsact/cli/detail:glob" ,
50- "//ecsact/cli/detail:archive" ,
5168 "//ecsact/cli/commands/build:build_recipe" ,
5269 "//ecsact/cli/commands/build:cc_compiler_config" ,
5370 "//ecsact/cli/commands/build:cc_defines_gen" ,
5471 "//ecsact/cli/commands/build:get_modules" ,
55- "//ecsact/cli/commands/codegen:codegen " ,
72+ "//ecsact/cli/commands/codegen" ,
5673 "//ecsact/cli/commands/codegen:codegen_util" ,
74+ "//ecsact/cli/detail:archive" ,
75+ "//ecsact/cli/detail:argv0" ,
76+ "//ecsact/cli/detail:download" ,
77+ "//ecsact/cli/detail:glob" ,
5778 "//ecsact/cli/detail:proc_exec" ,
58- "@curl" ,
5979 "@boost.url" ,
80+ "@curl" ,
6081 "@magic_enum" ,
6182 ] + select ({
6283 "//:use_sdk_version_enabled" : [],
6384 "//:use_sdk_version_disabled" : [
6485 "@bazel_tools//tools/cpp/runfiles" ,
6586 ],
6687 }),
67- data = select ({
68- "//:use_sdk_version_enabled" : [
69- ],
70- "//:use_sdk_version_disabled" : [
71- "@ecsact_runtime//:ecsact/lib.hh" ,
72- "@ecsact_runtime//:ecsact/runtime.h" ,
73- "@ecsact_runtime//:ecsact/runtime/async.h" ,
74- "@ecsact_runtime//:ecsact/runtime/async.hh" ,
75- "@ecsact_runtime//:ecsact/runtime/common.h" ,
76- "@ecsact_runtime//:ecsact/runtime/core.h" ,
77- "@ecsact_runtime//:ecsact/runtime/core.hh" ,
78- "@ecsact_runtime//:ecsact/runtime/definitions.h" ,
79- "@ecsact_runtime//:ecsact/runtime/dylib.h" ,
80- "@ecsact_runtime//:ecsact/runtime/dynamic.h" ,
81- "@ecsact_runtime//:ecsact/runtime/meta.h" ,
82- "@ecsact_runtime//:ecsact/runtime/meta.hh" ,
83- "@ecsact_runtime//:ecsact/runtime/serialize.h" ,
84- "@ecsact_runtime//:ecsact/runtime/serialize.hh" ,
85- "@ecsact_runtime//:ecsact/runtime/static.h" ,
86- ],
87- }),
8888)
0 commit comments