aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYing Wang <wangying@google.co>2014-08-01 14:20:35 -0700
committerBen Murdoch <benm@google.com>2014-08-07 15:43:43 +0000
commit94ca20429c0e0ecd2d82e9d1d1637a0207244ac9 (patch)
treeea68fe600f26a628cbec21649b6883b60eedd025
parentf5ab7e790bb4a2d5d6495d37b0855005d48f91c3 (diff)
downloadandroid_frameworks_compile_slang-94ca20429c0e0ecd2d82e9d1d1637a0207244ac9.tar.gz
android_frameworks_compile_slang-94ca20429c0e0ecd2d82e9d1d1637a0207244ac9.tar.bz2
android_frameworks_compile_slang-94ca20429c0e0ecd2d82e9d1d1637a0207244ac9.zip
LOCAL_PATH should be set outside the ifeq block.
Change-Id: Ifdb411936c61c62623ea9afcbe93e959d2e764e9 (cherry picked from commit 4f7050f3ef5da175b199a714e750e0b4a6b833cf)
-rw-r--r--Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 8502647..ee0f7a4 100644
--- a/Android.mk
+++ b/Android.mk
@@ -13,11 +13,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
+LOCAL_PATH := $(call my-dir)
# The prebuilt tools should be used when we are doing app-only build.
ifeq ($(TARGET_BUILD_APPS),)
-LOCAL_PATH := $(call my-dir)
local_cflags_for_slang := -Wno-sign-promo -Wall -Wno-unused-parameter -Wno-return-type -Werror
ifeq ($(TARGET_BUILD_VARIANT),eng)