17b21670581d13db32f1384a3b2692bcfc8f57320Carl Shapiro#
27b21670581d13db32f1384a3b2692bcfc8f57320Carl Shapiro# Copyright (C) 2011 The Android Open Source Project
37b21670581d13db32f1384a3b2692bcfc8f57320Carl Shapiro#
47b21670581d13db32f1384a3b2692bcfc8f57320Carl Shapiro# Licensed under the Apache License, Version 2.0 (the "License");
57b21670581d13db32f1384a3b2692bcfc8f57320Carl Shapiro# you may not use this file except in compliance with the License.
67b21670581d13db32f1384a3b2692bcfc8f57320Carl Shapiro# You may obtain a copy of the License at
77b21670581d13db32f1384a3b2692bcfc8f57320Carl Shapiro#
87b21670581d13db32f1384a3b2692bcfc8f57320Carl Shapiro#      http://www.apache.org/licenses/LICENSE-2.0
97b21670581d13db32f1384a3b2692bcfc8f57320Carl Shapiro#
107b21670581d13db32f1384a3b2692bcfc8f57320Carl Shapiro# Unless required by applicable law or agreed to in writing, software
117b21670581d13db32f1384a3b2692bcfc8f57320Carl Shapiro# distributed under the License is distributed on an "AS IS" BASIS,
127b21670581d13db32f1384a3b2692bcfc8f57320Carl Shapiro# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
137b21670581d13db32f1384a3b2692bcfc8f57320Carl Shapiro# See the License for the specific language governing permissions and
147b21670581d13db32f1384a3b2692bcfc8f57320Carl Shapiro# limitations under the License.
157b21670581d13db32f1384a3b2692bcfc8f57320Carl Shapiro#
167b21670581d13db32f1384a3b2692bcfc8f57320Carl Shapiro
1737c19bc2b36535e686782b7b5d4030d2fb7e2f56Dragos Sbirleaifndef ANDROID_COMMON_MK
1837c19bc2b36535e686782b7b5d4030d2fb7e2f56Dragos SbirleaANDROID_COMMON_MK = true
1937c19bc2b36535e686782b7b5d4030d2fb7e2f56Dragos Sbirlea
207940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom# These can be overridden via the environment or by editing to
217940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom# enable/disable certain build configuration.
227940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom#
237940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom# For example, to disable everything but the host debug build you use:
247940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom#
257940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom# (export ART_BUILD_TARGET_NDEBUG=false && export ART_BUILD_TARGET_DEBUG=false && export ART_BUILD_HOST_NDEBUG=false && ...)
267940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom#
277940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom# Beware that tests may use the non-debug build for performance, notable 055-enum-performance
287940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom#
297940e44f4517de5e2634a7e07d58d0fb26160513Brian CarlstromART_BUILD_TARGET_NDEBUG ?= true
307940e44f4517de5e2634a7e07d58d0fb26160513Brian CarlstromART_BUILD_TARGET_DEBUG ?= true
3119e776ceb178397661b0323a9a982f6db249a56dBrian CarlstromART_BUILD_HOST_NDEBUG ?= $(WITH_HOST_DALVIK)
3219e776ceb178397661b0323a9a982f6db249a56dBrian CarlstromART_BUILD_HOST_DEBUG ?= $(WITH_HOST_DALVIK)
337940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom
347940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstromifeq ($(ART_BUILD_TARGET_NDEBUG),false)
357940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom$(info Disabling ART_BUILD_TARGET_NDEBUG)
367940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstromendif
377940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstromifeq ($(ART_BUILD_TARGET_DEBUG),false)
387940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom$(info Disabling ART_BUILD_TARGET_DEBUG)
397940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstromendif
407940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstromifeq ($(ART_BUILD_HOST_NDEBUG),false)
417940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom$(info Disabling ART_BUILD_HOST_NDEBUG)
427940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstromendif
437940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstromifeq ($(ART_BUILD_HOST_DEBUG),false)
447940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom$(info Disabling ART_BUILD_HOST_DEBUG)
457940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstromendif
467940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom
477940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom#
487940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom# Used to enable smart mode
497940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom#
508447d84d847d4562d7a7bce62768c27e7d20a9aaAnwar GhuloumART_SMALL_MODE := false
518447d84d847d4562d7a7bce62768c27e7d20a9aaAnwar Ghuloumifneq ($(wildcard art/SMALL_ART),)
528447d84d847d4562d7a7bce62768c27e7d20a9aaAnwar Ghuloum$(info Enabling ART_SMALL_MODE because of existence of art/SMALL_ART)
538447d84d847d4562d7a7bce62768c27e7d20a9aaAnwar GhuloumART_SMALL_MODE := true
54f3e9855ee2000106b54fd479f7a46da2dc2ad079Ian Rogersendif
55a72dd8b69408a46877cf2a6c104716e4c09a4358Anwar Ghuloumifeq ($(WITH_ART_SMALL_MODE), true)
56a72dd8b69408a46877cf2a6c104716e4c09a4358Anwar GhuloumART_SMALL_MODE := true
57a72dd8b69408a46877cf2a6c104716e4c09a4358Anwar Ghuloumendif
58f3e9855ee2000106b54fd479f7a46da2dc2ad079Ian Rogers
597940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom#
607940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom# Used to enable SEA mode
617940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom#
627467ee05012e1fd9834df74663c1ebda46f5636bDragos SbirleaART_SEA_IR_MODE := false
637467ee05012e1fd9834df74663c1ebda46f5636bDragos Sbirleaifneq ($(wildcard art/SEA_IR_ART),)
647467ee05012e1fd9834df74663c1ebda46f5636bDragos Sbirlea$(info Enabling ART_SEA_IR_MODE because of existence of art/SEA_IR_ART)
657467ee05012e1fd9834df74663c1ebda46f5636bDragos SbirleaART_SEA_IR_MODE := true
667467ee05012e1fd9834df74663c1ebda46f5636bDragos Sbirleaendif
677467ee05012e1fd9834df74663c1ebda46f5636bDragos Sbirleaifeq ($(WITH_ART_SEA_IR_MODE), true)
687467ee05012e1fd9834df74663c1ebda46f5636bDragos SbirleaART_SEA_IR_MODE := true
697467ee05012e1fd9834df74663c1ebda46f5636bDragos Sbirleaendif
707467ee05012e1fd9834df74663c1ebda46f5636bDragos Sbirlea
717940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom#
727940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom# Used to enable portable mode
737940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom#
7406809edbe7058aac95069e6a3d392bae4de17c35Brian CarlstromART_USE_PORTABLE_COMPILER := false
7506809edbe7058aac95069e6a3d392bae4de17c35Brian Carlstromifneq ($(wildcard art/USE_PORTABLE_COMPILER),)
7606809edbe7058aac95069e6a3d392bae4de17c35Brian Carlstrom$(info Enabling ART_USE_PORTABLE_COMPILER because of existence of art/USE_PORTABLE_COMPILER)
7706809edbe7058aac95069e6a3d392bae4de17c35Brian CarlstromART_USE_PORTABLE_COMPILER := true
7806809edbe7058aac95069e6a3d392bae4de17c35Brian Carlstromendif
7906809edbe7058aac95069e6a3d392bae4de17c35Brian Carlstromifeq ($(WITH_ART_USE_PORTABLE_COMPILER),true)
8006809edbe7058aac95069e6a3d392bae4de17c35Brian Carlstrom$(info Enabling ART_USE_PORTABLE_COMPILER because WITH_ART_USE_PORTABLE_COMPILER=true)
8106809edbe7058aac95069e6a3d392bae4de17c35Brian CarlstromART_USE_PORTABLE_COMPILER := true
8206809edbe7058aac95069e6a3d392bae4de17c35Brian Carlstromendif
83d1fec81868a3567560a3868350e0a945248e925bShih-wei Liao
84d1fec81868a3567560a3868350e0a945248e925bShih-wei LiaoLLVM_ROOT_PATH := external/llvm
85d1fec81868a3567560a3868350e0a945248e925bShih-wei Liaoinclude $(LLVM_ROOT_PATH)/llvm.mk
86d1fec81868a3567560a3868350e0a945248e925bShih-wei Liao
87cd5d0422ac07b03220970a3606f8b402a3636528Ian Rogers# Clang build.
88cd5d0422ac07b03220970a3606f8b402a3636528Ian Rogers# ART_TARGET_CLANG := true
89cd5d0422ac07b03220970a3606f8b402a3636528Ian Rogers# ART_HOST_CLANG := true
90cd5d0422ac07b03220970a3606f8b402a3636528Ian Rogers
9132b4b2a30636360756058524f8491ee4cd81c423Brian Carlstrom# directory used for gtests on device
9232b4b2a30636360756058524f8491ee4cd81c423Brian CarlstromART_NATIVETEST_DIR := /data/nativetest/art
9332b4b2a30636360756058524f8491ee4cd81c423Brian CarlstromART_NATIVETEST_OUT := $(TARGET_OUT_DATA_NATIVE_TESTS)/art
9432b4b2a30636360756058524f8491ee4cd81c423Brian Carlstrom
9547a0d5a6f221066c3daf7f67f2122ed9c9cd217cBrian Carlstrom# directory used for tests on device
9647a0d5a6f221066c3daf7f67f2122ed9c9cd217cBrian CarlstromART_TEST_DIR := /data/art-test
9747a0d5a6f221066c3daf7f67f2122ed9c9cd217cBrian CarlstromART_TEST_OUT := $(TARGET_OUT_DATA)/art-test
9847a0d5a6f221066c3daf7f67f2122ed9c9cd217cBrian Carlstrom
99cdc8de4642ca447a7ed205f0d2203cb217e48aadBrian CarlstromART_CPP_EXTENSION := .cc
1009bf84fd5b69f17ad3e3dca37aa021bdc4246259eCarl Shapiro
1017940e44f4517de5e2634a7e07d58d0fb26160513Brian CarlstromART_HOST_SHLIB_EXTENSION := $(HOST_SHLIB_SUFFIX)
1027940e44f4517de5e2634a7e07d58d0fb26160513Brian CarlstromART_HOST_SHLIB_EXTENSION ?= .so
1037940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom
1040af5543f8ea20c3e655b2d748a1b7dcf283792feElliott HughesART_C_INCLUDES := \
1050af5543f8ea20c3e655b2d748a1b7dcf283792feElliott Hughes	external/gtest/include \
1061d54e73444e017d3a65234e0f193846f3e27472bIan Rogers	external/valgrind/main/include \
107c143c55718342519db5398e41dda31422cf16c79buzbee	external/zlib \
1087940e44f4517de5e2634a7e07d58d0fb26160513Brian Carlstrom	frameworks/compile/mclinker/include
109b0460eaa2cb131f1dbdd5a7217bd36b9a9f1b995Brian Carlstrom
1101d3f114124b140629a7d22fa5cfa20ab8fc96934Elliott Hughesart_cflags := \
111637c65b1e431fd90195b71c141b3590bd81cc91aIan Rogers	-fno-rtti \
1129b3c3cdb62f7142384e6bf2c0cb6e3a76b16f0e3Mathieu Chartier	-std=gnu++11 \
1131fb8620309a4e94d11879aabc33364acfa733904Carl Shapiro	-ggdb3 \
1141fb8620309a4e94d11879aabc33364acfa733904Carl Shapiro	-Wall \
1151fb8620309a4e94d11879aabc33364acfa733904Carl Shapiro	-Werror \
1161fb8620309a4e94d11879aabc33364acfa733904Carl Shapiro	-Wextra \
117eaa200d9b8a28f1a23b6ded7875d2b8fca555254Elliott Hughes	-Wstrict-aliasing=3 \
1181fb8620309a4e94d11879aabc33364acfa733904Carl Shapiro	-fstrict-aliasing
1191fb8620309a4e94d11879aabc33364acfa733904Carl Shapiro
120c44f68fb6a6d55c0df28dd05b93d8906ec20bd08Anwar Ghuloumifeq ($(ART_SMALL_MODE),true)
121c44f68fb6a6d55c0df28dd05b93d8906ec20bd08Anwar Ghuloum  art_cflags += -DART_SMALL_MODE=1
122f3e9855ee2000106b54fd479f7a46da2dc2ad079Ian Rogersendif
123f3e9855ee2000106b54fd479f7a46da2dc2ad079Ian Rogers
1247467ee05012e1fd9834df74663c1ebda46f5636bDragos Sbirleaifeq ($(ART_SEA_IR_MODE),true)
1257467ee05012e1fd9834df74663c1ebda46f5636bDragos Sbirlea  art_cflags += -DART_SEA_IR_MODE=1
1267467ee05012e1fd9834df74663c1ebda46f5636bDragos Sbirleaendif
1277467ee05012e1fd9834df74663c1ebda46f5636bDragos Sbirlea
12869d7a6b9f87afbf6308e28c66bbcab7ff94c8049Brian Carlstromifeq ($(HOST_OS),linux)
12924782c6aa7abf396de057d7eb15035b4c594a3b4Shih-wei Liao  art_non_debug_cflags := \
1303b6baaa203fa63f1522b2172a1645f90412afdaeElliott Hughes	-Wframe-larger-than=1728
13169d7a6b9f87afbf6308e28c66bbcab7ff94c8049Brian Carlstromendif
1323b6baaa203fa63f1522b2172a1645f90412afdaeElliott Hughes
1338d11af55067676eba0e210f05f340784f541c4c7Ian Rogersart_non_debug_cflags := \
1348d11af55067676eba0e210f05f340784f541c4c7Ian Rogers        -O3
1358d11af55067676eba0e210f05f340784f541c4c7Ian Rogers
1363b6baaa203fa63f1522b2172a1645f90412afdaeElliott Hughesart_debug_cflags := \
1378d11af55067676eba0e210f05f340784f541c4c7Ian Rogers	-O1 \
13806e3ad4a651c2c58dba5e865cd06d2f98462bf1dElliott Hughes	-DDYNAMIC_ANNOTATIONS_ENABLED=1 \
1393b6baaa203fa63f1522b2172a1645f90412afdaeElliott Hughes	-UNDEBUG
1403b6baaa203fa63f1522b2172a1645f90412afdaeElliott Hughes
1418161c0336b97e11e02c000af357f8f40de2e23e4jeffhao# start of image reserved address space
1428161c0336b97e11e02c000af357f8f40de2e23e4jeffhaoIMG_HOST_BASE_ADDRESS   := 0x60000000
1438161c0336b97e11e02c000af357f8f40de2e23e4jeffhao
1448161c0336b97e11e02c000af357f8f40de2e23e4jeffhaoifeq ($(TARGET_ARCH),mips)
1458161c0336b97e11e02c000af357f8f40de2e23e4jeffhaoIMG_TARGET_BASE_ADDRESS := 0x30000000
1468161c0336b97e11e02c000af357f8f40de2e23e4jeffhaoelse
1478161c0336b97e11e02c000af357f8f40de2e23e4jeffhaoIMG_TARGET_BASE_ADDRESS := 0x60000000
1488161c0336b97e11e02c000af357f8f40de2e23e4jeffhaoendif
1498161c0336b97e11e02c000af357f8f40de2e23e4jeffhao
1508161c0336b97e11e02c000af357f8f40de2e23e4jeffhaoART_HOST_CFLAGS := $(art_cflags) -DANDROID_SMP=1 -DART_BASE_ADDRESS=$(IMG_HOST_BASE_ADDRESS)
1519adbff5b85fcae2b3e2443344415f6c17ea3ba0aIan Rogers
1529adbff5b85fcae2b3e2443344415f6c17ea3ba0aIan Rogersifeq ($(TARGET_ARCH),x86)
1539adbff5b85fcae2b3e2443344415f6c17ea3ba0aIan RogersART_TARGET_CFLAGS += -msse2
1549adbff5b85fcae2b3e2443344415f6c17ea3ba0aIan Rogersendif
1551d3f114124b140629a7d22fa5cfa20ab8fc96934Elliott Hughes
1568161c0336b97e11e02c000af357f8f40de2e23e4jeffhaoART_TARGET_CFLAGS := $(art_cflags) -DART_TARGET -DART_BASE_ADDRESS=$(IMG_TARGET_BASE_ADDRESS)
1571d3f114124b140629a7d22fa5cfa20ab8fc96934Elliott Hughesifeq ($(TARGET_CPU_SMP),true)
1581d3f114124b140629a7d22fa5cfa20ab8fc96934Elliott Hughes  ART_TARGET_CFLAGS += -DANDROID_SMP=1
1591d3f114124b140629a7d22fa5cfa20ab8fc96934Elliott Hugheselse
1601d3f114124b140629a7d22fa5cfa20ab8fc96934Elliott Hughes  ART_TARGET_CFLAGS += -DANDROID_SMP=0
1611d3f114124b140629a7d22fa5cfa20ab8fc96934Elliott Hughesendif
1621d3f114124b140629a7d22fa5cfa20ab8fc96934Elliott Hughes
163ba3ce9a51651f3f3de2ecc82673b46762b1f2d9dIan Rogers# Enable thread-safety for GCC 4.6 on the target but not for GCC 4.7 where this feature was removed.
164ba3ce9a51651f3f3de2ecc82673b46762b1f2d9dIan Rogersifneq ($(filter 4.6 4.6.%, $(TARGET_GCC_VERSION)),)
165ba3ce9a51651f3f3de2ecc82673b46762b1f2d9dIan Rogers  ART_TARGET_CFLAGS += -Wthread-safety
166ba3ce9a51651f3f3de2ecc82673b46762b1f2d9dIan Rogerselse
167ba3ce9a51651f3f3de2ecc82673b46762b1f2d9dIan Rogers  # Warn if not using GCC 4.6 for target builds when not doing a top-level or 'mma' build.
168ba3ce9a51651f3f3de2ecc82673b46762b1f2d9dIan Rogers  ifneq ($(ONE_SHOT_MAKEFILE),)
16937c19bc2b36535e686782b7b5d4030d2fb7e2f56Dragos Sbirlea    # Enable target GCC 4.6 with: export TARGET_GCC_VERSION_EXP=4.6
17037c19bc2b36535e686782b7b5d4030d2fb7e2f56Dragos Sbirlea    $(info Using target GCC $(TARGET_GCC_VERSION) disables thread-safety checks.)
171ba3ce9a51651f3f3de2ecc82673b46762b1f2d9dIan Rogers  endif
172ba3ce9a51651f3f3de2ecc82673b46762b1f2d9dIan Rogersendif
173ba3ce9a51651f3f3de2ecc82673b46762b1f2d9dIan Rogers# We build with GCC 4.6 on the host.
174ba3ce9a51651f3f3de2ecc82673b46762b1f2d9dIan RogersART_HOST_CFLAGS += -Wthread-safety
175ba3ce9a51651f3f3de2ecc82673b46762b1f2d9dIan Rogers
176f89eccd509475cb1949c729e796b26a2a248ae04Ian Rogers# Make host builds easier to debug and profile by not omitting the frame pointer.
177f89eccd509475cb1949c729e796b26a2a248ae04Ian RogersART_HOST_CFLAGS += -fno-omit-frame-pointer
178f89eccd509475cb1949c729e796b26a2a248ae04Ian Rogers
17989521898b56f2ebc3fb68acfb6bc6dde9b6f5c38Brian Carlstrom# To use oprofile_android --callgraph, uncomment this and recompile with "mmm art -B -j16"
18089521898b56f2ebc3fb68acfb6bc6dde9b6f5c38Brian Carlstrom# ART_TARGET_CFLAGS += -fno-omit-frame-pointer -marm -mapcs
18189521898b56f2ebc3fb68acfb6bc6dde9b6f5c38Brian Carlstrom
1823b6baaa203fa63f1522b2172a1645f90412afdaeElliott HughesART_HOST_NON_DEBUG_CFLAGS := $(art_non_debug_cflags)
1833b6baaa203fa63f1522b2172a1645f90412afdaeElliott HughesART_TARGET_NON_DEBUG_CFLAGS := $(art_non_debug_cflags)
1843b6baaa203fa63f1522b2172a1645f90412afdaeElliott Hughes
185fd2ec5473d9c63b15dbc28c8a5996c83120cb8aeBrian Carlstrom# TODO: move -fkeep-inline-functions to art_debug_cflags when target gcc > 4.4 (and -lsupc++)
1861ba271478b17b25ca634563fc915fb6263efd492Elliott HughesART_HOST_DEBUG_CFLAGS := $(art_debug_cflags) -fkeep-inline-functions
187fd2ec5473d9c63b15dbc28c8a5996c83120cb8aeBrian CarlstromART_HOST_DEBUG_LDLIBS := -lsupc++
188ad6c9c3dbf7541340f22ccbb333f08556ad7e000Elliott Hughes
189ad6c9c3dbf7541340f22ccbb333f08556ad7e000Elliott Hughesifneq ($(HOST_OS),linux)
190ad6c9c3dbf7541340f22ccbb333f08556ad7e000Elliott Hughes  # Some Mac OS pthread header files are broken with -fkeep-inline-functions.
19134cf51471a40d55dd63897daf855fec8179b0f7fElliott Hughes  ART_HOST_DEBUG_CFLAGS := $(filter-out -fkeep-inline-functions,$(ART_HOST_DEBUG_CFLAGS))
19260234563a621362c6ffe753fe5368afcd6682bcbElliott Hughes  # Mac OS doesn't have libsupc++.
19360234563a621362c6ffe753fe5368afcd6682bcbElliott Hughes  ART_HOST_DEBUG_LDLIBS := $(filter-out -lsupc++,$(ART_HOST_DEBUG_LDLIBS))
194ad6c9c3dbf7541340f22ccbb333f08556ad7e000Elliott Hughesendif
195ad6c9c3dbf7541340f22ccbb333f08556ad7e000Elliott Hughes
1968692721dd8a3679ca874c3d1be0cecb62ff148f6Brian CarlstromART_TARGET_DEBUG_CFLAGS := $(art_debug_cflags)
1971d3f114124b140629a7d22fa5cfa20ab8fc96934Elliott Hughes
198c928de90ad22ecdf83c18a07008409595f13d3b1Ian Rogersifeq ($(ART_USE_PORTABLE_COMPILER),true)
19958e63f9e999605bce6e8dc301eaf5e2ee0981e03TDYaPARALLEL_ART_COMPILE_JOBS := -j8
20058e63f9e999605bce6e8dc301eaf5e2ee0981e03TDYaendif
20158e63f9e999605bce6e8dc301eaf5e2ee0981e03TDYa
2024b620ffb1b4d0c96a94bb3afe314f35d53990ec6Brian CarlstromART_BUILD_TARGET := false
2034b620ffb1b4d0c96a94bb3afe314f35d53990ec6Brian CarlstromART_BUILD_HOST := false
204265091e581c9f643b37e7966890911f09e223269Brian CarlstromART_BUILD_NDEBUG := false
205265091e581c9f643b37e7966890911f09e223269Brian CarlstromART_BUILD_DEBUG := false
2064b620ffb1b4d0c96a94bb3afe314f35d53990ec6Brian Carlstromifeq ($(ART_BUILD_TARGET_NDEBUG),true)
2074b620ffb1b4d0c96a94bb3afe314f35d53990ec6Brian Carlstrom  ART_BUILD_TARGET := true
208265091e581c9f643b37e7966890911f09e223269Brian Carlstrom  ART_BUILD_NDEBUG := true
2094b620ffb1b4d0c96a94bb3afe314f35d53990ec6Brian Carlstromendif
2104b620ffb1b4d0c96a94bb3afe314f35d53990ec6Brian Carlstromifeq ($(ART_BUILD_TARGET_DEBUG),true)
2114b620ffb1b4d0c96a94bb3afe314f35d53990ec6Brian Carlstrom  ART_BUILD_TARGET := true
212265091e581c9f643b37e7966890911f09e223269Brian Carlstrom  ART_BUILD_DEBUG := true
2134b620ffb1b4d0c96a94bb3afe314f35d53990ec6Brian Carlstromendif
2144b620ffb1b4d0c96a94bb3afe314f35d53990ec6Brian Carlstromifeq ($(ART_BUILD_HOST_NDEBUG),true)
2154b620ffb1b4d0c96a94bb3afe314f35d53990ec6Brian Carlstrom  ART_BUILD_HOST := true
216265091e581c9f643b37e7966890911f09e223269Brian Carlstrom  ART_BUILD_NDEBUG := true
2174b620ffb1b4d0c96a94bb3afe314f35d53990ec6Brian Carlstromendif
2184b620ffb1b4d0c96a94bb3afe314f35d53990ec6Brian Carlstromifeq ($(ART_BUILD_HOST_DEBUG),true)
2194b620ffb1b4d0c96a94bb3afe314f35d53990ec6Brian Carlstrom  ART_BUILD_HOST := true
220265091e581c9f643b37e7966890911f09e223269Brian Carlstrom  ART_BUILD_DEBUG := true
2214b620ffb1b4d0c96a94bb3afe314f35d53990ec6Brian Carlstromendif
22237c19bc2b36535e686782b7b5d4030d2fb7e2f56Dragos Sbirlea
22337c19bc2b36535e686782b7b5d4030d2fb7e2f56Dragos Sbirleaendif # ANDROID_COMMON_MK
224