| /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 52 for a file called ".gn". This indicates the source root. You can override 53 this detection by using the --root command-line argument 55 The .gn file in the source root will be executed. The syntax is the same as a 56 buildfile, but with very limited build setup-specific meaning. 58 If you specify --root, by default GN will look for the file .gn in that 60 --dotfile: 62 gn gen out/Debug --root=/home/build --dotfile=/home/my_gn_file.gn 71 Path to the build config file. This file will be used to set up the 72 build file execution environment for each toolchain. [all …]
|
| D | loader.cc | 2 // Use of this source code is governed by a BSD-style license that can be 76 // ----------------------------------------------------------------------------- 88 // ----------------------------------------------------------------------------- 110 // Nothing loaded, need to load the default build config. The initial load in Load() 120 // The default build config is no dependent on the toolchain definition, in Load() 121 // since we need to load the build config before we know what the default in Load() 123 record->is_toolchain_loaded = true; in Load() 125 record->waiting_on_me.push_back(SourceFileAndOrigin(file, origin)); in Load() 126 ScheduleLoadBuildConfig(&record->settings, Scope::KeyValueMap()); in Load() 151 if (record->is_config_loaded) in Load() [all …]
|
| D | ninja_build_writer_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 39 // TestWithScope sets up a config with a build dir of //out/Debug. in TEST_F() 43 // Setup sets the default root dir to ".". in TEST_F() 44 base::FilePath root(FILE_PATH_LITERAL(".")); in TEST_F() local 45 base::FilePath root_realpath = base::MakeAbsoluteFilePath(root); in TEST_F() 53 // Without any parameters the self invocation should pass --root=../.. in TEST_F() 55 setup.build_settings()->SetRootPath(root_realpath); in TEST_F() 60 // If --root is . and --dotfile is foo/.gn, then --dotfile also needs in TEST_F() 62 setup.build_settings()->SetRootPath(root_realpath); in TEST_F() 63 setup.build_settings()->set_dotfile_name(gn_realpath); in TEST_F() [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/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/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/protobuf/java/core/src/test/java/com/google/protobuf/ |
| D | TextFormatParseInfoTreeTest.java | 1 // Protocol Buffers - Google's data interchange format 3 // https://developers.google.com/protocol-buffers/ 66 TextFormatParseInfoTree tree = rootBuilder.build(); in testBuildEmptyParseTree() 72 TextFormatParseInfoTree root = rootBuilder.build(); in testGetLocationReturnsSingleLocation() local 73 assertEquals(LOC0, root.getLocation(OPTIONAL_INT32, 0)); in testGetLocationReturnsSingleLocation() 74 assertEquals(1, root.getLocations(OPTIONAL_INT32).size()); in testGetLocationReturnsSingleLocation() 78 assertTrue(rootBuilder.build().getLocations(OPTIONAL_INT32).isEmpty()); in testGetLocationsReturnsNoParseLocationsForUnknownField() 80 TextFormatParseInfoTree root = rootBuilder.build(); in testGetLocationsReturnsNoParseLocationsForUnknownField() local 81 assertTrue(root.getLocations(OPTIONAL_INT32).isEmpty()); in testGetLocationsReturnsNoParseLocationsForUnknownField() 82 assertEquals(LOC0, root.getLocations(OPTIONAL_BOOLEAN).get(0)); in testGetLocationsReturnsNoParseLocationsForUnknownField() [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/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/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/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/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/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/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/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 …]
|
| /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/libphonenumber/java/demo/ |
| D | pom.xml | 2 …//www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http:/… 11 <artifactId>libphonenumber-parent</artifactId> 16 <app.deploy.project>libphonenumber-hrd</app.deploy.project> 17 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 18 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> 23 <soy.root>${project.basedir}/src/main/resources/com/google/phonenumbers/demo</soy.root> 24 …<soy.srcs>${soy.root}/input_form.soy,${soy.root}/result.soy,${soy.root}/result_error.soy,${soy.roo… 25 …<soy.parser.output>${project.build.directory}/generated-sources/com/google/phonenumbers/demo/templ… 26 …<soy.compiler.output>${project.build.directory}/${project.build.finalName}/WEB-INF/lib/soy-templat… 35 <!-- Compile/runtime dependencies --> [all …]
|
| /third_party/ninja/ |
| D | configure.py | 9 # http://www.apache.org/licenses/LICENSE-2.0 17 """Script that generates the build.ninja for ninja itself. 20 or use a meta-build system that supports Ninja output.""" 34 """Represents a host/target platform and its specific build attributes.""" 120 Used to bootstrap Ninja from scratch. In --bootstrap mode this 121 class is used to execute all the commands to build an executable. 123 behave like non-bootstrap mode. 151 def build(self, outputs, rule, inputs=None, **kwargs): member in Bootstrap 158 # make the bootstrap build work. 168 return self.writer.build(outputs, rule, inputs, **kwargs) [all …]
|
| /third_party/python/Tools/msi/ |
| D | README.txt | 1 Quick Build Info 4 For testing, the installer should be built with the Tools/msi/build.bat 7 build.bat [-x86] [-x64] [-ARM64] [--doc] 13 set SPHINXBUILD=<path to sphinx-build.exe> 16 buildrelease.bat [-x86] [-x64] [-ARM64] [-D] [-B] 17 [-o <output directory>] [-c <certificate name>] 26 without having to build it themselves. 45 and command-line logic, as well as the ability to locate and optionally 64 Before building the installer, download extra build dependencies using 76 For testing, the installer should be built with the Tools/msi/build.bat [all …]
|
| /third_party/typescript/src/testRunner/unittests/tsserver/ |
| D | cachingFileSystemInformation.ts | 68 const root: File = { constant 78 const host = createServerHost([root, imported]); 81 projectService.openClientFile(root.path); 84 assert.equal(rootScriptInfo.fileName, root.path); 126 const root: File = { constant 136 const host = createServerHost([root]); 140 projectService.openClientFile(root.path); 143 assert.equal(rootScriptInfo.fileName, root.path); 145 logSemanticDiagnostics(projectService, project, root); 150 logSemanticDiagnostics(projectService, project, root); [all …]
|
| /third_party/skia/third_party/externals/dawn/src/dawn_node/ |
| D | README.md | 3 Note: This code is currently WIP. There are a number of [known issues](#known-issues). 9 - [CMake 3.10](https://cmake.org/download/) or greater 10 - [Go 1.13](https://golang.org/dl/) or greater 14 Dawn uses the Chromium build system and dependency management so you need to [install depot_tools] … 16 [install depot_tools]: http://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/d… 27 cp scripts/standalone-with-node.gclient .gclient 33 ### Build subsection 38 mkdir <build-output-path> 39 cd <build-output-path> 40 cmake <dawn-root-path> -GNinja -DDAWN_BUILD_NODE_BINDINGS=1 -DDAWN_ENABLE_PIC=1 [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/minddata/dataset/engine/ |
| D | tree_adapter.cc | 2 * Copyright 2020-2024 Huawei Technologies Co., Ltd 8 * http://www.apache.org/licenses/LICENSE-2.0 71 // Vector of actions in pre-pass phase in PrePass() 81 if (GlobalContext::config_manager()->fast_recovery()) { in PrePass() 96 RETURN_IF_NOT_OK(offload->Run(ir, &offload_mod)); in PrePass() 98 offload_json_ = offload->GetOffloadJson(); in PrePass() 100 // Apply pre-pass actions in PrePass() 103 RETURN_IF_NOT_OK(action->Run(ir, &m)); in PrePass() 121 RETURN_IF_NOT_OK(optimization->Run(ir, &modified)); in Optimize() 129 // Vector of actions in post-pass phase in PostPass() [all …]
|