summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiem Song <tiem@google.com>2019-08-15 15:53:43 -0700
committerTiem Song <tiem@google.com>2019-08-15 15:53:43 -0700
commit9a48e52635c280f6f9b423e8a49c8b7a4046ee4a (patch)
treee528b9b2f5d1f04868ebbd1ed03dc06c2ea7d839
parentcab78e6e2b179529535c99800f0e84d6c26619cc (diff)
downloaddoc_generation-9a48e52635c280f6f9b423e8a49c8b7a4046ee4a.tar.gz
Add blueprint file for the switcher script
This enables the build system to use the switcher script (switcher4.py) for builds. Bug: 128540915 Test: N/A Change-Id: I7bfe3161bf3da8f19c504fcb7edc08f0cc9e26e7
-rw-r--r--Android.bp27
1 files changed, 27 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..6e38175
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,27 @@
+// Copyright (C) 2019 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.
+
+python_binary_host {
+ name: "switcher4",
+ srcs: ["switcher4.py",],
+
+ version: {
+ py2: {
+ enabled: true,
+ },
+ py3: {
+ enabled: false,
+ },
+ },
+}