#
# Copyright (C) 2008 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# Handle various build version information.
#
# Guarantees that the following are defined:
# PLATFORM_VERSION
# PLATFORM_SDK_VERSION
# PLATFORM_VERSION_CODENAME
# DEFAULT_APP_TARGET_SDK
# BUILD_ID
# BUILD_NUMBER
#
# Look for an optional file containing overrides of the defaults,
# but don't cry if we don't find it. We could just use -include, but
# the build.prop target also wants INTERNAL_BUILD_ID_MAKEFILE to be set
# if the file exists.
#
INTERNAL_BUILD_ID_MAKEFILE := $(wildcard $(BUILD_SYSTEM)/build_id.mk)
ifneq "" "$(INTERNAL_BUILD_ID_MAKEFILE)"
include $(INTERNAL_BUILD_ID_MAKEFILE)
endif
ifeq "" "$(PLATFORM_VERSION)"
# This is the canonical definition of the platform version,
# which is the version that we reveal to the end user.
# Update this value when the platform version changes (rather
# than overriding it somewhere else). Can be an arbitrary string.
PLATFORM_VERSION := 2.1-update1
endif
ifeq "" "$(PLATFORM_SDK_VERSION)"
# This is the canonical definition of the SDK version, which defines
# the set of APIs and functionality available in the platform. It
# is a single integer that increases monotonically as updates to
# the SDK are released. It should only be incremented when the APIs for
# the new release are frozen (so that developers don't write apps against
# intermediate builds). During development, this number remains at the
# SDK version the branch is based on and PLATFORM_VERSION_CODENAME holds
# the code-name of the new development work.
PLATFORM_SDK_VERSION := 7
endif
ifeq "" "$(PLATFORM_VERSION_CODENAME)"
# This is the current development code-name, if the build is not a final
# release build. If this is a final release build, it is simply "REL".
PLATFORM_VERSION_CODENAME := REL
endif
ifeq "" "$(DEFAULT_APP_TARGET_SDK)"
# This is the default minSdkVersion and targetSdkVersion to use for
# all .apks created by the build system. It can be overridden by explicitly
# setting these in the .apk's AndroidManifest.xml. It is either the code
# name of the development build or, if this is a release build, the official
# SDK version of this release.
ifeq "REL" "$(PLATFORM_VERSION_CODENAME)"
DEFAULT_APP_TARGET_SDK := $(PLATFORM_SDK_VERSION)
else
DEFAULT_APP_TARGET_SDK := $(PLATFORM_VERSION_CODENAME)
endif
endif
ifeq "" "$(BUILD_ID)"
# Used to signify special builds. E.g., branches and/or releases,
# like "M5-RC7". Can be an arbitrary string, but must be a single
# word and a valid file name.
#
# If there is no BUILD_ID set, make it obvious.
BUILD_ID := UNKNOWN
endif
ifeq "" "$(BUILD_NUMBER)"
# BUILD_NUMBER should be set to the source control value that
# represents the current state of the source code. E.g., a
# perforce changelist number or a git hash. Can be an arbitrary string
# (to allow for source control that uses something other than numbers),
# but must be a single word and a valid file name.
#
# If no BUILD_NUMBER is set, create a useful "I am an engineering build
# from this date/time" value. Make it start with a non-digit so that
# anyone trying to parse it as an integer will probably get "0".
BUILD_NUMBER := eng.$(USER).$(shell date +%Y%m%d.%H%M%S)
endif
分享到:
相关推荐
标题中的"Eclair_ES_file_browser.rar"提到了"Android 2.1",这是指Android操作系统的一个版本,Eclair,发布于2009年。Eclair带来了许多改进,包括更流畅的用户界面、更好的电源管理、支持更多的蓝牙配置文件以及对...
android-2.1-eclair-src.zip android-2.1-eclair-src.zip android-2.1-eclair-src.zip
android-2.0-eclair-src.zip1 android-2.0-eclair-src.zip1 android-2.0-eclair-src.zip1
接着,v7库主要是为了支持Android API级别7(Android 2.1 Eclair)及更高版本,其中包括了AppCompat、RecyclerView、CardView、Palette等模块。AppCompat库是v7库的核心,它引入了Material Design风格的支持,使...
Android 2.0 / 2.1 (Eclair) - **发布时间**:2009年10月26日(2.0),2010年1月12日(2.1)。 - **主要特性**: - 支持多账户同步,提高了用户的便利性。 - 引入了动态壁纸功能。 - 增强了浏览器性能,支持...
v4库则是在更低版本(API级别4,即Android 2.0 Eclair)上支持更广泛功能的库,如Fragment、Loader等。 在"appcompat_v7"中,最重要的更新之一就是对ActionBar的改进。ActionBar是Android 3.0及以上版本引入的一个...
- **路径:** `/android-eclair/external/wpa_supplicant/.config.h` - **配置项:** 确保存在以下三个选项: - `CONFIG_WIRELESS_EXTENSION=y` - `CONFIG_CTRL_IFACE=y` - `CONFIG_DRIVER_WEXT=y` - **作用:** ...
public static final int ECLAIR = 5; // 2.0版本 public static final int FROYO = 8; // 2.2版本 public static final int JELLY_BEAN = 16; // 4.1版本 public static final int KITKAT = 19; // 4.4版本 public ...
- **Android 2.1 (Eclair)**: [http://lizongbo.googlecode.com/files/android_eclair_javasrc.zip](http://lizongbo.googlecode.com/files/android_eclair_javasrc.zip) - **Android 2.2 (Froyo)**: ...
我所使用的curl版本是7.20.0,android源代码版本是eclair 2.1。首先将curl解压到external目录下,将目录名称改为curl(不改也可以,不过android的习惯是不带版本号,入乡随俗吧)。(1) 首先要创建一个头文件curl_...
- 在 `eclair/AndroidBoard.mk` 中添加: ```makefile BOARD_WPA_SUPPLICANT_DRIVER := WEXT ``` 注:该修改确保wpa_supplicant能够正确编译到系统中。 4. **系统权限设置**: - 在 `eclair/init.rc` 文件中...
PLATFORM_VERSION=Eclair TARGET_PRODUCT=idea6410 TARGET_BUILD_VARIANT=eng TARGET_SIMULATOR=false TARGET_BUILD_TYPE=release TARGET_ARCH=arm HOST_ARCH=x86 HOST_OS=linux HOST_BUILD_TYPE=release ...
ZAlalm 闹钟实例1、杀不死的Service。2、双进程保护Aidl。3、Android 5.0 Job... Build.VERSION_CODES.ECLAIR ? START_STICKY_COMPATIBILITY : START_STICKY;C:前置服务,startForeground(int id, Notification n
【标签】"Fascinate"明确了这个zip文件与Samsung Fascinate手机相关,这是一款2010年发布的设备,搭载了Android 2.1(Eclair)系统,并随后通过更新升级到了Android 2.3(Gingerbread)。Rooting这样的老款设备可能...
>= Build.VERSION_CODES.ECLAIR) { event.startTracking(); } else { onBackPressed(); } return true; } return super.onKeyDown(keyCode, event); } ``` 任务管理方面,Android默认情况下,新启动的...
4. Android 2.1 (Eclair): http://lizongbo.googlecode.com/files/android_eclair_javasrc.zip 5. Android 2.2 (Froyo): http://lizongbo.googlecode.com/files/android_froyo_javasrc.zip 下载源码后,我们需要将...
- Android 2.01 和 Android 2.1-update1 对应 `android_eclair_javasrc.zip` - Android 2.2 对应 `android_froyo_javasrc.zip` - Android 2.3 对应 `android_gingerbread_javasrc.zip` 4. **检查设置结果**: -...
Android 2.1(Eclair)是Google在2009年发布的操作系统版本,它在Android 2.0的基础上进行了诸多改进和功能增强。这个版本引入了动态壁纸、改进的虚拟键盘、更快的应用程序启动速度,以及更丰富的通知系统,为用户...
显示了构建信息,包括平台版本代号(Eclair)、版本号、目标产品、目标构建变体、目标架构、主机架构、操作系统等。这些信息在构建过程中用于确保与硬件和软件环境兼容。 5. **定制产品包**: 在`build/target/...
1.3 编译在G1 上运行的android 2.1(eclair)代码 ... ..9 1.4 编译在G1 上运行的android 2.2(froyo)代码_旧方法... ..12 1.5 编译在G1 上运行的android 2.2(froyo)代码_新方法... ..15 1.6 编译在N1 上运行的android ...