• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2013 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//build/toolchain/ohos/ohos_toolchain.gni")
6
7ohos_clang_toolchain("ohos_clang_arm") {
8  sysroot = "${musl_sysroot}"
9  lib_dir = "usr/lib/arm-linux-ohos"
10  toolchain_args = {
11    current_cpu = "arm"
12  }
13}
14
15ohos_clang_toolchain("ohos_clang_arm64") {
16  sysroot = "${musl_sysroot}"
17  lib_dir = "usr/lib/aarch64-linux-ohos"
18  toolchain_args = {
19    current_cpu = "arm64"
20  }
21}
22
23ohos_clang_toolchain("ohos_clang_x86_64") {
24  sysroot = "${musl_sysroot}"
25  lib_dir = "usr/lib/x86_64-linux-ohos"
26  toolchain_args = {
27    current_cpu = "x86_64"
28  }
29}
30