| /third_party/gn/src/gn/ |
| D | switches.cc | 2 // Use of this source code is governed by a BSD-style license that can be 10 const char kArgs_HelpShort[] = "--args: Specifies build arguments overrides."; 12 R"(--args: Specifies build arguments overrides. 14 See "gn help buildargs" for an overview of how build arguments work. 16 Most operations take a build directory. The build arguments are taken from 17 the previous build done in that directory. If a command specifies --args, it 18 will override the previous arguments stored in the build directory, and use 21 The args specified will be saved to the build directory for subsequent 22 commands. Specifying --args="" will clear all build arguments. 31 gn gen out/Default --args="foo=\"bar\"" [all …]
|
| D | loader_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 26 const auto& build_dependency_files = item->build_dependency_files(); in ItemContainsBuildDependencyFile() 76 std::unique_ptr<ParseNode> root; member 97 g_scheduler->input_file_manager()->set_load_file_callback(GetSyncCallback()); in MockInputFileManager() 101 g_scheduler->input_file_manager()->set_load_file_callback(nullptr); in ~MockInputFileManager() 117 file->SetContents(found->second->input_file->contents()); in GetSyncCallback() 126 canned->input_file = std::make_unique<InputFile>(source_file); in AddCannedResponse() 127 canned->input_file->SetContents(source); in AddCannedResponse() 131 canned->tokens = Tokenizer::Tokenize(canned->input_file.get(), &err); in AddCannedResponse() 135 canned->root = Parser::Parse(canned->tokens, &err); in AddCannedResponse() [all …]
|
| D | setup.cc | 2 // Use of this source code is governed by a BSD-style license that can be 53 for a file called ".gn". This indicates the source root. You can override 54 this detection by using the --root command-line argument 56 The .gn file in the source root will be executed. The syntax is the same as a 57 buildfile, but with very limited build setup-specific meaning. 59 If you specify --root, by default GN will look for the file .gn in that 61 --dotfile: 63 gn gen out/Debug --root=/home/build --dotfile=/home/my_gn_file.gn 72 Path to the build config file. This file will be used to set up the 73 build file execution environment for each toolchain. [all …]
|
| /third_party/nghttp2/ |
| D | Dockerfile.android | 2 # Dockerfile to build nghttp2 android binary 4 # $ sudo docker build -t nghttp2-android - < Dockerfile.android 6 # After successful build, android binaries are located under 7 # /root/build/nghttp2. You can copy the binary using docker cp. For 11 # $ sudo docker run -v /path/to/dest:/out nghttp2-android cp /root/build/nghttp2/src/nghttpx /out 14 # Only use standalone-toolchain for reduce size 19 ENV NDK /root/android-ndk-$NDK_VERSION 20 ENV TOOLCHAIN $NDK/toolchains/llvm/prebuilt/linux-x86_64 21 ENV TARGET aarch64-linux-android 23 ENV AR $TOOLCHAIN/bin/llvm-ar [all …]
|
| /third_party/grpc/tools/run_tests/helper_scripts/ |
| D | build_python.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 set -ex 18 # change to grpc repo root 25 PLATFORM=$(uname -s) 60 if [[ -n "${VIRTUAL_ENV}" ]]; then 67 $1 -c "import sys; print('py{}{}'.format(*sys.version_info[:2]))" 99 echo "build --override_repository=${BAZEL_DEP_NAME}=${BAZEL_DEP_PATH}" >> "tools/bazel.rc" 100 echo "query --override_repository=${BAZEL_DEP_NAME}=${BAZEL_DEP_PATH}" >> "tools/bazel.rc" 106 PYTHON=${1:-python2.7} 107 VENV=${2:-$(venv "$PYTHON")} [all …]
|
| /third_party/rust/rust/src/bootstrap/ |
| D | configure.py | 3 # ignore-tidy-linelength 35 o("docs", "build.docs", "build standard library documentation") 36 o("compiler-docs", "build.compiler-docs", "build compiler documentation") 37 o("optimize-tests", "rust.optimize-tests", "build tests with optimizations") 38 o("verbose-tests", "rust.verbose-tests", "enable verbose output when running tests") 41 o("local-rust", None, "use an installed rustc rather than downloading a snapshot") 42 v("local-rust-root", None, "set prefix for local rust binary") 43 …"local-rebuild", "build.local-rebuild", "assume local-rust matches the current version, for rebuil… 44 o("llvm-static-stdcpp", "llvm.static-libstdcpp", "statically link to libstdc++ for LLVM") 45 o("llvm-link-shared", "llvm.link-shared", "prefer shared linking to LLVM (llvm-config --link-shared… [all …]
|
| D | channel.rs | 1 //! Build configuration for Rust's release channels. 14 use crate::Build; 26 /// `git-commit-info` file. 38 pub fn new(omit_git_hash: bool, dir: &Path) -> GitInfo { in new() 48 match Command::new("git").arg("rev-parse").current_dir(dir).output() { in new() 64 .arg("-1") in new() 65 .arg("--date=short") in new() 66 .arg("--pretty=format:%cd"), in new() 68 let ver_hash = output(Command::new("git").current_dir(dir).arg("rev-parse").arg("HEAD")); in new() 70 Command::new("git").current_dir(dir).arg("rev-parse").arg("--short=9").arg("HEAD"), in new() [all …]
|
| /third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
| D | TextFormatParseInfoTreeTest.java | 1 // Protocol Buffers - Google's data interchange format 4 // Use of this source code is governed by a BSD-style 6 // https://developers.google.com/open-source/licenses/bsd 51 TextFormatParseInfoTree tree = rootBuilder.build(); in testBuildEmptyParseTree() 58 TextFormatParseInfoTree root = rootBuilder.build(); in testGetLocationReturnsSingleLocation() local 59 assertThat(root.getLocation(OPTIONAL_INT32, 0)).isEqualTo(LOC0); in testGetLocationReturnsSingleLocation() 60 assertThat(root.getLocations(OPTIONAL_INT32)).hasSize(1); in testGetLocationReturnsSingleLocation() 65 assertThat(rootBuilder.build().getLocations(OPTIONAL_INT32)).isEmpty(); in testGetLocationsReturnsNoParseLocationsForUnknownField() 67 TextFormatParseInfoTree root = rootBuilder.build(); in testGetLocationsReturnsNoParseLocationsForUnknownField() local 68 assertThat(root.getLocations(OPTIONAL_INT32)).isEmpty(); in testGetLocationsReturnsNoParseLocationsForUnknownField() [all …]
|
| /third_party/libbpf/docs/ |
| D | libbpf_build.rst | 1 .. SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 8 pkg-config is used by default to find libelf, and the program called 11 If using pkg-config at build time is not desired, it can be disabled by 14 To build both static libbpf.a and shared libbpf.so: 16 .. code-block:: bash 21 To build only static libbpf.a library in directory build/ and install them 22 together with libbpf headers in a staging directory root/: 24 .. code-block:: bash 27 $ mkdir build root 28 $ BUILD_STATIC_ONLY=y OBJDIR=build DESTDIR=root make install [all …]
|
| /third_party/libfuse/test/ |
| D | ci-build.sh | 3 set -e 5 TEST_CMD="python3 -m pytest --maxfail=99 test/" 7 # Make sure binaries can be accessed when invoked by root. 10 # There are tests that run as root but without CAP_DAC_OVERRIDE. To allow these 11 # to launch built binaries, the directory tree must be accessible to the root 12 # user. Since the source directory isn't necessarily accessible to root, we 13 # build and run tests in a temporary directory that we can set up to be world 15 SOURCE_DIR="$(readlink -f .)" 16 TEST_DIR="$(mktemp -dt libfuse-build-XXXXXX)" 21 cp -v "${SOURCE_DIR}/test/lsan_suppress.txt" . [all …]
|
| /third_party/gn/docs/ |
| D | standalone.md | 3 This page is about how to design a project that can build independently 4 with GN but also be brought into the Chrome build. 7 configuration that must be the same between both the standalone build 8 and the Chrome build. However, GN is much more explicit in its naming 13 # What you need for a minimal GN build 17 * A master build config file. Chrome's is `//build/config/BUILDCONFIG.gn` 18 * A separate build file for the toolchain definition. It's not a good idea 19 to put these in a BUILD.gn file shared with any target definitions for 20 complex reasons. Chrome's are in `//build/toolchain/<platform>/BUILD.gn`. 21 * A `BUILD.gn` file in the root directory. This will be loaded after the [all …]
|
| /third_party/toybox/scripts/ |
| D | mkroot.sh | 4 [ -z "$NOCLEAR" ] && 5 exec env -i NOCLEAR=1 HOME="$HOME" PATH="$PATH" LINUX="$LINUX" \ 9 while [ $# -ne 0 ] 18 if [ -z "$CROSS_COMPILE" ] 21 if ! cc --static -xc - -o /dev/null <<< "int main(void) {return 0;}" 29 [ -z "$CROSS_SHORT" ] && CROSS_SHORT="${CROSS_BASE/-*/}" 31 if [ -z "$CROSS_PATH" ] 39 TOP="$PWD/root" 40 [ -z "$BUILD" ] && BUILD="$TOP/build" 41 [ -z "$AIRLOCK" ] && AIRLOCK="$TOP/airlock" [all …]
|
| /third_party/python/Tools/buildbot/ |
| D | clean.bat | 5 set root=%~dp0..\.. variable 6 set pcbuild=%root%\PCbuild 8 echo Deleting build 9 call "%pcbuild%\build.bat" -t Clean -k %* 10 call "%pcbuild%\build.bat" -t Clean -k -d %* 13 del /s "%root%\Lib\*.pyc" "%root%\Lib\*.pyo" 16 rmdir /s /q "%root%\build"
|
| /third_party/jerryscript/targets/particle/ |
| D | README.md | 6 ### How to build 10 Assume `root` as the path to the projects to build. 14 root 30 # assume you are in root folder 37 # assume you are in root folder 42 …ode. To verify that the Photon is in DFU mode and dfu-util is installed properly, try the dfu-util… 44 To build and flash the firmware: switch to the modules directory then call make with a few paramete… 48 make PLATFORM=photon clean all program-dfu 51 #### 3. Build JerryScript 54 # assume you are in root folder [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
| D | dag_test.cpp | 7 // https://www.apache.org/licenses/LICENSE-2.0 40 // [A] --> [B] --> [C] | 45 builder.root() in TEST_P() 50 auto dag = builder.build(); in TEST_P() 51 dag->run(); in TEST_P() 56 // [A] --> [B] --> [C] | 60 builder.root() in TEST_P() 65 auto dag = builder.build(); in TEST_P() 68 dag->run(data); in TEST_P() 73 // [A] --> [B] --> [C] | [all …]
|
| /third_party/skia/third_party/externals/swiftshader/docs/ |
| D | dEQP.md | 7 ------------- 13 5. Install [MinGW-W64](http://mingw-w64.org/doku.php/download) 15 6. Install [Git](https://git-scm.com/download/win) 18 9. Set environment variables: Config Panel -> System and Security -> System -> Advanced system sett… 20 * Add `<path to MinGW-W64>\bin` to your PATH environment variable 23 … is in the Android SDK, typically in `C:\Users\<username>\AppData\Local\Android\sdk\platform-tools` 28 ---------------- 32 `git clone https://github.com/KhronosGroup/VK-GL-CTS` 34 You may wish to check out a stable vulkan-cts-* branch. 36 13. Get dEQP's dependencies. In your dEQP root directory, open 'cmd' and run: [all …]
|
| /third_party/libbpf/ |
| D | README.md | 2 …<source media="(prefers-color-scheme: dark)" srcset="assets/libbpf-logo-sideways-darkbg.png" width… 3 <img src="assets/libbpf-logo-sideways.png" width="40%"> 10 [](https://… 19 Libbpf *authoritative source code* is developed as part of [bpf-next Linux source 20 tree](https://kernel.googlesource.com/pub/scm/linux/kernel/git/bpf/bpf-next) under 22 libbpf changes should be sent to [BPF mailing list](http://vger.kernel.org/vger-lists.html#bpf), 23 please don't open PRs here unless you are changing Github-specific parts of libbpf 24 (e.g., Github-specific Makefile). 32 Please check out [libbpf-bootstrap](https://github.com/libbpf/libbpf-bootstrap) 33 and [the companion blog post](https://nakryiko.com/posts/libbpf-bootstrap/) for [all …]
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/project-model/test_data/ |
| D | hello-world-metadata.json | 4 "name": "hello-world", 6 "id": "hello-world 0.1.0 (path+file://$ROOT$hello-world)", 14 "source": "registry+https://github.com/rust-lang/crates.io-index", 33 "name": "hello-world", 34 "src_path": "$ROOT$hello-world/src/lib.rs", 47 "name": "hello-world", 48 "src_path": "$ROOT$hello-world/src/main.rs", 61 "name": "an-example", 62 "src_path": "$ROOT$hello-world/examples/an-example.rs", 76 "src_path": "$ROOT$hello-world/tests/it.rs", [all …]
|
| /third_party/grpc/tools/run_tests/sanity/ |
| D | check_package_name.py | 9 # http://www.apache.org/licenses/LICENSE-2.0 38 for root, dirs, files in os.walk("."): 39 if root.startswith("./"): 40 root = root[len("./") :] variable 42 if root.startswith("third_party/"): 44 # only check BUILD files 45 if "BUILD" not in files: 47 text = open("%s/BUILD" % root).read() 50 if pkg_start == -1: 57 level -= 1 [all …]
|
| /third_party/rust/rust/src/ci/docker/host-x86_64/dist-various-1/ |
| D | Dockerfile | 3 RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ 10 libtool-bin \ 14 xz-utils \ 15 libncurses-dev \ 18 ninja-build \ 21 ca-certificates \ 26 xz-utils \ 27 zlib1g-dev \ 28 g++-arm-linux-gnueabi \ 29 g++-arm-linux-gnueabihf \ [all …]
|
| /third_party/rust/rust/tests/rustdoc/ |
| D | extern-html-root-url.rs | 1 // compile-flags:-Z unstable-options --extern-html-root-url html_root=https://example.com/override … 2 // aux-build:html_root.rs 3 // aux-build:no_html_root.rs 4 // NOTE: intentionally does not build any auxiliary docs 10 // `html_root_url` should override `--extern-html-root-url` 11 // @has - '//a/@href' 'https://example.com/html_root/html_root/fn.foo.html' 16 // `--extern-html-root-url` should apply if no `html_root_url` is given 17 // @has - '//a/@href' 'https://example.com/override/no_html_root/fn.bar.html'
|
| /third_party/libfuse/ |
| D | README.md | 5 ----- 17 send responses back. libfuse offers two APIs: a "high-level", 18 synchronous API, and a "low-level" asynchronous API. In both cases, 20 callbacks. When using the high-level API, the callbacks may work with 22 finishes when the callback function returns. When using the low-level 28 ------------------ 35 beyond addressing high-impact issues. When reporting bugs, please 42 ------------------- 45 * BSD (mostly/best-effort) 46 * For OS-X, please use [OSXFUSE](https://osxfuse.github.io/) [all …]
|
| /third_party/toybox/ |
| D | README | 1 Toybox: all-in-one Linux command line. 3 --- Getting started 13 wget http://landley.net/toybox/bin/toybox-x86_64 14 chmod +x toybox-x86_64 15 ./toybox-x86_64 echo hello world 17 --- Building toybox 19 Type "make help" for build instructions. 30 LDFLAGS="--static" CROSS_COMPILE=armv5l- make defconfig toybox 31 PREFIX=/path/to/root/filesystem/bin make install_flat 34 that control the toybox build; if you export any of these variables into your [all …]
|
| /third_party/ncurses/test/package/ |
| D | ncurses-examples.spec | 2 %global AppProgram ncurses-examples 3 %global AltProgram ncursest-examples 6 # $Id: ncurses-examples.spec,v 1.22 2023/02/25 23:10:49 tom Exp $ 12 URL: https://invisible-island.net/ncurses/%{AppProgram}.html 13 Source: https://invisible-island.net/archives/%{AppProgram}/%{AppProgram}-%{release}.tgz 17 for patch-date YYYYMMDD. 22 %package -n %{AltProgram} 25 %description -n %{AltProgram} 27 for patch-date YYYYMMDD, using the "ncurseswt" library to demonstrate the 35 %setup -q -n %{AppProgram}-%{AppRelease} [all …]
|
| /third_party/skia/third_party/externals/angle2/doc/ |
| D | DevSetupAndroid.md | 5 ## Setting up the ANGLE build for Android 11 The following command will open a text editor to populate GN args for an Android Release build: 16 Once the editor is up, paste the following GN args to generate an Android build, and save the file. 23 use_goma = true # Googlers-only! If you're not a Googler remove this. 26 More targeted GN arg combinations can be found [below](#android-gn-args-combinations). 29 - Visit the ANGLE [CI Waterfall](https://ci.chromium.org/p/angle/g/ci/console). 30 - Open any recent Android build. 31 - Expand the for "lookup GN args" step and copy the GN args. 32 - Always omit the `goma_dir` flag. 33 - If you are not a Googler, also omit the `use_goma` flag. [all …]
|