diff options
author | 2017-04-28 18:24:52 +0200 | |
---|---|---|
committer | 2017-04-28 18:33:45 +0200 | |
commit | 5038016e6573962d2554fcf9c10faa0cca8714e2 (patch) | |
tree | 27c3a70a80ac6a8dac7bda9e11ed364a2d076185 /tools/osx/crosstool/osx_archs.bzl | |
parent | 151d1933823922ba9b8856c3c26c30dbd234fd27 (diff) |
Rollforward of: Basic open-source crosstool to support targeting apple platform types.
RELNOTES: None.
PiperOrigin-RevId: 154547417
Diffstat (limited to 'tools/osx/crosstool/osx_archs.bzl')
-rw-r--r-- | tools/osx/crosstool/osx_archs.bzl | 28 |
1 files changed, 28 insertions, 0 deletions
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", +] |