From 5038016e6573962d2554fcf9c10faa0cca8714e2 Mon Sep 17 00:00:00 2001 From: cparsons Date: Fri, 28 Apr 2017 18:24:52 +0200 Subject: Rollforward of: Basic open-source crosstool to support targeting apple platform types. RELNOTES: None. PiperOrigin-RevId: 154547417 --- tools/osx/crosstool/osx_archs.bzl | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tools/osx/crosstool/osx_archs.bzl (limited to 'tools/osx/crosstool/osx_archs.bzl') diff --git a/tools/osx/crosstool/osx_archs.bzl b/tools/osx/crosstool/osx_archs.bzl new file mode 100644 index 0000000000..5ee87c6173 --- /dev/null +++ b/tools/osx/crosstool/osx_archs.bzl @@ -0,0 +1,28 @@ +"""Information regarding crosstool-supported architectures.""" +# Copyright 2017 The Bazel Authors. All rights reserved. +# +# 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. + +# List of architectures supported by osx crosstool. +OSX_TOOLS_ARCHS = [ + "armeabi-v7a", + "darwin_x86_64", + "ios_x86_64", + "ios_i386", + "ios_armv7", + "ios_arm64", + "watchos_i386", + "watchos_armv7k", + "tvos_x86_64", + "tvos_arm64", +] -- cgit v1.2.3