Skip to content

Commit c4c0880

Browse files
narayankGerrit Code Review
authored andcommitted
Merge "app_process: change app_process a symlink of primary version"
2 parents c4c77d6 + 559484e commit c4c0880

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

cmds/app_process/Android.mk

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
LOCAL_PATH:= $(call my-dir)
22

3-
# 32-bit app_process
43
include $(CLEAR_VARS)
54

65
LOCAL_SRC_FILES:= \
@@ -15,10 +14,14 @@ LOCAL_SHARED_LIBRARIES := \
1514

1615
LOCAL_MODULE:= app_process
1716
LOCAL_MULTILIB := both
18-
LOCAL_MODULE_STEM_32 := app_process
17+
LOCAL_MODULE_STEM_32 := app_process32
1918
LOCAL_MODULE_STEM_64 := app_process64
2019
include $(BUILD_EXECUTABLE)
2120

21+
# Create a symlink from app_process to app_process32 or 64
22+
# depending on the target configuration.
23+
include $(BUILD_SYSTEM)/executable_prefer_symlink.mk
24+
2225
# Build a variant of app_process binary linked with ASan runtime.
2326
# ARM-only at the moment.
2427
ifeq ($(TARGET_ARCH),arm)

0 commit comments

Comments
 (0)