Home
last modified time | relevance | path

Searched +full:npm +full:- +full:run +full:- +full:path (Results 1 – 25 of 112) sorted by relevance

12345

/external/pigweed/pw_env_setup/py/pw_env_setup/
Dnpm_action.py7 # https://www.apache.org/licenses/LICENSE-2.0
14 """NPM pw_env_setup action plugin.
16 This action triggers `npm install` after CIPD setup.
24 """Project action to run 'npm install'."""
29 npm = shutil.which('npm.cmd' if os.name == 'nt' else 'npm')
35 # TODO: b/323378974 - Better integrate NPM actions with pw_env_setup so
36 # we don't have to manually set `npm_config_cache` every time we run
37 # npm.
38 # Force npm cache to live inside the environment directory.
40 npm_env['npm_config_cache'] = os.path.join(
[all …]
/external/perfetto/tools/
Dnode8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -e -u
19 # sourced by tools/npm.
21 ROOT_DIR="$(dirname $(cd -P ${BASH_SOURCE[0]%/*}; pwd))"
23 if [ "$(uname -s)" == "Darwin" ]; then
29 if [ ! -e "$NODE_DIR" ]; then
30 echo 'Could not find Node.js hermetic installation. Please run:'
31 echo 'tools/install-build-deps --ui'
37 # have the bad habit of executing "npm install ..." at runtime on the first
38 # run. That will pick whatever "npm" is in the PATH which might be strongly
[all …]
/external/skia/modules/pathkit/
DREADME.md5 Skia's feature-rich PathOps API in the browser.
8 --------------------
12 Get a compiled [Enscriptem SDK](https://kripken.github.io/emscripten-site/docs/getting_started/down…
13 in your path. This is easiest done by running `//tools/git-sync-deps` which
14 downloads and then runs `//bin/activate-emsdk`.
22 Add `--help` for more options.
26 To compile a production WASM build to `//bazel-bin/modules/pathkit/pathkit`:
29 bazelisk build //modules/pathkit:pathkit --config=ck_full_webgl2_release
35 bazelisk build //modules/pathkit:pathkit --config=ck_full_webgl2_debug
39 -------
[all …]
/external/skia/infra/bots/recipes/perf_pathkit.expected/
DPerf-Debian10-EMCC-GCE-CPU-AVX2-asmjs-Release-All-PathKit.json5 "-u",
7 "--json-output",
8 "/path/to/tmp/json",
9 "ensure-directory",
10 "--mode",
50 "-u",
52 "--json-output",
53 "/path/to/tmp/json",
54 "ensure-directory",
55 "--mode",
[all …]
Dpathkit_trybot.json5 "-u",
7 "--json-output",
8 "/path/to/tmp/json",
9 "ensure-directory",
10 "--mode",
50 "-u",
52 "--json-output",
53 "/path/to/tmp/json",
54 "ensure-directory",
55 "--mode",
[all …]
DPerf-Debian10-EMCC-GCE-CPU-AVX2-wasm-Release-All-PathKit.json5 "-u",
7 "--json-output",
8 "/path/to/tmp/json",
9 "ensure-directory",
10 "--mode",
50 "-u",
52 "--json-output",
53 "/path/to/tmp/json",
54 "ensure-directory",
55 "--mode",
[all …]
/external/oss-fuzz/projects/ecc-diff-fuzzer/
DDockerfile7 # http://www.apache.org/licenses/LICENSE-2.0
17 FROM gcr.io/oss-fuzz-base/base-builder-rust
19 ENV PATH $PATH:/root/.go/bin:$GOPATH/bin
20 RUN install_go.sh
21 RUN apt-get update && apt-get install -y make cmake bzip2 autoconf automake gettext libtool python …
22 RUN rustup target add i686-unknown-linux-gnu
23 #use different package sources for recent npm
24 RUN curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
25 RUN bash nodesource_setup.sh
26 RUN apt install -y nodejs
[all …]
/external/grpc-grpc/tools/gce/
Dlinux_kokoro_performance_worker_init.sh8 # http://www.apache.org/licenses/LICENSE-2.0
17 # You shouldn't run this script on your own,
20 set -ex
22 sudo apt-get update
25 sudo apt-get install -y openjdk-8-jdk
26 sudo apt-get install -y unzip lsof
28 sudo apt-get install -y \
30 autotools-dev \
31 build-essential \
36 gcc-multilib \
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/gce/
Dlinux_kokoro_performance_worker_init.sh8 # http://www.apache.org/licenses/LICENSE-2.0
17 # You shouldn't run this script on your own,
20 set -ex
22 sudo apt-get update
25 sudo apt-get install -y openjdk-8-jdk
26 sudo apt-get install -y unzip lsof
28 sudo apt-get install -y \
30 autotools-dev \
31 build-essential \
36 gcc-multilib \
[all …]
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/
DCONTRIBUTING.md5 1. Fork web-animations/web-animations-js.
6 1. `git clone git@github.com:$GITHUB_USER/web-animations-js.git`
7 1. `git submodule update --init --recursive` (Necessary for running tests.)
8 1. Install [node](https://nodejs.org/en/) and make sure `npm` is in your $PATH
9 1. Run `npm install` in the respository to pull in development dependencies.
10 1. Run `npm install -g grunt-cli` to get the build tools for the command line.
17 1. In your fork of web-animations-js, `git checkout dev` or create a new branch whose parent is dev.
18 1. Run `grunt` to build the polyfill.
19 1. Run `grunt test` to run polyfill and web-platform-tests tests.
21 1. Create a pull request from your fork of web-animations-js to
[all …]
/external/skia/bazel/karma/
DBUILD.bazel18 # $SANDBOX_EXEC_ROOT/bazel-out/k8-opt/bin/modules/canvaskit/canvaskit_js_tests.runfiles/npm/node_…
20 # deps under bazel-out works for C++ because we can add to the include
21 # search directories (via --include-directory or -I), but it is not clear
22 # how to expand karma's search path like that.
24 # Below basically says "We have a karma binary which needs these plugins to run"
31 "@npm//jasmine-core",
32 "@npm//karma",
33 "@npm//karma-chrome-launcher",
34 "@npm//karma-firefox-launcher",
35 "@npm//karma-jasmine",
[all …]
Dkarma_test.bzl2 THIS IS THE EXTERNAL-ONLY VERSION OF THIS FILE. G3 DOES NOT HAVE ONE AT ALL.
11 # https://github.com/google/skia-buildbot/blob/main/bazel/test_on_env/test_on_env.bzl
19 in an environment that has the Bazel-downloaded browser available and the tests run using it.
21 When invoked via `bazel test`, the test runs in headless mode. When invoked via `bazel run`,
40 - `/static/<WORKSPACE_NAME>/<path-to-file>` or
41 - `/static/<WORKSPACE_NAME>/<path-to-rule>/<file>`
43 - `/static/skia/modules/canvaskit/tests/assets/color_wheel.gif`
44 - `/static/skia/modules/canvaskit/canvaskit_wasm/canvaskit.wasm`
47 the tests run and be running in parallel to them. See the test_on_env.bzl in the
52 fail("Must pass at least one file into srcs or there will be no tests to run")
[all …]
/external/skia/infra/bots/task_drivers/run_wasm_gm_tests/
Drun_wasm_gm_tests.go2 // Use of this source code is governed by a BSD-style license that can be
14 "path/filepath"
30 goldCtlPath = flag.String("gold_ctl_path", "", "Path to the goldctl binary")
31 …goldHashesURL = flag.String("gold_hashes_url", "", "URL from which to download pre-existing hash…
33Path to the node bin directory (should have npm also). This directory *must* be on the PATH when t…
38 …tHarnessPath = flag.String("test_harness_path", "", "Path to test harness folder (tools/run-wasm-g…
51 … "If provided, dump a JSON blob of step data to the given file. Prints to stdout if '-' is given.")
52 …ring("service_account_path", "", "Used in local mode for authentication. Non-local mode uses Luci …
75 td.Fatalf(ctx, "Must supply --gold_hashes_url")
111 // Run puppeteer tests. The input is a list of known hashes. The output will be a JSON array and
[all …]
/external/pigweed/pw_presubmit/py/pw_presubmit/
Dformat_code.py9 # https://www.apache.org/licenses/LICENSE-2.0
18 This uses clang-format, gn format, gofmt, and python -m yapf to format source
19 code. These tools must be available on the path when this script is invoked!
28 from pathlib import Path
78 _DEFAULT_PATH = Path('out', 'format')
83 def _ensure_newline(orig: bytes) -> bytes:
89 def _diff(path, original: bytes, formatted: bytes) -> str: argument
96 f'{path} (original)',
97 f'{path} (reformatted)',
106 path, formatter: FormatterT, dry_run: bool = False argument
[all …]
/external/skia/infra/bots/recipes/
Dperf_pathkit.py2 # Use of this source code is governed by a BSD-style license that can be
15 'recipe_engine/path',
18 'run',
23 DOCKER_IMAGE = 'gcr.io/skia-public/perf-karma-chrome-tests:87.0.4280.88_v1'
29 checkout_root = api.path.start_dir
35 # The karma script is configured to look in ./npm-(asmjs|wasm)/bin/ for
38 'npm-wasm', 'bin')
41 'npm-asmjs', 'bin')
62 docker_args = ['--env', 'ASM_JS=1']
65 '--builder', api.vars.builder_name,
[all …]
/external/skia/infra/bots/task_drivers/perf_puppeteer_render_skps/
Dperf_puppeteer_render_skps.go2 // Use of this source code is governed by a BSD-style license that can be
6 // (e.g. what bench to run, how to process that particular output) is selected using the ExtraConfig
18 "path/filepath"
37 …hmarkPath = flag.String("benchmark_path", "", "Path to location of the benchmark files (e.g. //too…
41Path to the node bin directory (should have npm also). This directory *must* be on the PATH when t…
52 skpsPath = flag.String("skps_path", "", "Path to location of skps.")
56 … "If provided, dump a JSON blob of step data to the given file. Prints to stdout if '-' is given.")
92 outputFile := filepath.Join(outputAbsPath, fmt.Sprintf("perf-%s.json", *taskID))
103 return rv, skerr.Fmt("Must provide --git_hash")
106 return rv, skerr.Fmt("Must provide --task_id")
[all …]
/external/pigweed/pw_ide/py/pw_ide/
Dvscode.py7 # https://www.apache.org/licenses/LICENSE-2.0
27 Workspace <- Project <- User
35 Nonetheless, we want a three-tiered settings structure for Pigweed projects too:
38 B. Project-level overrides that downstream projects may define
39 C. User-level overrides that individual users may define
48 module. Those resulting settings are system-specific and should also not be
67 from pathlib import Path
89 def _local_clangd_settings(ide_settings: PigweedIdeSettings) -> dict[str, Any]:
93 'clangd.path': str(clangd_settings.clangd_path),
98 def _local_python_settings() -> dict[str, Any]:
[all …]
/external/okio/okio-nodefilesystem/src/main/kotlin/okio/
DFsJs.kt8 * http://www.apache.org/licenses/LICENSE-2.0
22 * --------------
39 * Why not Kotlinx-nodejs?
40 * -----------------------
48 * ------------------
50 * To declare new external APIs, run Dukat to generate a full set of Node stubs. The easiest way to
51 * do this is to add an NPM dependency on `@types/node` in `jsMain`, like this:
57 * implementation(npm("@types/node", "14.14.16", true))
63 * This will create a file with a full set of APIs to copy-paste from.
66 * okio/build/externals/okio-parent-okio/src/fs.fs.module_node.kt
[all …]
/external/skia/infra/bots/task_drivers/perf_puppeteer_canvas/
Dperf_puppeteer_canvas.go2 // Use of this source code is governed by a BSD-style license that can be
6 // (e.g. what bench to run, how to process that particular output) is selected using the ExtraConfig
18 "path/filepath"
34 …hmarkPath = flag.String("benchmark_path", "", "Path to location of the benchmark files (e.g. //too…
38Path to the node bin directory (should have npm also). This directory *must* be on the PATH when t…
52 … "If provided, dump a JSON blob of step data to the given file. Prints to stdout if '-' is given.")
87 outputFile := filepath.Join(outputAbsPath, fmt.Sprintf("perf-%s.json", *taskID))
98 return rv, skerr.Fmt("Must provide --git_hash")
101 return rv, skerr.Fmt("Must provide --task_id")
120 if _, err := exec.RunCwd(ctx, benchmarkPath, filepath.Join(nodeBinPath, "npm"), "ci"); err != nil {
[all …]
/external/skia/infra/bots/recipes/perf_skottiewasm_lottieweb.expected/
Dskottie_wasm_perf_gpu.json5 "-u",
7 "--json-output",
8 "/path/to/tmp/json",
10 "[START_DIR]/lottie-samples"
15 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/LICENSE@@@",
16 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/lottie1.json@@@",
17 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/lottie2.json@@@",
18 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/lottie3.json@@@",
24 "npm",
27 "cwd": "[START_DIR]/skia/tools/skottie-wasm-perf",
[all …]
Dskottie_wasm_perf_trybot.json5 "-u",
7 "--json-output",
8 "/path/to/tmp/json",
10 "[START_DIR]/lottie-samples"
15 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/LICENSE@@@",
16 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/lottie1.json@@@",
17 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/lottie2.json@@@",
18 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/lottie3.json@@@",
24 "npm",
27 "cwd": "[START_DIR]/skia/tools/skottie-wasm-perf",
[all …]
Dskottie_wasm_perf.json5 "-u",
7 "--json-output",
8 "/path/to/tmp/json",
10 "[START_DIR]/lottie-samples"
15 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/LICENSE@@@",
16 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/lottie1.json@@@",
17 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/lottie2.json@@@",
18 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/lottie3.json@@@",
24 "npm",
27 "cwd": "[START_DIR]/skia/tools/skottie-wasm-perf",
[all …]
Dlottie_web_perf_trybot.json5 "-u",
7 "--json-output",
8 "/path/to/tmp/json",
10 "[START_DIR]/lottie-samples"
15 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/LICENSE@@@",
16 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/lottie1.json@@@",
17 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/lottie2.json@@@",
18 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/lottie3.json@@@",
24 "npm",
27 "cwd": "[START_DIR]/skia/tools/lottie-web-perf",
[all …]
Dlottie_web_perf.json5 "-u",
7 "--json-output",
8 "/path/to/tmp/json",
10 "[START_DIR]/lottie-samples"
15 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/LICENSE@@@",
16 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/lottie1.json@@@",
17 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/lottie2.json@@@",
18 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/lottie3.json@@@",
24 "npm",
27 "cwd": "[START_DIR]/skia/tools/lottie-web-perf",
[all …]
Dlottie_web_canvas_perf.json5 "-u",
7 "--json-output",
8 "/path/to/tmp/json",
10 "[START_DIR]/lottie-samples"
15 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/LICENSE@@@",
16 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/lottie1.json@@@",
17 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/lottie2.json@@@",
18 "@@@STEP_LOG_LINE@listdir@[START_DIR]/lottie-samples/lottie3.json@@@",
24 "npm",
27 "cwd": "[START_DIR]/skia/tools/lottie-web-perf",
[all …]

12345