1 # 2 # Copyright (C) 2015 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 17 JACK_STABLE_VERSION := 3.36.CANDIDATE 18 JACK_DOGFOOD_VERSION := 3.36.CANDIDATE 19 JACK_SDKTOOL_VERSION := 4.7.BETA 20 JACK_LANG_DEV_VERSION := 3.36.CANDIDATE 21 22 ifneq ($(ANDROID_JACK_DEFAULT_VERSION),) 23 JACK_DEFAULT_VERSION := $(JACK_$(ANDROID_JACK_DEFAULT_VERSION)_VERSION) 24 ifeq ($(JACK_DEFAULT_VERSION),) 25 $(error "$(ANDROID_JACK_DEFAULT_VERSION)" is an invalid value for ANDROID_JACK_DEFAULT_VERSION) 26 endif 27 JACK_APPS_VERSION := $(ANDROID_JACK_DEFAULT_VERSION) 28 else 29 ifneq (,$(TARGET_BUILD_APPS)) 30 # Unbundled branches 31 JACK_DEFAULT_VERSION := $(JACK_DOGFOOD_VERSION) 32 else 33 # Complete android tree 34 JACK_DEFAULT_VERSION := $(JACK_DOGFOOD_VERSION) 35 endif 36 JACK_APPS_VERSION := DOGFOOD 37 endif 38