feat(clients): sa-token dev tool prints a service-account access token
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -28,7 +28,13 @@ GOOGLE_OBJS := $(patsubst $(ROOT)/%.cpp,$(GOOGLE_OBJDIR)/%.o,$(GOOGLE_SRCS))
|
||||
# layout corrupts the heap).
|
||||
-include $(GOOGLE_OBJS:.o=.d)
|
||||
|
||||
.PHONY: google google-test google-clean
|
||||
.PHONY: google google-test google-clean google-token
|
||||
|
||||
# Dev tool: prints a service-account access token (see tools/google_sa_token.cpp).
|
||||
google-token: build/google/sa-token
|
||||
build/google/sa-token: $(ROOT)/tools/google_sa_token.cpp $(GOOGLE_LIB) $(CLIENTS_LIB) $(OPERABILITY_LIB)
|
||||
@mkdir -p $(dir $@)
|
||||
$(CXX) $(GOOGLE_CXXFLAGS) -I$(ROOT)/src $< $(GOOGLE_LIB) $(CLIENTS_LIB) $(OPERABILITY_LIB) -lwolfssl -o $@
|
||||
|
||||
google: $(GOOGLE_LIB)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user