1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_proto_library")
mediapipe_proto_library( name = "hello_world_calculator_options_proto", srcs = ["hello_world_calculator_options.proto"], deps = [ "//mediapipe/framework:calculator_options_proto", ], visibility = ["//visibility:public"], )
cc_library( name = "hello_world_calculator", srcs = ["hello_world_calculator.cc"], hdrs = ["hello_world_calculator.h"], deps = [ ":hello_world_calculator_options_proto", "//mediapipe/framework:calculator_framework", "//mediapipe/framework/port:logging", "//mediapipe/framework/port:ret_check", "//mediapipe/framework/port:status", "@com_google_absl//absl/strings", ], alwayslink = 1, visibility = ["//visibility:public"], )
cc_binary( name = "hello_world_demo", srcs = ["hello_world_demo.cc"], deps = [ ":hello_world_calculator", "//mediapipe/framework:calculator_framework", "//mediapipe/framework/port:parse_text_proto", "//mediapipe/framework/port:status", "@com_google_absl//absl/flags:flag", "@com_google_absl//absl/strings", ], )
|