Prepare new plat-tools SDK component with 2 llvm versions.
The output of the platform tree build is llvm-rs-cc-2 and should be used for apps targeting 12+. This is encoded in llvm-rs-cc.txt The older (HC) version of llvm-rs-cc is copied from the prebuilt and is used for apps targeting 11+. Until new tools that can read/process llvm-rs-cc.txt are released, old tools will use the HC version of llvm-rs-cc which ensure proper compatibility. Change-Id: Iddb924409cc9238531bf1a0448b14b7eac3396a5
This commit is contained in:
@@ -1,5 +1,30 @@
|
||||
# Copyright 2007 The Android Open Source Project
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
##############################################################################
|
||||
# Platform Tools Component
|
||||
##############################################################################
|
||||
|
||||
prebuilt/darwin-x86/llvm-rs-cc/llvm-rs-cc platform-tools/llvm-rs-cc
|
||||
|
||||
|
||||
##############################################################################
|
||||
# Tools Component
|
||||
# Legacy: this should be moved to sdk/build/tools.atree
|
||||
##############################################################################
|
||||
|
||||
# swt
|
||||
prebuilt/darwin-x86/swt/swt.jar tools/lib/x86/swt.jar
|
||||
|
||||
@@ -1,5 +1,30 @@
|
||||
# Copyright 2007 The Android Open Source Project
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
##############################################################################
|
||||
# Platform Tools Component
|
||||
##############################################################################
|
||||
|
||||
prebuilt/linux-x86/llvm-rs-cc/llvm-rs-cc platform-tools/llvm-rs-cc
|
||||
|
||||
|
||||
##############################################################################
|
||||
# Tools Component
|
||||
# Legacy: this should be moved to sdk/build/tools.atree
|
||||
##############################################################################
|
||||
|
||||
# swt
|
||||
prebuilt/linux-x86/swt/swt.jar tools/lib/x86/swt.jar
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#
|
||||
#
|
||||
# Copyright (C) 2007 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@@ -41,7 +41,9 @@ frameworks/base/docs/docs-redirect.html documentation.html
|
||||
bin/adb platform-tools/adb
|
||||
bin/aapt platform-tools/aapt
|
||||
bin/aidl platform-tools/aidl
|
||||
bin/llvm-rs-cc platform-tools/llvm-rs-cc
|
||||
bin/llvm-rs-cc platform-tools/llvm-rs-cc-2
|
||||
development/sdk/llvm-rs-cc.txt platform-tools/llvm-rs-cc.txt
|
||||
|
||||
# dx
|
||||
bin/dx platform-tools/dx
|
||||
bin/dexdump platform-tools/dexdump
|
||||
|
||||
6
sdk/llvm-rs-cc.txt
Normal file
6
sdk/llvm-rs-cc.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
# map versions of the llvm-rs-cc compiler with the min API level.
|
||||
# <compiler version>:<api leve>
|
||||
# the compiler version number maps to the filename llvm-rs-cc-<version>[.exe]
|
||||
# except for version 1 which is simply llvm-rs-cc[.exe]
|
||||
1:11
|
||||
2:12
|
||||
@@ -1,2 +1,2 @@
|
||||
Pkg.UserSrc=false
|
||||
Pkg.Revision=4
|
||||
Pkg.Revision=6
|
||||
|
||||
Reference in New Issue
Block a user