Skip to content

Commit

Permalink
lolcat
Browse files Browse the repository at this point in the history
Change-Id: I4fecd80884a86c2d9bb720c9e821bd1605814d8c
  • Loading branch information
chirayudesai authored and Gerrit Code Review committed Jul 3, 2013
1 parent 4852f0a commit 1fb3b1d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions logcat/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,13 @@ LOCAL_SHARED_LIBRARIES := liblog
LOCAL_MODULE:= logcat

include $(BUILD_EXECUTABLE)

SYMLINK := $(TARGET_OUT)/bin/lolcat
$(SYMLINK): LOGCAT_BINARY := $(LOCAL_MODULE)
$(SYMLINK): $(LOCAL_INSTALLED_MODULE) $(LOCAL_PATH)/Android.mk
@echo "Symlink: $@ -> $(LOGCAT_BINARY)"
@mkdir -p $(dir $@)
@rm -rf $@
$(hide) ln -sf $(LOGCAT_BINARY) $@

ALL_DEFAULT_INSTALLED_MODULES += $(SYMLINK)

0 comments on commit 1fb3b1d

Please sign in to comment.