| /third_party/ninja/doc/ |
| D | manual.asciidoc | 1 The Ninja build system 7 ------------ 9 Ninja is yet another build system. It takes as input the 13 Ninja joins a sea of other build systems. Its distinguishing goal is 15 http://neugierig.org/software/chromium/notes/2011/02/ninja.html[my 17 files and whose other build systems (including one built from custom 18 non-recursive Makefiles) would take ten seconds to start building 19 after changing one file. Ninja is under a second. 24 Where other build systems are high-level languages, Ninja aims to be 27 Build systems get slow when they need to make decisions. When you are [all …]
|
| /third_party/ninja/ |
| D | README.md | 1 # Ninja chapter 3 Ninja is a small build system with a focus on speed. 4 https://ninja-build.org/ 6 See [the manual](https://ninja-build.org/manual.html) or 11 [GitHub](https://github.com/ninja-build/ninja/releases). 12 Run `./ninja -h` for Ninja help. 15 resulting ninja binary. However, to enable features like Bash 19 If you're interested in making changes to Ninja, read 22 ## Building Ninja itself 24 You can either build Ninja via the custom generator script written in Python or [all …]
|
| D | configure.py | 9 # http://www.apache.org/licenses/LICENSE-2.0 17 """Script that generates the build.ninja for ninja itself. 19 Projects that use ninja themselves should either write a similar script 20 or use a meta-build system that supports Ninja output.""" 37 """Represents a host/target platform and its specific build attributes.""" 123 Used to bootstrap Ninja from scratch. In --bootstrap mode this 124 class is used to execute all the commands to build an executable. 126 behave like non-bootstrap mode. 145 # In bootstrap mode, we have no ninja process to catch /showIncludes 154 def build(self, outputs, rule, inputs=None, **kwargs): member in Bootstrap [all …]
|
| /third_party/cef/ |
| D | CMakeLists.txt.in | 2 # reserved. Use of this source code is governed by a BSD-style license that 7 # CMake is a cross-platform open-source build system that can generate project 11 # CMake-generated project formats that have been tested with this CEF binary 14 # Linux: Ninja, GCC 7.5.0+, Unix Makefiles 15 # MacOS: Ninja, Xcode 12.2 to 13.0 16 # Windows: Ninja, Visual Studio 2019+ 18 # Ninja is a cross-platform open-source tool for running fast builds using 19 # pre-installed platform toolchains (GNU, clang, Xcode or MSVC). It can be 20 # downloaded from http://martine.github.io/ninja/ or installed via a platform 35 # BUILD REQUIREMENTS [all …]
|
| /third_party/node/doc/guides/ |
| D | building-node-with-ninja.md | 1 # Building Node.js with Ninja 3 The purpose of this guide is to show how to build Node.js using [Ninja][], as 5 [Ninja's site][Ninja] for installation instructions (Unix only). 7 [Ninja][] is supported in the Makefile. Run `./configure --ninja` to configure 8 the project to run the regular `make` commands with Ninja. 10 For example, `make` will execute `ninja -C out/Release` internally 12 `ln -fs out/Release/node node`, so that you can execute `./node` at 16 if the build has succeeded: 19 ninja: Entering directory `out/Release` 24 `[finished/total]` build steps. This is useful output that `make` does not [all …]
|
| /third_party/gn/src/gn/ |
| D | command_clean.cc | 2 // Use of this source code is governed by a BSD-style license that can be 18 // Extracts from a build.ninja the commands to run GN. 20 // The commands to run GN are the gn rule and build.ninja build step at the top 21 // of the build.ninja file. We want to keep these when deleting GN builds since 22 // we want to preserve the command-line flags to GN. 50 if (!setup->DoSetup(dir, false)) in CleanOneDir() 53 base::FilePath build_dir(setup->build_settings().GetFullPath( in CleanOneDir() 54 SourceDir(setup->build_settings().build_dir().value()))); in CleanOneDir() 57 // if a build.ninja.d files exists instead. in CleanOneDir() 58 base::FilePath build_ninja_d_file = build_dir.AppendASCII("build.ninja.d"); in CleanOneDir() [all …]
|
| D | ninja_tools.h | 2 // Use of this source code is governed by a BSD-style license that can be 13 // Invokes the ninja restat tool (ie, ninja -C build_dir -t restat). This tool 14 // tells ninja that it should check the mtime of the provided files and update 16 // in the ninja graph has been updated without invoking ninja. 18 // The best example of this is after gn gen runs, we know that build.ninja has 19 // been potentially updated, but ninja will still use the mtime from the 20 // .ninja_log and could trigger another re-gen. By telling ninja to restat 21 // build.ninja, we can eliminate the extra re-gen. 23 // If files_to_restat is empty, ninja will restat all files that have an entry 30 // Invokes the ninja cleandead tool (ie, ninja -C build_dir -t cleandead). This [all …]
|
| D | command_gen.cc | 2 // Use of this source code is governed by a BSD-style license that can be 36 const char kSwitchCleanStale[] = "clean-stale"; 50 const char kSwitchIdeRootTarget[] = "ide-root-target"; 51 const char kSwitchNinjaExecutable[] = "ninja-executable"; 52 const char kSwitchNinjaExtraArgs[] = "ninja-extra-args"; 53 const char kSwitchNoDeps[] = "no-deps"; 55 const char kSwitchXcodeProject[] = "xcode-project"; 56 const char kSwitchXcodeBuildSystem[] = "xcode-build-system"; 59 const char kSwitchJsonFileName[] = "json-file-name"; 60 const char kSwitchJsonIdeScript[] = "json-ide-script"; [all …]
|
| D | ninja_build_writer.cc | 2 // Use of this source code is governed by a BSD-style license that can be 56 build_settings->build_dir().Resolve(build_settings->root_path()); in GetSelfInvocationCommandLine() 64 // Use "." for the directory to generate. When Ninja runs the command it in GetSelfInvocationCommandLine() 65 // will have the build directory as the current one. Coding it explicitly in GetSelfInvocationCommandLine() 70 base::FilePath root_path = build_settings->root_path(); in GetSelfInvocationCommandLine() 74 cmdline.AppendSwitchPath(std::string("--") + switches::kRoot, in GetSelfInvocationCommandLine() 77 cmdline.AppendSwitch(std::string("-") + switches::kQuiet); in GetSelfInvocationCommandLine() 88 // If both --root and --dotfile are passed, make sure the --dotfile is in GetSelfInvocationCommandLine() 89 // made relative to the build dir here. in GetSelfInvocationCommandLine() 90 base::FilePath dotfile_path = build_settings->dotfile_name(); in GetSelfInvocationCommandLine() [all …]
|
| /third_party/opencl-headers/.github/workflows/ |
| D | cmake.yml | 1 name: Build 6 linux-gcc: 7 runs-on: ubuntu-latest 12 GEN: [Unix Makefiles, Ninja] 18 - uses: actions/checkout@v2 20 - name: Create Build Environment 21 run: cmake -E make_directory $GITHUB_WORKSPACE/build; 22 cmake -E make_directory $GITHUB_WORKSPACE/install; 23 cmake -E make_directory $GITHUB_WORKSPACE/downstream/pkgconfig/bare; 24 cmake -E make_directory $GITHUB_WORKSPACE/downstream/pkgconfig/sdk; [all …]
|
| /third_party/ninja/.github/workflows/ |
| D | macos.yml | 10 build: 11 runs-on: macOS-latest 14 - uses: actions/checkout@v2 16 - name: Install dependencies 19 - name: Build ninja 24 cmake -DCMAKE_BUILD_TYPE=Release -B build 25 cmake --build build --parallel --config Release 27 - name: Test ninja 28 run: ctest -vv 29 working-directory: build [all …]
|
| D | windows.yml | 10 build: 11 runs-on: windows-latest 14 - uses: actions/checkout@v2 16 - name: Install dependencies 19 - name: Build ninja 22 cmake -DCMAKE_BUILD_TYPE=Release -B build 23 cmake --build build --parallel --config Release 25 - name: Test ninja 27 working-directory: build/Release 29 - name: Create ninja archive [all …]
|
| D | linux.yml | 10 build: 11 runs-on: [ubuntu-latest] 15 - uses: actions/checkout@v2 16 - name: Install dependencies 18 … curl -L -O https://github.com/Kitware/CMake/releases/download/v3.16.4/cmake-3.16.4-Linux-x86_64.sh 19 chmod +x cmake-3.16.4-Linux-x86_64.sh 20 ./cmake-3.16.4-Linux-x86_64.sh --skip-license --prefix=/usr/local 21 …curl -L -O https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/7/x86_64/Packages/p/p… 22 …curl -L -O https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/7/x86_64/Packages/p/p… 23 rpm -U --quiet p7zip-16.02-10.el7.x86_64.rpm [all …]
|
| /third_party/ninja/misc/packaging/ |
| D | ninja.spec | 1 Summary: Ninja is a small build system with a focus on speed. 2 Name: ninja 7 URL: https://github.com/ninja-build/ninja 8 Source0: %{name}-%{version}-%{rel}.tar.gz 9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{rel} 14 Ninja is yet another build system. It takes as input the interdependencies of files (typically sour… 17 Ninja joins a sea of other build systems. Its distinguishing goal is to be fast. It is born from my… 18 which has over 30,000 source files and whose other build systems (including one built from custom n… 19 seconds to start building after changing one file. Ninja is under a second. 22 %setup -q -n %{name}-%{version}-%{rel} [all …]
|
| /third_party/ninja/misc/ |
| D | ninja.vim | 1 " ninja build file syntax. 2 " Language: ninja build file as described at 3 " http://ninja-build.org/manual.html 11 " ninja lexer and parser are at 12 " https://github.com/ninja-build/ninja/blob/master/src/lexer.in.cc 13 " https://github.com/ninja-build/ninja/blob/master/src/manifest_parser.cc 32 syn match ninjaKeyword "^build\>" 39 " Both 'build' and 'rule' begin a variable scope that ends 41 " limited set of magic variables, 'build' allows general 54 " simple_varname = [a-zA-Z0-9_-]+; [all …]
|
| /third_party/vk-gl-cts/external/amber/src/kokoro/scripts/macos/ |
| D | build.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 set -e # fail on error 17 set -x # show commands 25 # Get ninja 26 wget -q https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-mac.zip 27 unzip -q ninja-mac.zip 28 chmod +x ninja 31 echo $(date): $(cmake --version) 35 DEPS_ARGS+=" --with-swiftshader" 39 ./tools/git-sync-deps $DEPS_ARGS [all …]
|
| /third_party/skia/third_party/externals/spirv-tools/kokoro/scripts/linux/ |
| D | build-docker.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 # Linux Build Script. 19 set -e 21 set -x 26 using clang-10.0.0 28 using gcc-9 36 if [[ ! -d "$dir" ]]; then 43 if [[ -d "$dir" ]]; then 44 rm -fr "$dir" 49 clone_if_missing https://github.com/KhronosGroup/SPIRV-Headers external/spirv-headers --depth=1 [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/kokoro/scripts/linux/ |
| D | build-docker.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 # Linux Build Script. 19 set -e 21 set -x 26 using clang-10.0.0 28 using gcc-9 36 if [[ ! -d "$dir" ]]; then 43 if [[ -d "$dir" ]]; then 44 rm -fr "$dir" 49 clone_if_missing https://github.com/KhronosGroup/SPIRV-Headers external/spirv-headers --depth=1 [all …]
|
| /third_party/spirv-tools/kokoro/scripts/linux/ |
| D | build-docker.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 # Linux Build Script. 19 set -e 21 set -x 26 using clang-10.0.0 28 using gcc-9 36 if [[ ! -d "$dir" ]]; then 43 if [[ -d "$dir" ]]; then 44 rm -fr "$dir" 49 clone_if_missing https://github.com/KhronosGroup/SPIRV-Headers external/spirv-headers --depth=1 [all …]
|
| /third_party/skia/third_party/externals/harfbuzz/.circleci/ |
| D | config.yml | 4 win32-executor: 6 - image: cimg/base:edge-20.04 7 win64-executor: 9 - image: cimg/base:edge-20.04 10 autotools-executor: 12 - image: cimg/base:edge-20.04 16 macos-aat-fonts: 20 - checkout 21 …- run: HOMEBREW_NO_AUTO_UPDATE=1 brew install pkg-config ragel freetype glib cairo python3 icu4c g… 22 - run: pip3 install meson --upgrade [all …]
|
| /third_party/spirv-tools/kokoro/scripts/macos/ |
| D | build.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 # MacOS Build Script. 19 set -e 21 set -x 24 SRC=$PWD/github/SPIRV-Tools 27 # Get NINJA. 28 wget -q https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-mac.zip 29 unzip -q ninja-mac.zip 30 chmod +x ninja 34 git clone --depth=1 https://github.com/KhronosGroup/SPIRV-Headers external/spirv-headers [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/kokoro/scripts/macos/ |
| D | build.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 # MacOS Build Script. 19 set -e 21 set -x 24 SRC=$PWD/github/SPIRV-Tools 27 # Get NINJA. 28 wget -q https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-mac.zip 29 unzip -q ninja-mac.zip 30 chmod +x ninja 34 git clone --depth=1 https://github.com/KhronosGroup/SPIRV-Headers external/spirv-headers [all …]
|
| /third_party/skia/third_party/externals/spirv-tools/kokoro/scripts/macos/ |
| D | build.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 # MacOS Build Script. 19 set -e 21 set -x 24 SRC=$PWD/github/SPIRV-Tools 27 # Get NINJA. 28 wget -q https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-mac.zip 29 unzip -q ninja-mac.zip 30 chmod +x ninja 34 git clone --depth=1 https://github.com/KhronosGroup/SPIRV-Headers external/spirv-headers [all …]
|
| /third_party/skia/third_party/externals/tint/ |
| D | CMakeSettings.json | 4 "name": "x64-Debug", 5 "generator": "Ninja", 8 "buildRoot": "${projectDir}\\out\\build\\${name}", 16 "name": "x64-Release", 17 "generator": "Ninja", 19 "buildRoot": "${projectDir}\\out\\build\\${name}", 28 "name": "x86-Debug", 29 "generator": "Ninja", 31 "buildRoot": "${projectDir}\\out\\build\\${name}", 40 "name": "x86-Release", [all …]
|
| /third_party/harfbuzz/.circleci/ |
| D | config.yml | 4 win32-executor: 6 - image: cimg/base:edge-20.04 7 autotools-executor: 9 - image: cimg/base:edge-20.04 13 macos-10_14_4-aat-fonts: 17 - checkout 18 …- run: HOMEBREW_NO_AUTO_UPDATE=1 brew install pkg-config ragel freetype glib cairo python3 icu4c g… 19 - run: pip3 install meson --upgrade 20 …- run: PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig" me… 21 - run: meson compile -Cbuild [all …]
|