core.mk revision c05d0000bb3e91a21c2cc7cbd85232f1afc7a8d2
1#
2# Copyright (C) 2007 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
17PRODUCT_BRAND := generic
18PRODUCT_DEVICE := generic
19PRODUCT_NAME := core
20
21PRODUCT_PROPERTY_OVERRIDES := \
22    ro.config.notification_sound=OnTheHunt.ogg \
23    ro.config.alarm_alert=Alarm_Classic.ogg
24
25PRODUCT_PACKAGES := \
26    bouncycastle \
27    core \
28    core-junit \
29    create_test_dmtrace \
30    dalvikvm \
31    dexdeps \
32    dexdump \
33    dexlist \
34    dexopt \
35    dmtracedump \
36    dvz \
37    dx \
38    ext \
39    framework-res \
40    hprof-conv \
41    icu.dat \
42    jasmin \
43    jasmin.jar \
44    libcrypto \
45    libdex \
46    libdvm \
47    libexpat \
48    libicui18n \
49    libicuuc \
50    libjavacore \
51    libnativehelper \
52    libsqlite_jni \
53    libssl \
54    libz \
55    sqlite-jdbc \
56    Browser \
57    CarHomeLauncher \
58    Contacts \
59    Home \
60    HTMLViewer \
61    Phone \
62    ApplicationsProvider \
63    ContactsProvider \
64    DownloadProvider \
65    MediaProvider \
66    PicoTts \
67    SettingsProvider \
68    TelephonyProvider \
69    TtsService \
70    VpnServices \
71    UserDictionaryProvider \
72    PackageInstaller \
73    DefaultContainerService \
74    Bugreport
75
76# force WITH_HOST_DALVIK on userdebug and user builds.
77# TODO: this is redundant with a similar clause in build/core/main.mk.
78ifneq (,$(filter userdebug user,$(TARGET_BUILD_VARIANT)))
79  ifeq ($(HOST_OS),linux)
80    WITH_HOST_DALVIK := true
81  endif
82endif
83
84# host-only dependencies
85ifeq ($(WITH_HOST_DALVIK),true)
86    PRODUCT_PACKAGES += \
87        bouncycastle-hostdex \
88        core-hostdex \
89        libjavacore-host
90endif
91
92