github.phpd.cn/thought-machine/please@v12.2.0+incompatible/test/cc_rules/labels/BUILD (about) 1 cc_library( 2 name = 'lib1', 3 hdrs = ['lib1/include/lib.hpp'], 4 includes = ['lib1/include'], 5 ) 6 7 cc_library( 8 name = 'another_lib', 9 srcs = ['another_lib.cpp'], 10 deps = [':lib1'], 11 ) 12 13 cc_test( 14 name = 'lib_test', 15 srcs = ['lib_test.cpp'], 16 deps = [':another_lib'], 17 )