OSDN Git Service

Prepare new plat-tools SDK component with 2 llvm versions.
authorXavier Ducrohet <xav@android.com>
Thu, 26 May 2011 00:48:07 +0000 (17:48 -0700)
committerXavier Ducrohet <xav@android.com>
Wed, 22 Jun 2011 22:27:44 +0000 (15:27 -0700)
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

build/sdk-darwin-x86.atree
build/sdk-linux-x86.atree
build/sdk.atree
sdk/llvm-rs-cc.txt [new file with mode: 0644]
sdk/plat_tools_source.properties

index 120fff0..bc88d16 100644 (file)
@@ -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
index eb878b5..c74216e 100644 (file)
@@ -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
index c8f1bf5..65bc4cf 100644 (file)
@@ -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
diff --git a/sdk/llvm-rs-cc.txt b/sdk/llvm-rs-cc.txt
new file mode 100644 (file)
index 0000000..34f81ef
--- /dev/null
@@ -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
\ No newline at end of file
index b75e326..47cffcf 100644 (file)
@@ -1,2 +1,2 @@
 Pkg.UserSrc=false
-Pkg.Revision=4
+Pkg.Revision=6