From c3f42a9ae2dad6bd40fd6c85f00fb0d13e988d1f Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Queru Date: Tue, 23 Feb 2010 09:52:18 -0800 Subject: [PATCH] Allow to explicitly compile the core build configuration Also add some missing copyright notices Change-Id: I86873ad58f3dadbec8be741982bed548cb7e3c8e --- target/product/AndroidProducts.mk | 1 + target/product/core.mk | 24 +++++++++++++++++++++--- target/product/generic.mk | 16 ++++++++++++++++ target/product/sdk.mk | 16 ++++++++++++++++ 4 files changed, 54 insertions(+), 3 deletions(-) diff --git a/target/product/AndroidProducts.mk b/target/product/AndroidProducts.mk index c4351772b..94b0e2411 100644 --- a/target/product/AndroidProducts.mk +++ b/target/product/AndroidProducts.mk @@ -26,6 +26,7 @@ # PRODUCT_MAKEFILES := \ + $(LOCAL_DIR)/core.mk \ $(LOCAL_DIR)/generic.mk \ $(LOCAL_DIR)/sdk.mk \ $(LOCAL_DIR)/sim.mk diff --git a/target/product/core.mk b/target/product/core.mk index a6a70df28..2eb1030af 100644 --- a/target/product/core.mk +++ b/target/product/core.mk @@ -1,7 +1,25 @@ -PRODUCT_BRAND := -PRODUCT_NAME := -PRODUCT_DEVICE := +# +# Copyright (C) 2007 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. +# + +PRODUCT_BRAND := generic +PRODUCT_DEVICE := generic +PRODUCT_NAME := core + PRODUCT_POLICY := android.policy_phone + PRODUCT_PROPERTY_OVERRIDES := \ ro.config.notification_sound=OnTheHunt.ogg \ ro.config.alarm_alert=Alarm_Classic.ogg diff --git a/target/product/generic.mk b/target/product/generic.mk index 4b1ea2e5e..ee125e41b 100644 --- a/target/product/generic.mk +++ b/target/product/generic.mk @@ -1,3 +1,19 @@ +# +# Copyright (C) 2007 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. +# + # This is a generic product that isn't specialized for a specific device. # It includes the base Android platform. diff --git a/target/product/sdk.mk b/target/product/sdk.mk index e571f9ec1..39230195e 100644 --- a/target/product/sdk.mk +++ b/target/product/sdk.mk @@ -1,3 +1,19 @@ +# +# Copyright (C) 2007 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. +# + PRODUCT_PROPERTY_OVERRIDES := PRODUCT_PACKAGES := \