blob: 916a1f92440d7eba71ffc076345d4dca39eb8a56 [file] [log] [blame]
Carl Shapiro7b216702011-06-17 15:09:26 -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
Carl Shapiro9bf84fd2011-06-17 17:05:25 -070017LOCAL_CPP_EXTENSION := .cc
18
19AEXEC_LOCAL_SRC_FILES := \
20 src/main.cc
21
Carl Shapiro7b216702011-06-17 15:09:26 -070022LIBART_LOCAL_SRC_FILES := \
Carl Shapiroa5d5cfd2011-06-21 12:46:59 -070023 src/art.cc \
24 src/assembler.cc \
Carl Shapiro12eb78e2011-06-24 14:51:06 -070025 src/dex_instruction.cc \
Carl Shapiroa5d5cfd2011-06-21 12:46:59 -070026 src/memory_region.cc
27
28ifeq ($(LIBART_TARGET_ARCH),arm)
29LIBART_LOCAL_SRC_FILES += \
30 src/assembler_arm.cc
31endif
32
33ifeq ($(LIBART_TARGET_ARCH),x86)
34LIBART_LOCAL_SRC_FILES += \
35 src/assembler_x86.cc
36endif
Jesse Wilsonc981ace2011-06-22 14:17:14 -070037
Carl Shapiro12eb78e2011-06-24 14:51:06 -070038TEST_LOCAL_SRC_FILES := \
39 src/dex_instruction_visitor_test.cc
Jesse Wilsonc981ace2011-06-22 14:17:14 -070040
Carl Shapiro008e4122011-06-23 17:27:46 -070041ifeq ($(TEST_TARGET_ARCH),arm)
42TEST_LOCAL_SRC_FILES +=
43endif
44
45ifeq ($(TEST_TARGET_ARCH),x86)
46TEST_LOCAL_SRC_FILES += \
47 src/assembler_x86_test.cc
48endif