/external/libchrome/build/ |
D | clobber.py | 39 def delete_dir(build_dir): argument 40 if os.path.islink(build_dir): 45 subprocess.check_call(['rmdir', '/s', '/q', build_dir], shell=True) 47 shutil.rmtree(build_dir) 50 def delete_build_dir(build_dir): argument 52 build_ninja_d_file = os.path.join(build_dir, 'build.ninja.d') 54 delete_dir(build_dir) 61 build_ninja_file = os.path.join(build_dir, 'build.ninja') 65 gn_args_file = os.path.join(build_dir, 'args.gn') 76 delete_dir(build_dir) [all …]
|
/external/webrtc/tools_webrtc/android/ |
D | build_aar.py | 114 def _GetOutputDirectory(build_dir, arch): argument 116 return os.path.join(build_dir, arch) 145 def Build(build_dir, arch, use_goma, extra_gn_args, extra_gn_switches, argument 149 output_directory = _GetOutputDirectory(build_dir, arch) 175 def CollectCommon(aar_file, build_dir, arch): argument 178 output_directory = _GetOutputDirectory(build_dir, arch) 183 def Collect(aar_file, build_dir, arch): argument 186 output_directory = _GetOutputDirectory(build_dir, arch) 194 def GenerateLicenses(output_dir, build_dir, archs): argument 196 [_GetOutputDirectory(build_dir, arch) for arch in archs], TARGETS) [all …]
|
D | release_aar.py | 233 def ReleaseAar(use_goma, skip_tests, publish, build_dir): argument 245 use_tmp_dir = not build_dir 247 build_dir = tempfile.mkdtemp() 251 aar_file = os.path.join(build_dir, base_name + '.aar') 252 third_party_licenses_file = os.path.join(build_dir, 'LICENSE.md') 253 pom_file = os.path.join(build_dir, base_name + '.pom') 255 logging.info('Building at %s', build_dir) 258 ext_build_dir=os.path.join(build_dir, 'aar-build')) 266 tests_pass = skip_tests or _TestAAR(build_dir, user, api_key, version) 281 shutil.rmtree(build_dir, True) [all …]
|
/external/freetype/src/tools/ |
D | make_distribution_archives.py | 100 if args.build_dir: 101 build_dir = args.build_dir 102 if not os.path.exists(build_dir): 103 os.makedirs(build_dir) 106 for item in os.listdir(build_dir): 107 file_path = os.path.join(build_dir, item) 114 build_dir = tempfile.mkdtemp(prefix="freetype-dist-") 117 shutil.rmtree(build_dir) 130 tmp_src_dir = os.path.join(build_dir, freetype_dir) 176 cwd=build_dir, [all …]
|
/external/toolchain-utils/compiler_wrapper/ |
D | build.py | 43 def calc_go_args(args, version, build_dir): argument 64 os.path.join(build_dir, 'android_llvm_next_flags.go')): 76 def read_version(build_dir): argument 77 version_path = os.path.join(build_dir, 'VERSION') 83 ['git', '-C', build_dir, 'log', '-1', '--pretty=%B'], encoding='utf-8') 93 build_dir = os.path.dirname(__file__) 94 version = read_version(build_dir) 98 subprocess.call(calc_go_args(args, version, build_dir), cwd=build_dir))
|
/external/llvm-project/libcxx/utils/ci/ |
D | apple-install-libcxx.sh | 59 build_dir="${2}" 92 for arg in llvm_root build_dir symbols_dir install_dir sdk architectures version cache; do 104 for arg in llvm_root build_dir symbols_dir install_dir cache; do 124 mkdir -p "${build_dir}/${arch}" 125 (cd "${build_dir}/${arch}" && 131 -DCMAKE_INSTALL_PREFIX="${build_dir}/${arch}-install" \ 139 …xcrun --sdk "${sdk}" cmake --build "${build_dir}/${arch}" --target install-cxx install-cxxabi -- -v 145 … inputs=$(for arch in ${architectures}; do echo "${build_dir}/${arch}-install/lib/${dylib}"; done) 148 xcrun --sdk "${sdk}" lipo -create ${inputs} -output "${build_dir}/${dylib}" 152 cp "${build_dir}/${dylib}" "${install_dir}/usr/lib/${dylib}" [all …]
|
/external/python/cpython3/kokoro/ |
D | build.py | 27 def build_autoconf_target(host, python_src, build_dir, install_dir): argument 29 print('## Build Dir : {}'.format(build_dir)) 34 os.makedirs(build_dir, exist_ok=True) 82 subprocess.check_call(config_cmd, cwd=build_dir, env=env) 93 cwd=build_dir) 95 libpython], cwd=build_dir) 100 cwd=build_dir) 101 return (build_dir, install_dir) 156 build_dir = os.path.join(out_dir, 'build') 160 build_autoconf_target(host, python_src, build_dir, install_dir) [all …]
|
/external/clang/ |
D | build.py | 192 def package_toolchain(build_dir, build_name, host, dist_dir): argument 202 install_toolchain(build_dir, install_dir, host, True) 218 def install_minimal_toolchain(build_dir, install_dir, host, strip): argument 219 install_built_host_files(build_dir, install_dir, host, strip, minimal=True) 220 install_headers(build_dir, install_dir, host) 221 install_sanitizers(build_dir, install_dir, host) 224 def install_toolchain(build_dir, install_dir, host, strip): argument 225 install_built_host_files(build_dir, install_dir, host, strip) 230 install_headers(build_dir, install_dir, host) 231 install_profile_rt(build_dir, install_dir, host) [all …]
|
/external/libxaac/fuzzer/ |
D | ossfuzz.sh | 21 build_dir=$WORK/build 22 rm -rf ${build_dir} 23 mkdir -p ${build_dir} 24 pushd ${build_dir} 36 -I${build_dir} \ 40 ${build_dir}/libxaacdec.a \
|
/external/libavc/fuzzer/ |
D | ossfuzz.sh | 22 build_dir=$WORK/build 23 rm -rf ${build_dir} 24 mkdir -p ${build_dir} 25 pushd ${build_dir} 36 -I${build_dir} \ 40 ${build_dir}/libavcdec.a \
|
/external/libmpeg2/fuzzer/ |
D | ossfuzz.sh | 22 build_dir=$WORK/build 23 rm -rf ${build_dir} 24 mkdir -p ${build_dir} 25 pushd ${build_dir} 36 -I${build_dir} \ 40 ${build_dir}/libmpeg2dec.a \
|
/external/libhevc/fuzzer/ |
D | ossfuzz.sh | 22 build_dir=$WORK/build 23 rm -rf ${build_dir} 24 mkdir -p ${build_dir} 25 pushd ${build_dir} 36 -I${build_dir} \ 40 ${build_dir}/libhevcdec.a \
|
/external/grpc-grpc/tools/profiling/ios_bin/ |
D | binary_size.py | 58 build_dir = 'src/objective-c/examples/Sample/Build/Build-%s/' % where 61 return parse_link_map(build_dir + link_map_filename) 65 build_dir + framework_dir + 'openssl.framework') 66 core_size = dir_size(build_dir + framework_dir + 'grpc.framework') 67 objc_size = dir_size(build_dir + framework_dir + 'GRPCClient.framework') + \ 68 dir_size(build_dir + framework_dir + 'RxLibrary.framework') + \ 69 dir_size(build_dir + framework_dir + 'ProtoRPC.framework') 71 build_dir + framework_dir + 'Protobuf.framework') 73 build_dir + 'Build/Products/Release-iphoneos/Sample.app')
|
/external/rust/crates/grpcio-sys/grpc/tools/profiling/ios_bin/ |
D | binary_size.py | 57 build_dir = 'src/objective-c/examples/Sample/Build/Build-%s/' % where 60 return parse_link_map(build_dir + link_map_filename) 63 boringssl_size = dir_size(build_dir + framework_dir + 65 core_size = dir_size(build_dir + framework_dir + 'grpc.framework') 66 objc_size = dir_size(build_dir + framework_dir + 'GRPCClient.framework') + \ 67 dir_size(build_dir + framework_dir + 'RxLibrary.framework') + \ 68 dir_size(build_dir + framework_dir + 'ProtoRPC.framework') 69 protobuf_size = dir_size(build_dir + framework_dir + 71 app_size = dir_size(build_dir +
|
/external/pdfium/testing/tools/ |
D | safetynet_compare.py | 31 def RunSingleTestCaseParallel(this, run_label, build_dir, test_case): argument 32 result = this.RunSingleTestCase(run_label, build_dir, test_case) 46 self.safe_script_dir = self.args.build_dir 66 self.after_build_dir = self.args.build_dir 306 build_dir = self._CreateTempRepo('repo_%s' % run_label, relative_build_dir, 309 self._BuildCurrentBranch(build_dir) 310 return self._MeasureCurrentBranch(run_label, build_dir) 351 build_dir = os.path.join(src_dir, relative_build_dir) 352 os.makedirs(build_dir) 356 dest_gn_args = os.path.join(build_dir, 'args.gn') [all …]
|
/external/oss-fuzz/projects/libvpx/ |
D | build.sh | 19 build_dir=$WORK/build 20 rm -rf ${build_dir} 21 mkdir -p ${build_dir} 22 pushd ${build_dir} 55 -I${build_dir} \ 59 ${build_dir}/libvpx.a \
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/build_tools/ |
D | build_mlir.sh | 24 build_dir="$2" 33 echo "Building MLIR in $build_dir" 34 mkdir -p "$build_dir" 41 "-B$build_dir" \ 52 cmake --build "$build_dir" --target all --target mlir-cpu-runner
|
/external/llvm-project/llvm/utils/ |
D | bugpoint_gisel_reducer.py | 41 def check_bin(build_dir, bin_name): argument 42 file_name = '{}/bin/{}'.format(build_dir, bin_name) 111 build_dir = check_path(args.BuildDir) 113 llc_bin = check_bin(build_dir, 'llc') 114 opt_bin = check_bin(build_dir, 'opt') 115 bugpoint_bin = check_bin(build_dir, 'bugpoint') 139 log('$ {}/bin/llvm-dis -o - {}'.format(build_dir, output_file)) 142 '-pass-remarks-missed=gisel {}'.format(build_dir, output_file))
|
/external/xz-java/ |
D | build.properties | 23 build_dir = build key 24 dist_dir = ${build_dir}/dist 26 classes_dir = ${build_dir}/classes 27 jar_dir = ${build_dir}/jar 28 doc_dir = ${build_dir}/doc 34 maven_dir = ${build_dir}/maven
|
/external/libyuv/files/tools_libyuv/valgrind/ |
D | libyuv_tests.py | 124 if (options.target and options.build_dir and 125 not options.build_dir.endswith(options.target)): 126 options.build_dir = os.path.join(options.build_dir, options.target) 130 if options.build_dir and not test_executable.startswith(options.build_dir): 131 test_executable = os.path.join(options.build_dir, test_executable)
|
D | chrome_tests.py | 71 if not self._options.build_dir: 77 build_dir = [d for d in dirs if os.path.isdir(d)] 78 if len(build_dir) > 1: 81 "using --build-dir" % ", ".join(build_dir)) 82 elif build_dir: 83 self._options.build_dir = build_dir[0] 85 self._options.build_dir = None 87 if self._options.build_dir: 88 build_dir = os.path.abspath(self._options.build_dir) 89 self._command_preamble += ["--build-dir=%s" % (self._options.build_dir)] [all …]
|
/external/skqp/infra/bots/assets/opencl_intel_neo_linux/ |
D | create.py | 46 build_dir = os.path.join(os.getcwd(), 'build') 47 os.mkdir(build_dir) 48 os.chdir(build_dir) 58 'intel-opencl-1.0-0.x86_64-igdrcl.deb', build_dir]) 59 lib_dir = os.path.join(build_dir, 'usr', 'local', 'lib')
|
/external/skia/infra/bots/assets/opencl_intel_neo_linux/ |
D | create.py | 48 build_dir = os.path.join(os.getcwd(), 'build') 49 os.mkdir(build_dir) 50 os.chdir(build_dir) 60 'intel-opencl-1.0-0.x86_64-igdrcl.deb', build_dir]) 61 lib_dir = os.path.join(build_dir, 'usr', 'local', 'lib')
|
/external/oss-fuzz/projects/libaom/ |
D | build.sh | 19 build_dir=$WORK/build 20 mkdir -p ${build_dir} 21 pushd ${build_dir} 60 -I${build_dir} \ 64 ${build_dir}/libaom.a -Wl,--end-group
|
/external/fmtlib/support/ |
D | travis-build.py | 83 build_dir = os.path.join(fmt_dir, "_build") variable 87 makedirs_if_not_exist(build_dir) 99 main_cmake_flags, cwd=build_dir) 102 check_call(['cmake', '--build','.'], cwd=build_dir) 107 if call(['make', 'test'], env=env, cwd=build_dir): 108 with open(os.path.join(build_dir, 'Testing', 'Temporary', 'LastTest.log'), 'r') as f: 113 check_call(['make', 'install'], cwd=build_dir)
|