blob: 3f9ea15fb353e8a63a3fbd7fd166ecd1c08d02d7 [file] [log] [blame]
Brian Carlstrom16192862011-09-12 17:50:06 -07001#
2# Copyright (C) 2011 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
Brian Carlstrom27ec9612011-09-19 20:20:38 -070017########################################################################
Brian Carlstrom7ab763c2013-12-09 00:38:02 -080018# Rules to build a smaller "core" image to support core libraries
19# (that is, non-Android frameworks) testing on the host and target
20#
21# The main rules to build the default "boot" image are in
22# build/core/dex_preopt_libart.mk
Brian Carlstrom16192862011-09-12 17:50:06 -070023
Nicolas Geoffray611e1db2014-10-09 17:34:45 +010024include art/build/Android.common_build.mk
Dave Allison70202782013-10-22 17:52:19 -070025
Andreas Gampe4d2ef332015-08-05 09:24:45 -070026LOCAL_DEX2OAT_HOST_INSTRUCTION_SET_FEATURES_OPTION :=
Ian Rogersd582fa42014-11-05 23:46:43 -080027ifeq ($(DEX2OAT_HOST_INSTRUCTION_SET_FEATURES),)
Andreas Gampe4d2ef332015-08-05 09:24:45 -070028 LOCAL_DEX2OAT_HOST_INSTRUCTION_SET_FEATURES_OPTION := --instruction-set-features=default
29else
30 LOCAL_DEX2OAT_HOST_INSTRUCTION_SET_FEATURES_OPTION := --instruction-set-features=$(DEX2OAT_HOST_INSTRUCTION_SET_FEATURES)
Ian Rogersd582fa42014-11-05 23:46:43 -080031endif
Andreas Gampe4d2ef332015-08-05 09:24:45 -070032LOCAL_$(HOST_2ND_ARCH_VAR_PREFIX)DEX2OAT_HOST_INSTRUCTION_SET_FEATURES_OPTION :=
Ian Rogersd582fa42014-11-05 23:46:43 -080033ifeq ($($(HOST_2ND_ARCH_VAR_PREFIX)DEX2OAT_HOST_INSTRUCTION_SET_FEATURES),)
Andreas Gampe4d2ef332015-08-05 09:24:45 -070034 LOCAL_$(HOST_2ND_ARCH_VAR_PREFIX)DEX2OAT_HOST_INSTRUCTION_SET_FEATURES_OPTION := --instruction-set-features=default
35else
36 LOCAL_$(HOST_2ND_ARCH_VAR_PREFIX)DEX2OAT_HOST_INSTRUCTION_SET_FEATURES_OPTION := --instruction-set-features=$($(HOST_2ND_ARCH_VAR_PREFIX)DEX2OAT_HOST_INSTRUCTION_SET_FEATURES)
Ian Rogersd582fa42014-11-05 23:46:43 -080037endif
38
Nicolas Geoffray1db132d2014-03-26 10:56:24 +000039# Use dex2oat debug version for better error reporting
Nicolas Geoffrayb76bc782016-09-14 12:33:34 +000040# $(1): compiler - optimizing, interpreter or interpreter-access-checks.
Richard Uhlerbb00f812017-02-16 14:21:10 +000041# $(2): 2ND_ or undefined, 2ND_ for 32-bit host builds.
42# $(3): wrapper, e.g., valgrind.
43# $(4): dex2oat suffix, e.g, valgrind requires 32 right now.
44# $(5): multi-image.
Alex Light1ef4ce82014-08-27 11:13:47 -070045# NB depending on HOST_CORE_DEX_LOCATIONS so we are sure to have the dex files in frameworks for
46# run-test --no-image
Ian Rogersafd9acc2014-06-17 08:21:54 -070047define create-core-oat-host-rules
Andreas Gampe63fc30e2014-10-24 21:58:16 -070048 core_compile_options :=
49 core_image_name :=
50 core_oat_name :=
51 core_infix :=
Nicolas Geoffraya136ab52014-10-31 10:48:25 +000052 core_dex2oat_dependency := $(DEX2OAT_DEPENDENCY)
Andreas Gampe63fc30e2014-10-24 21:58:16 -070053
54 ifeq ($(1),optimizing)
Nicolas Geoffraya136ab52014-10-31 10:48:25 +000055 core_compile_options += --compiler-backend=Optimizing
Nicolas Geoffrayc13f13a2015-10-06 12:39:17 +010056 core_dex2oat_dependency := $(DEX2OAT)
Andreas Gampe63fc30e2014-10-24 21:58:16 -070057 endif
58 ifeq ($(1),interpreter)
Nicolas Geoffray49cda062017-04-21 13:08:25 +010059 core_compile_options += --compiler-filter=quicken
Andreas Gampe63fc30e2014-10-24 21:58:16 -070060 core_infix := -interpreter
61 endif
Andreas Gampe825570c2015-07-26 10:26:03 -070062 ifeq ($(1),interp-ac)
Nicolas Geoffray49cda062017-04-21 13:08:25 +010063 core_compile_options += --compiler-filter=extract --runtime-arg -Xverify:softfail
Andreas Gampe825570c2015-07-26 10:26:03 -070064 core_infix := -interp-ac
Igor Murashkin7617abd2015-07-10 18:27:47 -070065 endif
Nicolas Geoffrayb76bc782016-09-14 12:33:34 +000066 ifneq ($(filter-out interpreter interp-ac optimizing,$(1)),)
Andreas Gampe63fc30e2014-10-24 21:58:16 -070067 #Technically this test is not precise, but hopefully good enough.
Nicolas Geoffrayb76bc782016-09-14 12:33:34 +000068 $$(error found $(1) expected interpreter, interpreter-access-checks, or optimizing)
Andreas Gampe63fc30e2014-10-24 21:58:16 -070069 endif
Andreas Gampec23c9c92014-10-28 14:47:25 -070070
Richard Uhlerbb00f812017-02-16 14:21:10 +000071 # If $(5) is true, generate a multi-image.
72 ifeq ($(5),true)
Jeff Haodcdc85b2015-12-04 14:06:18 -080073 core_multi_infix := -multi
74 core_multi_param := --multi-image --no-inline-from=core-oj-hostdex.jar
75 core_multi_group := _multi
76 else
77 core_multi_infix :=
78 core_multi_param :=
79 core_multi_group :=
80 endif
81
Richard Uhlerbb00f812017-02-16 14:21:10 +000082 core_image_name := $($(2)HOST_CORE_IMG_OUT_BASE)$$(core_infix)$$(core_multi_infix)$(3)$(CORE_IMG_SUFFIX)
83 core_oat_name := $($(2)HOST_CORE_OAT_OUT_BASE)$$(core_infix)$$(core_multi_infix)$(3)$(CORE_OAT_SUFFIX)
Andreas Gampe63fc30e2014-10-24 21:58:16 -070084
85 # Using the bitness suffix makes it easier to add as a dependency for the run-test mk.
Richard Uhlerbb00f812017-02-16 14:21:10 +000086 ifeq ($(2),)
87 $(3)HOST_CORE_IMAGE_$(1)$$(core_multi_group)_64 := $$(core_image_name)
Andreas Gampe63fc30e2014-10-24 21:58:16 -070088 else
Richard Uhlerbb00f812017-02-16 14:21:10 +000089 $(3)HOST_CORE_IMAGE_$(1)$$(core_multi_group)_32 := $$(core_image_name)
Andreas Gampe63fc30e2014-10-24 21:58:16 -070090 endif
Richard Uhlerbb00f812017-02-16 14:21:10 +000091 $(3)HOST_CORE_IMG_OUTS += $$(core_image_name)
92 $(3)HOST_CORE_OAT_OUTS += $$(core_oat_name)
Andreas Gampe63fc30e2014-10-24 21:58:16 -070093
Andreas Gampe088b16e2014-12-03 21:59:27 -080094 # If we have a wrapper, make the target phony.
Richard Uhlerbb00f812017-02-16 14:21:10 +000095 ifneq ($(3),)
Andreas Gampe088b16e2014-12-03 21:59:27 -080096.PHONY: $$(core_image_name)
97 endif
Andreas Gampe63fc30e2014-10-24 21:58:16 -070098$$(core_image_name): PRIVATE_CORE_COMPILE_OPTIONS := $$(core_compile_options)
99$$(core_image_name): PRIVATE_CORE_IMG_NAME := $$(core_image_name)
100$$(core_image_name): PRIVATE_CORE_OAT_NAME := $$(core_oat_name)
Jeff Haodcdc85b2015-12-04 14:06:18 -0800101$$(core_image_name): PRIVATE_CORE_MULTI_PARAM := $$(core_multi_param)
Nicolas Geoffraya136ab52014-10-31 10:48:25 +0000102$$(core_image_name): $$(HOST_CORE_DEX_LOCATIONS) $$(core_dex2oat_dependency)
Shinichiro Hamajic5d29052015-12-18 15:51:51 +0900103 @echo "host dex2oat: $$@"
Ian Rogersafd9acc2014-06-17 08:21:54 -0700104 @mkdir -p $$(dir $$@)
Richard Uhlerbb00f812017-02-16 14:21:10 +0000105 $$(hide) $(3) $$(DEX2OAT)$(4) --runtime-arg -Xms$(DEX2OAT_IMAGE_XMS) \
Andreas Gampe088b16e2014-12-03 21:59:27 -0800106 --runtime-arg -Xmx$(DEX2OAT_IMAGE_XMX) \
Ian Rogersafd9acc2014-06-17 08:21:54 -0700107 --image-classes=$$(PRELOADED_CLASSES) $$(addprefix --dex-file=,$$(HOST_CORE_DEX_FILES)) \
Andreas Gampe63fc30e2014-10-24 21:58:16 -0700108 $$(addprefix --dex-location=,$$(HOST_CORE_DEX_LOCATIONS)) --oat-file=$$(PRIVATE_CORE_OAT_NAME) \
109 --oat-location=$$(PRIVATE_CORE_OAT_NAME) --image=$$(PRIVATE_CORE_IMG_NAME) \
Richard Uhlerbb00f812017-02-16 14:21:10 +0000110 --base=$$(LIBART_IMG_HOST_BASE_ADDRESS) --instruction-set=$$($(2)ART_HOST_ARCH) \
111 $$(LOCAL_$(2)DEX2OAT_HOST_INSTRUCTION_SET_FEATURES_OPTION) \
Richard Uhler556cba02017-02-28 17:06:29 +0000112 --host --android-root=$$(HOST_OUT) \
Richard Uhlerbb00f812017-02-16 14:21:10 +0000113 --generate-debug-info --generate-build-id --compile-pic \
Jeff Haodcdc85b2015-12-04 14:06:18 -0800114 $$(PRIVATE_CORE_MULTI_PARAM) $$(PRIVATE_CORE_COMPILE_OPTIONS)
Brian Carlstrom27ec9612011-09-19 20:20:38 -0700115
Andreas Gampe63fc30e2014-10-24 21:58:16 -0700116$$(core_oat_name): $$(core_image_name)
Ian Rogersafd9acc2014-06-17 08:21:54 -0700117
Andreas Gampe63fc30e2014-10-24 21:58:16 -0700118 # Clean up locally used variables.
Nicolas Geoffraya136ab52014-10-31 10:48:25 +0000119 core_dex2oat_dependency :=
Andreas Gampe63fc30e2014-10-24 21:58:16 -0700120 core_compile_options :=
121 core_image_name :=
122 core_oat_name :=
123 core_infix :=
Ian Rogersafd9acc2014-06-17 08:21:54 -0700124endef # create-core-oat-host-rules
125
Nicolas Geoffrayb76bc782016-09-14 12:33:34 +0000126# $(1): compiler - optimizing, interpreter or interpreter-access-checks.
Andreas Gampe088b16e2014-12-03 21:59:27 -0800127# $(2): wrapper.
128# $(3): dex2oat suffix.
Jeff Haodcdc85b2015-12-04 14:06:18 -0800129# $(4): multi-image.
Andreas Gampec23c9c92014-10-28 14:47:25 -0700130define create-core-oat-host-rule-combination
Richard Uhlerbb00f812017-02-16 14:21:10 +0000131 $(call create-core-oat-host-rules,$(1),,$(2),$(3),$(4))
Andreas Gampec23c9c92014-10-28 14:47:25 -0700132
133 ifneq ($(HOST_PREFER_32_BIT),true)
Richard Uhlerbb00f812017-02-16 14:21:10 +0000134 $(call create-core-oat-host-rules,$(1),2ND_,$(2),$(3),$(4))
Andreas Gampec23c9c92014-10-28 14:47:25 -0700135 endif
136endef
137
Jeff Haodcdc85b2015-12-04 14:06:18 -0800138$(eval $(call create-core-oat-host-rule-combination,optimizing,,,false))
139$(eval $(call create-core-oat-host-rule-combination,interpreter,,,false))
140$(eval $(call create-core-oat-host-rule-combination,interp-ac,,,false))
Jeff Haodcdc85b2015-12-04 14:06:18 -0800141$(eval $(call create-core-oat-host-rule-combination,optimizing,,,true))
142$(eval $(call create-core-oat-host-rule-combination,interpreter,,,true))
143$(eval $(call create-core-oat-host-rule-combination,interp-ac,,,true))
Andreas Gampec23c9c92014-10-28 14:47:25 -0700144
Andreas Gampe088b16e2014-12-03 21:59:27 -0800145valgrindHOST_CORE_IMG_OUTS :=
146valgrindHOST_CORE_OAT_OUTS :=
Jeff Haodcdc85b2015-12-04 14:06:18 -0800147$(eval $(call create-core-oat-host-rule-combination,optimizing,valgrind,32,false))
148$(eval $(call create-core-oat-host-rule-combination,interpreter,valgrind,32,false))
149$(eval $(call create-core-oat-host-rule-combination,interp-ac,valgrind,32,false))
Andreas Gampe088b16e2014-12-03 21:59:27 -0800150
151valgrind-test-art-host-dex2oat-host: $(valgrindHOST_CORE_IMG_OUTS)
Brian Carlstrom2b7cdf42011-10-13 11:18:28 -0700152
Jeff Haodcdc85b2015-12-04 14:06:18 -0800153test-art-host-dex2oat-host: $(HOST_CORE_IMG_OUTS)
154
Ian Rogersafd9acc2014-06-17 08:21:54 -0700155define create-core-oat-target-rules
Andreas Gampe63fc30e2014-10-24 21:58:16 -0700156 core_compile_options :=
157 core_image_name :=
158 core_oat_name :=
159 core_infix :=
Nicolas Geoffraya136ab52014-10-31 10:48:25 +0000160 core_dex2oat_dependency := $(DEX2OAT_DEPENDENCY)
Andreas Gampe63fc30e2014-10-24 21:58:16 -0700161
162 ifeq ($(1),optimizing)
Serban Constantinescu010cf912014-12-04 18:12:21 +0000163 core_compile_options += --compiler-backend=Optimizing
Nicolas Geoffray7701d102015-10-05 09:51:36 +0100164 # With the optimizing compiler, we want to rerun dex2oat whenever there is
165 # a dex2oat change to catch regressions early.
166 core_dex2oat_dependency := $(DEX2OAT)
Andreas Gampe63fc30e2014-10-24 21:58:16 -0700167 endif
168 ifeq ($(1),interpreter)
Nicolas Geoffray49cda062017-04-21 13:08:25 +0100169 core_compile_options += --compiler-filter=quicken
Andreas Gampe63fc30e2014-10-24 21:58:16 -0700170 core_infix := -interpreter
171 endif
Andreas Gampe825570c2015-07-26 10:26:03 -0700172 ifeq ($(1),interp-ac)
Nicolas Geoffray49cda062017-04-21 13:08:25 +0100173 core_compile_options += --compiler-filter=extract --runtime-arg -Xverify:softfail
Andreas Gampe825570c2015-07-26 10:26:03 -0700174 core_infix := -interp-ac
Igor Murashkin7617abd2015-07-10 18:27:47 -0700175 endif
Nicolas Geoffrayb76bc782016-09-14 12:33:34 +0000176 ifneq ($(filter-out interpreter interp-ac optimizing,$(1)),)
Andreas Gampec23c9c92014-10-28 14:47:25 -0700177 # Technically this test is not precise, but hopefully good enough.
Nicolas Geoffrayb76bc782016-09-14 12:33:34 +0000178 $$(error found $(1) expected interpreter, interpreter-access-checks, or optimizing)
Andreas Gampe63fc30e2014-10-24 21:58:16 -0700179 endif
Andreas Gampec23c9c92014-10-28 14:47:25 -0700180
Richard Uhlerbb00f812017-02-16 14:21:10 +0000181 core_image_name := $($(2)TARGET_CORE_IMG_OUT_BASE)$$(core_infix)$(3)$(CORE_IMG_SUFFIX)
182 core_oat_name := $($(2)TARGET_CORE_OAT_OUT_BASE)$$(core_infix)$(3)$(CORE_OAT_SUFFIX)
Andreas Gampe63fc30e2014-10-24 21:58:16 -0700183
184 # Using the bitness suffix makes it easier to add as a dependency for the run-test mk.
Richard Uhlerbb00f812017-02-16 14:21:10 +0000185 ifeq ($(2),)
Andreas Gampec23c9c92014-10-28 14:47:25 -0700186 ifdef TARGET_2ND_ARCH
Richard Uhlerbb00f812017-02-16 14:21:10 +0000187 $(3)TARGET_CORE_IMAGE_$(1)_64 := $$(core_image_name)
Andreas Gampec23c9c92014-10-28 14:47:25 -0700188 else
Richard Uhlerbb00f812017-02-16 14:21:10 +0000189 $(3)TARGET_CORE_IMAGE_$(1)_32 := $$(core_image_name)
Andreas Gampec23c9c92014-10-28 14:47:25 -0700190 endif
Andreas Gampe63fc30e2014-10-24 21:58:16 -0700191 else
Richard Uhlerbb00f812017-02-16 14:21:10 +0000192 $(3)TARGET_CORE_IMAGE_$(1)_32 := $$(core_image_name)
Andreas Gampe63fc30e2014-10-24 21:58:16 -0700193 endif
Richard Uhlerbb00f812017-02-16 14:21:10 +0000194 $(3)TARGET_CORE_IMG_OUTS += $$(core_image_name)
195 $(3)TARGET_CORE_OAT_OUTS += $$(core_oat_name)
Andreas Gampe63fc30e2014-10-24 21:58:16 -0700196
Andreas Gampe088b16e2014-12-03 21:59:27 -0800197 # If we have a wrapper, make the target phony.
Richard Uhlerbb00f812017-02-16 14:21:10 +0000198 ifneq ($(3),)
Andreas Gampe088b16e2014-12-03 21:59:27 -0800199.PHONY: $$(core_image_name)
200 endif
Andreas Gampe63fc30e2014-10-24 21:58:16 -0700201$$(core_image_name): PRIVATE_CORE_COMPILE_OPTIONS := $$(core_compile_options)
202$$(core_image_name): PRIVATE_CORE_IMG_NAME := $$(core_image_name)
203$$(core_image_name): PRIVATE_CORE_OAT_NAME := $$(core_oat_name)
Nicolas Geoffraya136ab52014-10-31 10:48:25 +0000204$$(core_image_name): $$(TARGET_CORE_DEX_FILES) $$(core_dex2oat_dependency)
Shinichiro Hamajic5d29052015-12-18 15:51:51 +0900205 @echo "target dex2oat: $$@"
Andreas Gampeafbaa1a2014-03-25 18:09:32 -0700206 @mkdir -p $$(dir $$@)
Andreas Gampe088b16e2014-12-03 21:59:27 -0800207 $$(hide) $(4) $$(DEX2OAT)$(5) --runtime-arg -Xms$(DEX2OAT_IMAGE_XMS) \
208 --runtime-arg -Xmx$(DEX2OAT_IMAGE_XMX) \
Ian Rogersafd9acc2014-06-17 08:21:54 -0700209 --image-classes=$$(PRELOADED_CLASSES) $$(addprefix --dex-file=,$$(TARGET_CORE_DEX_FILES)) \
Andreas Gampe63fc30e2014-10-24 21:58:16 -0700210 $$(addprefix --dex-location=,$$(TARGET_CORE_DEX_LOCATIONS)) --oat-file=$$(PRIVATE_CORE_OAT_NAME) \
211 --oat-location=$$(PRIVATE_CORE_OAT_NAME) --image=$$(PRIVATE_CORE_IMG_NAME) \
Richard Uhlerbb00f812017-02-16 14:21:10 +0000212 --base=$$(LIBART_IMG_TARGET_BASE_ADDRESS) --instruction-set=$$($(2)TARGET_ARCH) \
213 --instruction-set-variant=$$($(2)DEX2OAT_TARGET_CPU_VARIANT) \
214 --instruction-set-features=$$($(2)DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES) \
Richard Uhler556cba02017-02-28 17:06:29 +0000215 --android-root=$$(PRODUCT_OUT)/system \
Richard Uhlerbb00f812017-02-16 14:21:10 +0000216 --generate-debug-info --generate-build-id --compile-pic \
Nicolas Geoffray130bd1b2014-11-03 16:23:48 +0000217 $$(PRIVATE_CORE_COMPILE_OPTIONS) || (rm $$(PRIVATE_CORE_OAT_NAME); exit 1)
Andreas Gampeafbaa1a2014-03-25 18:09:32 -0700218
Andreas Gampe63fc30e2014-10-24 21:58:16 -0700219$$(core_oat_name): $$(core_image_name)
Andreas Gampe2fe07922014-04-21 07:50:39 -0700220
Andreas Gampe63fc30e2014-10-24 21:58:16 -0700221 # Clean up locally used variables.
Nicolas Geoffraya136ab52014-10-31 10:48:25 +0000222 core_dex2oat_dependency :=
Andreas Gampe63fc30e2014-10-24 21:58:16 -0700223 core_compile_options :=
224 core_image_name :=
225 core_oat_name :=
226 core_infix :=
Ian Rogersafd9acc2014-06-17 08:21:54 -0700227endef # create-core-oat-target-rules
Andreas Gampeafbaa1a2014-03-25 18:09:32 -0700228
Nicolas Geoffrayb76bc782016-09-14 12:33:34 +0000229# $(1): compiler - optimizing, interpreter or interpreter-access-checks.
Andreas Gampe088b16e2014-12-03 21:59:27 -0800230# $(2): wrapper.
231# $(3): dex2oat suffix.
Andreas Gampec23c9c92014-10-28 14:47:25 -0700232define create-core-oat-target-rule-combination
Richard Uhlerbb00f812017-02-16 14:21:10 +0000233 $(call create-core-oat-target-rules,$(1),,$(2),$(3))
Andreas Gampec23c9c92014-10-28 14:47:25 -0700234
235 ifdef TARGET_2ND_ARCH
Richard Uhlerbb00f812017-02-16 14:21:10 +0000236 $(call create-core-oat-target-rules,$(1),2ND_,$(2),$(3))
Andreas Gampec23c9c92014-10-28 14:47:25 -0700237 endif
238endef
239
Andreas Gampe088b16e2014-12-03 21:59:27 -0800240$(eval $(call create-core-oat-target-rule-combination,optimizing,,))
241$(eval $(call create-core-oat-target-rule-combination,interpreter,,))
Andreas Gampe825570c2015-07-26 10:26:03 -0700242$(eval $(call create-core-oat-target-rule-combination,interp-ac,,))
Andreas Gampe088b16e2014-12-03 21:59:27 -0800243
244valgrindTARGET_CORE_IMG_OUTS :=
245valgrindTARGET_CORE_OAT_OUTS :=
Andreas Gampe088b16e2014-12-03 21:59:27 -0800246$(eval $(call create-core-oat-target-rule-combination,optimizing,valgrind,32))
247$(eval $(call create-core-oat-target-rule-combination,interpreter,valgrind,32))
Andreas Gampe825570c2015-07-26 10:26:03 -0700248$(eval $(call create-core-oat-target-rule-combination,interp-ac,valgrind,32))
Andreas Gampe088b16e2014-12-03 21:59:27 -0800249
250valgrind-test-art-host-dex2oat-target: $(valgrindTARGET_CORE_IMG_OUTS)
251
252valgrind-test-art-host-dex2oat: valgrind-test-art-host-dex2oat-host valgrind-test-art-host-dex2oat-target
Richard Uhler67e1dc52017-02-06 16:50:17 +0000253
254# Define a default core image that can be used for things like gtests that
255# need some image to run, but don't otherwise care which image is used.
Richard Uhlerbb00f812017-02-16 14:21:10 +0000256HOST_CORE_IMAGE_DEFAULT_32 := $(HOST_CORE_IMAGE_optimizing_32)
257HOST_CORE_IMAGE_DEFAULT_64 := $(HOST_CORE_IMAGE_optimizing_64)
258TARGET_CORE_IMAGE_DEFAULT_32 := $(TARGET_CORE_IMAGE_optimizing_32)
259TARGET_CORE_IMAGE_DEFAULT_64 := $(TARGET_CORE_IMAGE_optimizing_64)