Searched +full:ninja +full:- +full:bin (Results 1 – 25 of 33) sorted by relevance
12
/build/blueprint/.github/workflows/ |
D | build.yml | 12 runs-on: ubuntu-latest 19 - name: Set up Go ${{ matrix.go }} 20 uses: actions/setup-go@v2 22 go-version: ${{ matrix.go }} 25 - name: Check out code 28 - name: Install ninja 30 mkdir -p ${GITHUB_WORKSPACE}/ninja-bin; cd ${GITHUB_WORKSPACE}/ninja-bin 31 wget https://github.com/ninja-build/ninja/releases/download/v1.7.2/ninja-linux.zip 32 unzip ninja-linux.zip 33 rm ninja-linux.zip [all …]
|
/build/make/core/ |
D | ninja_config.mk | 2 NINJA ?= prebuilts/build-tools/$(HOST_PREBUILT_TAG)/bin/ninja 4 NINJA ?= prebuilts/build-tools/$(HOST_PREBUILT_TAG)/asan/bin/ninja 7 KATI_OUTPUT_PATTERNS := $(OUT_DIR)/build%.ninja $(OUT_DIR)/ninja%.sh 9 # Modifier goals we don't need to pass to Ninja. 17 ECLIPSE-% \ 20 build-art% \ 21 build_kernel-nodeps \ 22 clean-oat% \ 28 dump-products \ 31 online-system-api-sdk-docs \ [all …]
|
/build/blueprint/ |
D | blueprint.bash | 1 #!/bin/bash 3 # This script is intented to wrap the execution of ninja so that we 4 # can do some checks before each ninja run. 8 # Blueprint-based build system. When used by another script, the following 13 # NINJA 23 set -e 28 [ -z "$BUILDDIR" ] && BUILDDIR=`dirname "${BASH_SOURCE[0]}"` 30 # NINJA should be set to the path of the ninja executable. By default, this 31 # is just "ninja", and will be looked up in $PATH. 32 [ -z "$NINJA" ] && NINJA=ninja [all …]
|
D | bootstrap.bash | 1 #!/bin/bash 7 # It can also be invoked from another script to bootstrap a custom Blueprint- 23 set -e 30 if [ -z "$BOOTSTRAP" ]; then 33 # WRAPPER should only be set if you want a ninja wrapper script to be 36 [ -z "$WRAPPER" ] && WRAPPER="`dirname "${BOOTSTRAP}"`/blueprint.bash" 42 # be moved relative to or along with the source directory without re-running 44 [ -z "$SRCDIR" ] && SRCDIR=`dirname "${BOOTSTRAP}"` 48 [ -z "$BLUEPRINTDIR" ] && BLUEPRINTDIR="${SRCDIR}" 52 [ -z "$BUILDDIR" ] && BUILDDIR=. [all …]
|
/build/blueprint/tests/ |
D | test_tree_tests.sh | 1 #!/bin/bash -ex 4 stat -c %Y $1 11 export TEMPDIR=$(mktemp -d -t blueprint.test.XXX) 16 rm -rf "${TEMPDIR}" 24 cp -r tests/test_tree "${SRCDIR}" 25 cp -r "${TOP}" "${SRCDIR}/blueprint" 32 #confirm no build.ninja file is rebuilt when no change happens 35 OLDTIME_BOOTSTRAP=$(mtime .bootstrap/build.ninja) 36 OLDTIME=$(mtime build.ninja) 41 if [ ${OLDTIME} != $(mtime build.ninja) ]; then [all …]
|
/build/soong/scripts/ |
D | diff_build_graphs.sh | 1 #!/bin/bash -eu 9 # http://www.apache.org/licenses/LICENSE-2.0 17 set -e 20 # changes to the generated ninja files. This is to reduce the effort required to be confident 32 Usage: diff_build_graphs.sh [--products=product1,product2...] <OLD_VERSIONS> <NEW_VERSIONS> 35 product and for both sets of versions, and checks whether the ninja files (which implement 41 --products=PRODUCTS comma-separated list of products to check" 50 arg="${1-}" 52 --products=*) PRODUCTS_ARG="$arg";; 74 OUT_DIR="${OUT_DIR-}" [all …]
|
D | reverse-deps.sh | 1 #!/bin/bash 3 set -eu 11 # http://www.apache.org/licenses/LICENSE-2.0 19 # Tool to evaluate the transitive closure of the ninja dependency graph of the 28 Evaluate the reverse transitive closure of ninja targets depending on one or 33 -(no)quiet Suppresses progress output to stderr and interactive 34 alias -(no)q prompts. By default, when stderr is a tty, progress gets 39 -sep=<delim> Use 'delim' as output field separator between notice 43 -csv Shorthand for -sep=',' 49 to setup the build environment, choose a target platform, and build the ninja [all …]
|
D | transitive-deps.sh | 1 #!/bin/bash 3 set -eu 11 # http://www.apache.org/licenses/LICENSE-2.0 19 # Tool to evaluate the transitive closure of the ninja dependency graph of the 28 Evaluate the transitive closure of files and ninja targets that one or more 33 -(no)order_deps Whether to include order-only dependencies. (Default false) 34 -(no)implicit Whether to include implicit dependencies. (Default true) 35 -(no)explicit Whether to include regular / explicit deps. (Default true) 37 -nofollow Unanchored regular expression. Matching paths and targets 41 e.g. -nofollow='*.so' not -nofollow='.so$' [all …]
|
D | build-aml-prebuilts.sh | 1 #!/bin/bash -e 3 # This script is similar to "m" but builds in --soong-only mode, and handles 7 # --soong-only bypasses the kati step and hence the make logic that e.g. doesn't 11 # device architectures (artifacts get installed in $OUT_DIR/soong/mainline-sdks 12 # - cf PathForMainlineSdksInstall in android/paths.go). 15 # --soong-only' invocation. For now it is still necessary to set up 18 if [ ! -e build/soong/soong_ui.bash ]; then 23 export OUT_DIR=${OUT_DIR:-out} 25 if [ -e ${OUT_DIR}/soong/.soong.kati_enabled ]; then 26 # If ${OUT_DIR} has been created without --skip-make, Soong will create an [all …]
|
/build/soong/android/ |
D | defs.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 33 // A phony rule that is not the built-in Ninja phony rule. The built-in 35 // Ninja docs for more details. 55 Command: "rm -f $out && cp $cpPreserveSymlinks $cpFlags $in $out", 63 Command: "if ! cmp -s $in $out; then cp $in $out; fi", 71 Command: "rm -f $out && cp $cpPreserveSymlinks $cpFlags $in $out && chmod +x $out", 86 Command: "rm -f $out && ln -f -s $fromPath $out", 105 // ubuntu 14.04 offcially use dash for /bin/sh, and its builtin echo command 106 // doesn't support -e option. Therefore we force to use /bin/bash when writing out 110 Command: `/bin/bash -c 'echo -e -n "$$0" > $out' $content`, [all …]
|
/build/soong/tests/ |
D | bootstrap_test.sh | 1 #!/bin/bash -eu 3 set -o pipefail 18 local bootstrap_mtime1=$(stat -c "%y" out/soong/.bootstrap/build.ninja) 19 local output_mtime1=$(stat -c "%y" out/soong/build.ninja) 21 local bootstrap_mtime2=$(stat -c "%y" out/soong/.bootstrap/build.ninja) 22 local output_mtime2=$(stat -c "%y" out/soong/build.ninja) 26 fail "Bootstrap Ninja file did not change on null build" 30 fail "Output Ninja file changed on null build" 37 local mtime1=$(stat -c "%y" out/soong/.bootstrap/build.ninja) 39 sed -i 's/pluginGenSrcCmd/pluginGenSrcCmd2/g' build/blueprint/bootstrap/bootstrap.go [all …]
|
D | lib.sh | 1 #!/bin/bash -eu 3 set -o pipefail 9 REAL_TOP="$(readlink -f "$(dirname "$0")"/../../..)" 11 if [[ ! -z "$HARDWIRED_MOCK_TOP" ]]; then 14 MOCK_TOP=$(mktemp -t -d st.XXXXX) 18 WARMED_UP_MOCK_TOP=$(mktemp -t soong_integration_tests_warmup.XXXXXX.tar.gz) 19 trap 'rm -f "$WARMED_UP_MOCK_TOP"' EXIT 25 mkdir -p "$MOCK_TOP" 35 rm -fr "$MOCK_TOP" 39 echo -e "\e[92;1m[TEST HARNESS INFO]\e[0m" $* [all …]
|
/build/soong/ui/build/ |
D | ninja.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 30 // Constructs and runs the Ninja command line with a restricted set of 31 // environment variables. It's important to restrict the environment Ninja runs 34 ctx.BeginTrace(metrics.PrimaryNinja, "ninja") 37 // Sets up the FIFO status updater that reads the Ninja protobuf output, and 38 // translates it to the soong_ui status output, displaying real-time 44 executable := config.PrebuiltBuildTool("ninja") 46 "-d", "keepdepfile", 47 "-d", "keeprsp", 48 "-d", "stats", [all …]
|
D | bazel.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 54 // variables and post-processing steps (e.g. converge output directories) 59 // "droid" is the default ninja target. 61 // Ninja target. 64 // At this stage, the residue slice of args passed to ninja 65 // are the ninja targets to build, which can correspond directly 74 // Use *_NINJA variables to pass the root-relative path of the combined, 75 // kati-generated, soong-generated, and packaging Ninja files to Bazel. 86 bazelEnv["SHELL"] = "/bin/bash" 95 // restart of the server, losing much of the in-memory incrementality. [all …]
|
D | config.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 102 // Bazel-related build modes. 130 // Default matching ninja 223 // Always set ASAN_SYMBOLIZER_PATH so that ASAN-based tools can symbolize any crashes 225 "llvm-binutils-stable/llvm-symbolizer") 255 // Configure Java-related variables, including adding it to $PATH 272 newPath := []string{filepath.Join(absJavaHome, "bin")} 383 // If the arguments contains GET-INSTALL-PATH, change the target name prefix from MODULES-IN- to 384 // GET-INSTALL-PATH-IN- to extract the installation path instead of building the modules. 385 targetNamePrefix := "MODULES-IN-" [all …]
|
/build/soong/python/ |
D | builder.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 17 // This file contains Ninja build actions for building Python program. 33 Command: `$parCmd -o $out $args`, 47 Command: `sed -e 's/%interpreter%/$interp/g' -e 's/%main%/$main/g' $template > $stub && ` + 48 `echo "#!/usr/bin/env $interp" >${out}.prefix &&` + 49 `$mergeParCmd -p --prefix ${out}.prefix -pm $stub $out $srcsZips && ` + 50 `chmod +x $out && (rm -f $stub; rm -f ${out}.prefix)`, 57 Command: `rm -f $out.main && ` + 59 `$mergeParCmd -p -pm $out.main --prefix $launcher $out $srcsZips && ` + 60 `chmod +x $out && rm -rf $out.main`, [all …]
|
/build/blueprint/bootstrap/ |
D | bootstrap.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 35 …goTestMainCmd = pctx.StaticVariable("goTestMainCmd", filepath.Join(bootstrapDir, "bin", "gotestm… 36 …goTestRunnerCmd = pctx.StaticVariable("goTestRunnerCmd", filepath.Join(bootstrapDir, "bin", "gotes… 37 …pluginGenSrcCmd = pctx.StaticVariable("pluginGenSrcCmd", filepath.Join(bootstrapDir, "bin", "loadp… 51 return fmt.Sprintf("-c %d", numCpu) 59 Command: "GOROOT='$goRoot' $compileCmd $parallelCompile -o $out.tmp " + 60 "$debugFlags -p $pkgPath -complete $incFlags -pack $in && " + 61 "if cmp --quiet $out.tmp $out; then rm $out.tmp; else mv -f $out.tmp $out; fi", 70 Command: "GOROOT='$goRoot' $linkCmd -o $out.tmp $libDirFlags $in && " + 71 "if cmp --quiet $out.tmp $out; then rm $out.tmp; else mv -f $out.tmp $out; fi", [all …]
|
/build/make/ |
D | Usage.txt | 3 m [-j] [<targets>] [<variable>=<value>...] 14 lunch [<product>-<variant>] # Selects the device and variant to target. 29 A target may be a file path. For example, out/host/linux-x86/bin/adb . 57 ${OUT}/build-<product>*.ninja 58 ${OUT}/soong/build.ninja 69 -j <N> Run <N> processes at once 70 -j Autodetect the number of processes to run at once, 75 passed as command-line arguments. For example: 83 OUT_DIR The directory in which to place non-distribution
|
D | Changes.md | 3 ## Dexpreopt starts enforcing `<uses-library>` checks (for Java modules) 7 the `<uses-library>` tags in the manifest. Since the build system does not have 19 properties, and Soong should be able to infer the `<uses-library>` tag. But 25 `<uses-library>` with a given name (however, this is discouraged and will be 31 It is possible to disable the check on a per-module basis. When doing that it is 45 disable the check for a product, but quickly re-enable it for a local build. 110 To temporarily turn the build-time restriction off, use 121 is no other non-optional assignments having the same name. For example, the 126 Note that the order between the optional and the non-optional assignments 149 * `<partition>/bin/*` [all …]
|
/build/bazel/ |
D | common.bazelrc | 4 build --platforms //build/bazel/platforms:android_x86_64 7 build --incompatible_enable_cc_toolchain_resolution 9 # Ensure that the host_javabase always use @local_jdk, the checked-in JDK. 10 build --tool_java_runtime_version=local_jdk 12 # Lock down the PATH variable in actions to /usr/bin and /usr/local/bin. 13 build --experimental_strict_action_env 16 build --experimental_allow_unresolved_symlinks 19 build --experimental_cc_shared_library 22 # variable. This prevents the need to double-escape characters like backslashes 24 build --features no_copts_tokenization [all …]
|
/build/soong/docs/ |
D | perf.md | 35 0:01 Installed file list: out/target/product/generic_arm64/installed-files.txt 39 …/product/generic_arm64/obj/PACKAGING/target_files_intermediates/aosp_arm64-target_files-6663974.zip 40 0:01 Package: out/target/product/generic_arm64/aosp_arm64-img-6663974.zip 41 …0:01 Dist: /buildbot/dist_dirs/aosp-master-linux-aosp_arm64-userdebug/6663974/aosp_arm64-img-66639… 53 the `-cpuprofile`, `-trace`, and `-memprofile` command line arguments, but we 60 important for the fast-path (detecting whether it needs to regenerate the ninja 61 file) to be fast however. And it shouldn't hit the slow path too often -- so 67 In most cases, we've found that the fast-path is slow because all of the 68 `$(shell)` commands need to be re-executed to determine if their output changed. 75 … 1 mkdir -p out/target/product/generic && echo Android/aosp_arm/generic:R/AOSP.MASTER/$(date -d @$… [all …]
|
/build/bazel/ci/ |
D | bp2build.sh | 1 #!/bin/bash -eux 2 # Verifies that bp2build-generated BUILD files for bionic (and its dependencies) 7 if [[ -z ${DIST_DIR+x} ]]; then 14 …TE_BAZEL_FILES=true "${AOSP_ROOT}/build/soong/soong_ui.bash" --make-mode nothing --skip-soong-tests 16 …build output marker file to communicate to buildbot that this is not a regular Ninja build, and its 18 rm -f out/ninja_build 20 # We could create .bazelrc files and use them on buildbots with --bazelrc, but 23 --color=no 24 --curses=no 25 --show_progress_rate_limit=5 [all …]
|
/build/soong/cmd/soong_build/ |
D | main.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 58 flag.StringVar(&delvePath, "delve_path", "", "Path to Delve. Only used if --delve_listen is set") 62 …QueryViewDir, "bazel_queryview_dir", "", "path to the bazel queryview directory relative to --top") 102 // Bazel-enabled mode. Soong runs in two passes. 105 // TODO(cparsons): Don't output any ninja file, as the second pass will overwrite 119 // Second pass: Full analysis, using the bazel command results. Output ninja file. 136 // Run the code-generation phase to convert BazelTargetModules to BUILD files. 235 // The dependency of build.ninja on soong.environment.used is declared in 236 // build.ninja.d 239 fmt.Fprintf(os.Stderr, "--available_env not set\n") [all …]
|
/build/soong/cc/ |
D | gen.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 27 pctx.SourcePathVariable("lexCmd", "prebuilts/build-tools/${config.HostPrebuiltTag}/bin/flex") 28 pctx.SourcePathVariable("m4Cmd", "prebuilts/build-tools/${config.HostPrebuiltTag}/bin/m4") 30 pctx.HostBinToolVariable("aidlCmd", "aidl-cpp") 37 Command: "M4=$m4Cmd $lexCmd $flags -o$out $in", 43 Command: "$syspropCmd --header-dir=$headerOutDir --public-header-dir=$publicOutDir " + 44 "--source-dir=$srcOutDir --include-name=$includeName $in", 51 Command: "$windmcCmd -r$$(dirname $out) -h$$(dirname $out) $in", 58 // list of module-specific flags that will be used for .y and .yy compiles 81 sedCmd := "sed -i.bak 's#" + sboxOutDir + "#" + outDir.String() + "#'" [all …]
|
/build/soong/cc/config/ |
D | toolchain.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 78 // GccVersion should return a real value, not a ninja reference 215 return "libclang_rt." + library + "-" + arch 217 return "libclang_rt." + library + "-" + arch + "-android" 264 return filepath.Join(t.GccRoot(), t.GccTriple(), "bin")
|
12