Home
last modified time | relevance | path

Searched refs:sysroot (Results 1 – 20 of 20) sorted by relevance

/build/config/
Dsysroot.gni5 # This header file defines the "sysroot" variable which is the absolute path
6 # of the sysroot. If no sysroot applies, the variable will be an empty string.
9 # The absolute path of the sysroot that is applied when compiling using
17 sysroot = target_sysroot
20 sysroot = "${musl_sysroot}"
22 import("//build_plugins/config/aosp/sysroot.gni")
25 sysroot = mac_sdk_path
28 sysroot = ios_sdk_path
30 sysroot = ""
34 link_sysroot = sysroot
/build/config/linux/
Dpkg-config.py51 sysroot = options.sysroot
52 assert sysroot
56 if sysroot and not arch:
60 libdir = sysroot + '/usr/' + options.system_libdir + '/pkgconfig'
61 libdir += ':' + sysroot + '/usr/share/pkgconfig'
96 def RewritePath(path, strip_prefix, sysroot): argument
98 if os.path.isabs(path) and not path.startswith(sysroot):
102 return os.path.join(sysroot, path)
138 if options.sysroot:
206 sysroot = options.sysroot
[all …]
Dpkg_config.gni5 import("//build/config/sysroot.gni")
32 # the sysroot mechanism to find the right .pc files.
56 if (sysroot != "") {
57 # Pass the sysroot if we're using one (it requires the CPU arch also).
60 rebase_path(sysroot),
73 # Only use the custom libdir when building with the target sysroot.
74 if (target_sysroot != "" && sysroot == target_sysroot) {
/build/lite/ndk/build/config/
DBUILD.gn94 "//sysroot/usr/include/arm-liteos-ohos",
102 "--sysroot=${root_out_dir}/sysroot",
110 "-L${root_out_dir}/sysroot/usr/lib/arm-liteos-ohos",
117 "--sysroot=${root_out_dir}/sysroot",
149 config("sysroot") {
150 include_dirs = [ "//sysroot/usr/include" ]
151 ldflags = [ "-L$ohos_root_path/sysroot/usr/lib" ]
172 configs += [ ":sysroot" ]
/build/config/posix/
DBUILD.gn10 import("//build/config/sysroot.gni")
83 if (!is_mac && sysroot != "") {
84 # Pass the sysroot to all C compiler variants, the assembler, and linker.
85 sysroot_flags = [ "--sysroot=" + rebase_path(sysroot, root_build_dir) ]
87 # This is here so that all files get recompiled after a sysroot roll and
88 # when turning the sysroot on or off. (defines are passed via the command
92 exec_script("//build/linux/sysroot_scripts/install-sysroot.py",
101 [ "--sysroot=" + rebase_path(link_sysroot, root_build_dir) ]
106 # the sysroot includes take lower precedence than the libc++
110 # 'cflags'." Because of this, we must set the sysroot flags for
[all …]
/build/toolchain/ohos/
DBUILD.gn8 sysroot = "${musl_sysroot}"
17 sysroot = "${musl_sysroot}"
26 sysroot = "${musl_sysroot}"
Dohos_toolchain.gni27 # - sysroot
30 # Subdirectory inside of sysroot where libs go.
44 rebase_path(invoker.sysroot + "/" + invoker.lib_dir, root_build_dir)
86 …fuse-ld=lld -Clink-arg=-v -Clink-arg=--target=${abi_target} -Clink-arg=--sysroot=$musl_path -C tar…
88 …fuse-ld=lld -Clink-arg=-v -Clink-arg=--target=${abi_target} -Clink-arg=--sysroot=$musl_path -C tar…
/build/lite/
Dohos_var.gni56 # Current sysroot path. E.g. "//out/hispark_taurus/ipcamera_hispark_taurus/sysroot".
57 ohos_current_sysroot = "$root_out_dir/sysroot"
/build/lite/ndk/
DBUILD.gn81 "$root_out_dir/sysroot/usr/lib",
82 "$root_out_dir/sysroot/usr/include",
85 "$root_out_dir/ndk/sysroot/usr/lib",
86 "$root_out_dir/ndk/sysroot/usr/include",
Dndk.gni24 ndk_headers_out_dir = "$ndk_out_dir/sysroot/usr/include"
25 ndk_libraries_out_dir = "$ndk_out_dir/sysroot/usr/lib"
DREADME.md26 └── sysroot **Native API**
/build/config/mac/
DBUILD.gn8 import("//build/config/sysroot.gni")
73 sysroot,
80 framework_dirs = [ sysroot ]
/build/hb/util/loader/toolchain_template/
Dohos_arm64_clang.template17 sysroot = "${musl_sysroot}"
Dohos_arm_clang.template17 sysroot = "${musl_sysroot}"
/build/toolchain/linux/
DBUILD.gn5 import("//build/config/sysroot.gni")
/build/ohos/ndk/
Dndk.gni31 ndk_headers_out_dir = "$ndk_os_irrelevant_out_dir/sysroot/usr/include"
32 ndk_libraries_out_dir = "$ndk_os_irrelevant_out_dir/sysroot/usr/lib"
222 outputs = [ "$ndk_notice_dir/sysroot/usr/lib/lib$_output_name.$_output_extension.txt" ]
/build/docs/
D编译构建调试文档.md341 --sysroot=obj/third_party/musl
355 --sysroot=obj/third_party/musl
361 --sysroot=obj/third_party/musl
365 --sysroot=obj/third_party/musl
371 --sysroot=obj/third_party/musl
396 --sysroot=obj/third_party/musl
Dhow-to-use-the-ndk-tools.md41 └── sysroot # NDK包含的库文件和头文件
/build/config/gcc/
DBUILD.gn8 import("//build/config/sysroot.gni")
/build/ohos/ndk/cmake/
Dohos.toolchain.cmake259 set(CMAKE_SYSROOT "${OHOS_SDK_NATIVE}/sysroot")