mirror of
https://github.com/openharmony/global_resource_tool.git
synced 2026-07-18 20:54:30 -04:00
@@ -85,3 +85,23 @@ ohos_executable("restool") {
|
||||
ohos_unittest_py("restool_test") {
|
||||
sources = [ "test/test.py" ]
|
||||
}
|
||||
|
||||
ID_DEFINED_PATH =
|
||||
"//utils/resources/systemres/main/resources/base/element/id_defined.json"
|
||||
|
||||
ohos_copy("restool_id_defined") {
|
||||
sources = [ "${ID_DEFINED_PATH}" ]
|
||||
outputs =
|
||||
[ get_label_info(
|
||||
"//developtools/global_resource_tool:restool($host_toolchain)",
|
||||
"root_out_dir") + "/developtools/global_restool/" ]
|
||||
deps = [ "//developtools/global_resource_tool:restool($host_toolchain)" ]
|
||||
subsystem_name = "developtools"
|
||||
part_name = "global_restool"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("restool_systemres") {
|
||||
source = "${ID_DEFINED_PATH}"
|
||||
subsystem_name = "developtools"
|
||||
part_name = "global_restool"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user