Home
last modified time | relevance | path

Searched +full:runs +full:- +full:on (Results 1 – 25 of 52) sorted by relevance

123

/build/bazel/docs/
Dconcepts.md14 |---|---|---|
15-compatible front-end. Encodes build logic in `.mk` scripts. Declares buildable units in `Android.…
17-like front-end. Encodes build logic in Go. Declares build units in `Android.bp`, parsed by Bluepr…
22 |Make (replaced in-place by Kati)|No longer in use. Entire build system, replaced by the tools abov…
29 * **“Kati-config” for the purpose of this document**
31 * **“Kati-build” for the purpose of this document**
33 * **“Kati-package” for the purpose of this document**
35 * **"Kati-cleanspec" for the purpose of this document**
37 * **Ninja** component to execute actions from Kati-build, Kati-package and soong\_build
38 * **Bazel** as the next generation of the entire build system, starting as a Ninja executor drop-in…
[all …]
/build/bazel/scripts/milestone-2/
Ddemo.sh9 # http://www.apache.org/licenses/LICENSE-2.0
12 # distributed under the License is distributed on an "AS IS" BASIS,
17 # ---
20 # ---
22 set -euo pipefail
30 ./demo.sh generate -- runs the bp2build converter to generate BUILD files from Android.bp files.
31 ./demo.sh query -- runs the bazel query command for all targets in //bionic/libc, recursively.
32 ./demo.sh build -- runs the bazel build command for all targets in //bionic/libc, recursively.
33 ./demo.sh full -- runs the generate, query and build steps in sequence.
34 ./demo.sh help -- prints this message.
[all …]
/build/blueprint/bootstrap/
Ddoc.go7 // http://www.apache.org/licenses/LICENSE-2.0
10 // distributed under the License is distributed on an "AS IS" BASIS,
54 // // The top-level Blueprints file is passed as the first argument.
79 // 1. The top-level Blueprints file
83 // The top-level Blueprints file describes how the entire source tree should be
106 // BLUEPRINT_BOOTSTRAP_VERSION - Used to detect when a user needs to run
109 // SRCDIR - The path to the source directory
110 // BLUEPRINTDIR - The path to the blueprints directory (includes $SRCDIR)
111 // GOROOT - The path to the root directory of the Go toolchain
112 // NINJA_BUILDDIR - The path to store .ninja_log, .ninja_deps
[all …]
/build/soong/ui/build/
Dninja.go7 // http://www.apache.org/licenses/LICENSE-2.0
10 // distributed under the License is distributed on an "AS IS" BASIS,
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
38 // translates it to the soong_ui status output, displaying real-time
46 "-d", "keepdepfile",
47 "-d", "keeprsp",
48 "-d", "stats",
49 "--frontend_file", fifo,
60 args = append(args, "-j", strconv.Itoa(parallel))
[all …]
Dproc_sync_test.go7 // http://www.apache.org/licenses/LICENSE-2.0
10 // distributed under the License is distributed on an "AS IS" BASIS,
65 numWaitsRemaining := c.maxNumWaits - c.numWaitsElapsed
83 // returns a countLock that succeeds on iteration <index>
130 // the portion of TestTrylock that runs in the main process
171 cmd := exec.Command(os.Args[0], "-test.run=TestTrylock")
189 // This function runs in a different process. See TestTrylock
236 …t.Fatalf("Appeared to have acquired lock on iteration %v which should not be available until itera…
Dkati.go7 // http://www.apache.org/licenses/LICENSE-2.0
10 // distributed under the License is distributed on an "AS IS" BASIS,
33 const katiCleanspecSuffix = "-cleanspec"
34 const katiPackageSuffix = "-package"
36 // genKatiSuffix creates a filename suffix for kati-generated files so that we
37 // can cache them based on their inputs. Such files include the generated Ninja
41 // Currently that includes the TARGET_PRODUCT and kati-processed command line
45 katiSuffix := "-" + config.TargetProduct()
49 katiSuffix += "-" + spaceSlashReplacer.Replace(strings.Join(args, "_"))
55 shortSuffix := "-" + fmt.Sprintf("%x", md5.Sum([]byte(katiSuffix)))
[all …]
Ddumpvars.go7 // http://www.apache.org/licenses/LICENSE-2.0
10 // distributed under the License is distributed on an "AS IS" BASIS,
33 // Make without actually building them. So all the variables based on
89 "-f", "build/make/core/config.mk",
90 "--color_warnings",
91 "--kati_stats",
92 "dump-many-vars",
216 // So that later Kati runs can find BoardConfig.mk faster
219 // Whether --werror_overriding_commands will work
/build/make/tools/rbcrun/
DREADME.md9 A Roboleaf configuration file is a Starlark script. Usually it is read from *file*. The option `-c`…
10 script directly on the command line. The option `-f` is there to allow the name of a file script to…
11 (i.e., `my=file.rbc` sets `my` to `file.rbc`, `-f my=file.rbc` runs the script from `my=file.rbc`).
15 `-d` *dir*\
18 `-c` *text*\
21 `--perf` *file*\
23 ` go tool prof -top`*file*\
26 `-f` *file*\
53 A `struct` containing environment variables. E.g., `rblf_env.USER` is the username when running on
82 Runs `sh -c "`*command*`"`, reads its output, converts all newlines into spaces, chops trailing new…
/build/soong/scripts/
Dtest_config_fixer_test.py9 # http://www.apache.org/licenses/LICENSE-2.0
12 # distributed under the License is distributed on an "AS IS" BASIS,
33 '<?xml version="1.0" encoding="utf-8"?>\n'
41 '<?xml version="1.0" encoding="utf-8"?>\n'
42 '<configuration description="Runs some tests.">\n'
43 ' <option name="test-suite-tag" value="apct"/>\n'
49 ' <option name="runtime-hint" value="20s"/>\n'
53 ' <option name="runtime-hint" value="15s"/>\n'
74 '<?xml version="1.0" encoding="utf-8"?>\n'
75 '<configuration description="Runs some tests.">\n'
[all …]
Dsetup-android-build.sh8 # runs <command> as if we issued
10 # mount --bind <build dir> out
21 # ~/aosp/build/soong/scripts/setup-android-build.sh aosp_blueline-userdebug
23 # ~/aosp/build/soong/scripts/setup-android-build.sh aosp_cf_arm64_phone-userdebug
34 set -e
39 [[ "$(uname)" == Linux ]] || die "This setup runs only on Linux\n"
40 declare -r mydir="${0%/*}"
41 declare -r source="${mydir%/build/soong/scripts}"
44 [[ ! -e .repo && ! -e .git ]] || \
47 if [[ -x ./run ]]; then
[all …]
/build/make/core/
Dnative_host_test_config_template.xml1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2018 The Android Open Source Project
8 http://www.apache.org/licenses/LICENSE-2.0
11 distributed under the License is distributed on an "AS IS" BASIS,
15 -->
16 <!-- This test config file is auto-generated. -->
17 <configuration description="Runs {MODULE}.">
18 <option name="null-device" value="true" />
23 <option name="module-name" value="{MODULE}" />
Djava_host_test_config_template.xml1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2018 The Android Open Source Project
8 http://www.apache.org/licenses/LICENSE-2.0
11 distributed under the License is distributed on an "AS IS" BASIS,
15 -->
16 <!-- This test config file is auto-generated. -->
17 <configuration description="Runs {MODULE}">
18 <option name="test-suite-tag" value="apct" />
19 <option name="test-suite-tag" value="apct-junit" />
Djava_host_unit_test_config_template.xml1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2020 The Android Open Source Project
8 http://www.apache.org/licenses/LICENSE-2.0
11 distributed under the License is distributed on an "AS IS" BASIS,
15 -->
16 <!-- This test config file is auto-generated. -->
17 <configuration description="Runs {MODULE}">
18 <option name="test-suite-tag" value="apct" />
19 <option name="test-suite-tag" value="apct-unit-tests" />
20 <option name="config-descriptor:metadata" key="component" value="{MODULE}" />
Drobolectric_test_config_template.xml1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2020 The Android Open Source Project
8 http://www.apache.org/licenses/LICENSE-2.0
11 distributed under the License is distributed on an "AS IS" BASIS,
15 -->
16 <!-- This test config file is auto-generated. -->
17 <configuration description="Runs {MODULE}">
18 <option name="test-suite-tag" value="robolectric" />
19 <option name="test-suite-tag" value="robolectric-tests" />
21 <option name="java-folder" value="prebuilts/jdk/jdk9/linux-x86/" />
[all …]
Dnative_benchmark_test_config_template.xml1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2018 The Android Open Source Project
8 http://www.apache.org/licenses/LICENSE-2.0
11 distributed under the License is distributed on an "AS IS" BASIS,
15 -->
16 <!-- This test config file is auto-generated. -->
17 <configuration description="Runs {MODULE}.">
18 <option name="test-suite-tag" value="apct" />
19 <option name="test-suite-tag" value="apct-native-metric" />
25 <option name="push" value="{MODULE}->/data/local/tmp/{MODULE}" />
[all …]
Dnative_test_config_template.xml1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2017 The Android Open Source Project
8 http://www.apache.org/licenses/LICENSE-2.0
11 distributed under the License is distributed on an "AS IS" BASIS,
15 -->
16 <!-- This test config file is auto-generated. -->
17 <configuration description="Runs {MODULE}.">
18 <option name="test-suite-tag" value="apct" />
19 <option name="test-suite-tag" value="apct-native" />
25 <option name="push" value="{MODULE}->{TEST_INSTALL_BASE}/{MODULE}" />
[all …]
Dinstrumentation_test_config_template.xml1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2017 The Android Open Source Project
8 http://www.apache.org/licenses/LICENSE-2.0
11 distributed under the License is distributed on an "AS IS" BASIS,
15 -->
16 <!-- This test config file is auto-generated. -->
17 <configuration description="Runs {LABEL}.">
18 <option name="test-suite-tag" value="apct" />
19 <option name="test-suite-tag" value="apct-instrumentation" />
22 <option name="cleanup-apks" value="true" />
[all …]
Djava_test_config_template.xml1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2018 The Android Open Source Project
8 http://www.apache.org/licenses/LICENSE-2.0
11 distributed under the License is distributed on an "AS IS" BASIS,
15 -->
16 <!-- This test config file is auto-generated. -->
17 <configuration description="Runs {MODULE}.">
18 <option name="test-suite-tag" value="apct" />
19 <option name="test-suite-tag" value="apct-junit" />
22 …<option name="push" value="cts-dalvik-device-test-runner.jar->/data/local/tmp/{MODULE}/cts-dalvik-
[all …]
/build/blueprint/.github/workflows/
Dbuild.yml3 on:
12 runs-on: ubuntu-latest
16 name: Build and test on go ${{ matrix.go }}
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
[all …]
/build/make/tools/
Dauto_gen_test_config_test.py9 # http://www.apache.org/licenses/LICENSE-2.0
12 # distributed under the License is distributed on an "AS IS" BASIS,
28 MANIFEST_INVALID = """<?xml version="1.0" encoding="utf-8"?>
33 MANIFEST_JUNIT_TEST = """<?xml version="1.0" encoding="utf-8"?>
42 MANIFEST_INSTRUMENTATION_TEST = """<?xml version="1.0" encoding="utf-8"?>
52 EXPECTED_JUNIT_TEST_CONFIG = """<?xml version="1.0" encoding="utf-8"?>
53 <!-- Copyright (C) 2017 The Android Open Source Project
59 http://www.apache.org/licenses/LICENSE-2.0
62 distributed under the License is distributed on an "AS IS" BASIS,
66 -->
[all …]
Dcompare_builds.py1 #!/usr/bin/env -S python3 -u
5 and repeatable. Depending on the flags, it runs a sequence of builds and looks
8 done to the source tree, and for files whose contents are dependent on the
12 runs in full mode. To run in incremental mode, pass the --incremental flag.
18 REPEATABILITY. In full mode, this tool runs two complete builds in different
27 In incremental mode, this tool helps verfiy the SPEED of the build. It runs two
37 source files in the tree, and reports on files that have been touched. In the
44 complete for some reason because of this, you can pass the --no-check-out-dir
50 In full mode, the --detect-embedded-paths flag does the two builds in different
54 The --hide-build-output flag hides the output of successful bulds, to make
[all …]
/build/make/common/
Dcore.mk8 # http://www.apache.org/licenses/LICENSE-2.0
11 # distributed under the License is distributed on an "AS IS" BASIS,
23 # This is repeated from main.mk, since envsetup.sh runs this file
53 define pretty-warning
57 define pretty-error
/build/soong/cuj/
Dcuj.go7 // http://www.apache.org/licenses/LICENSE-2.0
10 // distributed under the License is distributed on an "AS IS" BASIS,
15 // This executable runs a series of build commands to test and benchmark some critical user journey…
48 // Run runs a single build command. It emulates the "m" command line by calling into Soong UI dire…
190 args: []string{"framework-minus-apex"},
210 args: []string{"update-api"},
223 fmt.Printf("error running before function on test %q: %v\n", t.name, err)
/build/soong/java/
Ddex.go7 // http://www.apache.org/licenses/LICENSE-2.0
10 // distributed under the License is distributed on an "AS IS" BASIS,
32 // list of module-specific flags that will be used for dex compiles
42 // If true, runs R8 in Proguard compatibility mode (default).
43 // Otherwise, runs R8 in full mode.
69 // This defaults to reasonable value based on module and should not be set.
89 Command: `rm -rf "$outDir" && mkdir -p "$outDir" && ` +
90 `$d8Template${config.D8Cmd} ${config.DexFlags} --output $outDir $d8Flags $in && ` +
91 …`$zipTemplate${config.SoongZipCmd} $zipFlags -o $outDir/classes.dex.jar -C $outDir -f "$outDir/cla…
92 `${config.MergeZipsCmd} -D -stripFile "**/*.class" $out $outDir/classes.dex.jar $in`,
[all …]
/build/soong/cmd/soong_build/
Dmain.go7 // http://www.apache.org/licenses/LICENSE-2.0
10 // distributed under the License is distributed on an "AS IS" BASIS,
57 flag.StringVar(&delveListen, "delve_listen", "", "Delve port to listen on for debugging")
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.
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
239 fmt.Fprintf(os.Stderr, "--available_env not set\n")
260 // The top-level Blueprints file is passed as the first argument.
[all …]

123