Merge "init: Fix -DUSER_MODE_LINUX compilation"

am: 9a38df3f5f

Change-Id: I26d86100bb8f76325b46ba2c2d066e856d910396
This commit is contained in:
Dmitry Shmidt 2017-08-24 01:23:01 +00:00 committed by android-build-merger
commit d1821522aa
2 changed files with 3 additions and 4 deletions

View file

@ -54,6 +54,9 @@ cc_defaults {
"-DSHUTDOWN_ZERO_TIMEOUT=1",
],
},
uml: {
cppflags: ["-DUSER_MODE_LINUX"],
}
},
}

View file

@ -30,10 +30,6 @@ endif
init_options += -DLOG_UEVENTS=0
ifeq ($(TARGET_USER_MODE_LINUX), true)
init_cflags += -DUSER_MODE_LINUX
endif
init_cflags += \
$(init_options) \
-Wall -Wextra \