Carl Shapiro | 7b21670 | 2011-06-17 15:09:26 -0700 | [diff] [blame] | 1 | # |
| 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 Shapiro | 9bf84fd | 2011-06-17 17:05:25 -0700 | [diff] [blame] | 17 | LOCAL_CPP_EXTENSION := .cc |
| 18 | |
| 19 | AEXEC_LOCAL_SRC_FILES := \ |
| 20 | src/main.cc |
| 21 | |
Carl Shapiro | 7b21670 | 2011-06-17 15:09:26 -0700 | [diff] [blame] | 22 | LIBART_LOCAL_SRC_FILES := \ |
Carl Shapiro | a5d5cfd | 2011-06-21 12:46:59 -0700 | [diff] [blame] | 23 | src/art.cc \ |
| 24 | src/assembler.cc \ |
| 25 | src/memory_region.cc |
| 26 | |
| 27 | ifeq ($(LIBART_TARGET_ARCH),arm) |
| 28 | LIBART_LOCAL_SRC_FILES += \ |
| 29 | src/assembler_arm.cc |
| 30 | endif |
| 31 | |
| 32 | ifeq ($(LIBART_TARGET_ARCH),x86) |
| 33 | LIBART_LOCAL_SRC_FILES += \ |
| 34 | src/assembler_x86.cc |
| 35 | endif |
Jesse Wilson | c981ace | 2011-06-22 14:17:14 -0700 | [diff] [blame] | 36 | |
Carl Shapiro | 008e412 | 2011-06-23 17:27:46 -0700 | [diff] [blame^] | 37 | TEST_LOCAL_SRC_FILES := |
Jesse Wilson | c981ace | 2011-06-22 14:17:14 -0700 | [diff] [blame] | 38 | |
Carl Shapiro | 008e412 | 2011-06-23 17:27:46 -0700 | [diff] [blame^] | 39 | ifeq ($(TEST_TARGET_ARCH),arm) |
| 40 | TEST_LOCAL_SRC_FILES += |
| 41 | endif |
| 42 | |
| 43 | ifeq ($(TEST_TARGET_ARCH),x86) |
| 44 | TEST_LOCAL_SRC_FILES += \ |
| 45 | src/assembler_x86_test.cc |
| 46 | endif |