/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 | 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.""" 123 Used to bootstrap Ninja from scratch. In --bootstrap mode this 145 # In bootstrap mode, we have no ninja process to catch /showIncludes 160 # Implement just enough of Ninja variable expansion etc. to 203 help='bootstrap a ninja binary from nothing') 237 BUILD_FILENAME = 'build.ninja' 249 print('bootstrapping ninja...') 252 n.comment('This file is used to build ninja itself.') [all …]
|
D | CMakeLists.txt | 6 project(ninja) project 39 # the depfile parser and ninja lexers are generated using re2c. 91 # Core source files all build into ninja library. 151 add_executable(ninja src/ninja.cc) target 152 target_link_libraries(ninja PRIVATE libninja libninja-re2c) 155 target_sources(ninja PRIVATE windows/ninja.manifest) 158 # Adds browse mode into the ninja binary if it's supported by the host platform. 174 target_compile_definitions(ninja PRIVATE NINJA_HAVE_BROWSE) 175 target_sources(ninja PRIVATE src/browse.cc) 235 install(TARGETS ninja)
|
/third_party/ninja/doc/ |
D | manual.asciidoc | 1 The Ninja build system 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 19 after changing one file. Ninja is under a second. 24 Where other build systems are high-level languages, Ninja aims to be 32 Ninja contains the barest functionality necessary to describe 36 Instead, Ninja is intended to be used with a separate program 42 build a debug or release-mode binary?" belong in the `.ninja` file 48 Here are the design goals of Ninja: [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 19 ninja: Entering directory `out/Release` 25 produce and is one of the benefits of using Ninja. Also, Ninja will likely 28 number of processes to run for [Ninja][] using the environment variable `JOBS`. 40 ./configure --ninja --debug && make [all …]
|
/third_party/gn/src/gn/ |
D | ninja_tools.h | 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 37 // Invokes the ninja recompact tool (ie, ninja -C build_dir -t recompact). This
|
D | command_clean.cc | 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 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() 68 // Erase everything but the args file, and write a dummy build.ninja file that in CleanOneDir() 69 // will automatically rerun GN the next time Ninja is run. in CleanOneDir() 70 base::FilePath build_ninja_file = build_dir.AppendASCII("build.ninja"); in CleanOneDir() 73 // Couldn't parse the build.ninja file. in CleanOneDir() 74 Err(Location(), "Couldn't read build.ninja in this directory.", in CleanOneDir() [all …]
|
D | command_gen.cc | 51 const char kSwitchNinjaExecutable[] = "ninja-executable"; 52 const char kSwitchNinjaExtraArgs[] = "ninja-extra-args"; 65 // Collects Ninja rules for each toolchain. The lock protectes the rules. 71 // Called on worker thread to write the ninja file. 373 // tools. Since these tools can re-write ninja build log and dep logs, it is in RunNinjaPostProcessTools() 374 // really important that ninja executable used for tools matches the in RunNinjaPostProcessTools() 378 *err = Err(Location(), "No --ninja-executable provided.", in RunNinjaPostProcessTools() 379 "--clean-stale requires a ninja executable to run. You can " in RunNinjaPostProcessTools() 380 "provide one on the command line via --ninja-executable."); in RunNinjaPostProcessTools() 392 *err = Err(Location(), "Need a ninja executable at least version 1.10.0.", in RunNinjaPostProcessTools() [all …]
|
D | command_clean_stale.cc | 33 // 2. recompact - This prunes old entries from the ninja log and deps files. in CleanStaleOneDir() 36 // be found during the recompact, so ninja can prune their entries. in CleanStaleOneDir() 56 R"(gn clean_stale [--ninja-executable=...] <out_dir>... 59 their records from the ninja build log and dependency database. These are 63 This command requires a ninja executable of at least version 1.10.0. The 64 executable must be provided by the --ninja-executable switch. 68 --ninja-executable=<string> 69 Can be used to specify the ninja executable to use. 83 Err(Location(), "No --ninja-executable provided.", in RunCleanStale() 84 "--clean-stale requires a ninja executable to run. You can " in RunCleanStale() [all …]
|
/third_party/ninja/misc/ |
D | ninja-mode.el | 1 ;;; ninja-mode.el --- Major mode for editing .ninja files -*- lexical-binding: t -*- 21 ;; Simple emacs mode for editing .ninja files. 26 (defvar ninja-keywords 42 (defvar ninja-mode-syntax-table 46 "Syntax table used in `ninja-mode'.") 48 (defun ninja-syntax-propertize (start end) 73 (define-derived-mode ninja-mode prog-mode "ninja" 76 (set (make-local-variable 'syntax-propertize-function) #'ninja-syntax-propertize) 77 (setq font-lock-defaults '(ninja-keywords))) 79 ;; Run ninja-mode for files ending in .ninja. [all …]
|
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 84 let b:current_syntax = "ninja"
|
D | zsh-completion | 1 #compdef ninja 16 # Add the following to your .zshrc to tab-complete ninja targets 17 # fpath=(path/to/ninja/misc/zsh-completion $fpath) 25 file="build.ninja" 30 targets_command="ninja -f \"${file}\" -C \"${dir}\" -t targets all" 35 ninja -t list 2>/dev/null | while read -r a b; do echo $a; done | tail -n +2 39 ninja -d list 2>/dev/null | while read -r a b; do echo $a; done | tail -n +2 | sed '$d' 62 '--version[Print ninja version]' \ 64 '-f+[Specify input build file (default=build.ninja)]:files:_files' \
|
/third_party/cef/ |
D | CMakeLists.txt.in | 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 20 # downloaded from http://martine.github.io/ninja/ or installed via a platform 76 # Using Ninja: 77 # > cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Debug .. 78 # > ninja cefclient cefsimple 85 # Using Ninja: 86 # > cmake -G "Ninja" -DPROJECT_ARCH="x86_64" -DCMAKE_BUILD_TYPE=Debug .. [all …]
|
/third_party/ninja/.github/workflows/ |
D | windows.yml | 19 - name: Build ninja 25 - name: Test ninja 29 - name: Create ninja archive 33 7z a artifact/ninja-win.zip ./build/Release/ninja.exe 35 # Upload ninja binary archive as an artifact 39 name: ninja-binary-archives 49 asset_path: ./artifact/ninja-win.zip 50 asset_name: ninja-win.zip
|
D | macos.yml | 19 - name: Build ninja 27 - name: Test ninja 31 - name: Create ninja archive 35 7z a artifact/ninja-mac.zip ./build/ninja 37 # Upload ninja binary archive as an artifact 41 name: ninja-binary-archives 51 asset_path: ./artifact/ninja-mac.zip 52 asset_name: ninja-mac.zip
|
D | linux.yml | 27 - name: Build ninja 32 strip build/ninja 34 - name: Test ninja 38 - name: Create ninja archive 41 7z a artifact/ninja-linux.zip ./build/ninja 43 # Upload ninja binary archive as an artifact 47 name: ninja-binary-archives 57 asset_path: ./artifact/ninja-linux.zip 58 asset_name: ninja-linux.zip
|
/third_party/skia/third_party/externals/angle2/infra/specs/ |
D | angle.json | 40 "test_id_prefix": "ninja://src/tests:angle_deqp_egl_tests/", 77 "test_id_prefix": "ninja://src/tests:angle_deqp_egl_tests/", 114 "test_id_prefix": "ninja://src/tests:angle_deqp_gles2_tests/", 151 "test_id_prefix": "ninja://src/tests:angle_deqp_gles2_tests/", 188 "test_id_prefix": "ninja://src/tests:angle_deqp_gles31_tests/", 225 "test_id_prefix": "ninja://src/tests:angle_deqp_gles3_tests/", 262 "test_id_prefix": "ninja://src/tests:angle_deqp_gles3_tests/", 298 "test_id_prefix": "ninja://src/tests:angle_deqp_khr_gles2_tests/", 335 "test_id_prefix": "ninja://src/tests:angle_deqp_khr_gles31_tests/", 371 "test_id_prefix": "ninja://src/tests:angle_deqp_khr_gles32_tests/", [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 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… 19 seconds to start building after changing one file. Ninja is under a second. 27 ./ninja manual 31 cp -p ninja %{buildroot}%{_bindir}/
|
D | rpmbuild.sh | 3 echo Building ninja RPMs.. 14 git archive --format=tar --prefix=ninja-${VER}-${REL}/ HEAD | gzip -c > $RPMTOPDIR/SOURCES/ninja-${… 17 sed -e "s/%{ver}/$VER/" -e "s/%{rel}/$REL/" misc/packaging/ninja.spec > $RPMTOPDIR/SPECS/ninja.spec 18 …aN%n- (%h) %s%d%n" --date=local | sed -r 's/[0-9]+:[0-9]+:[0-9]+ //' >> $RPMTOPDIR/SPECS/ninja.spec 26 -ba $RPMTOPDIR/SPECS/ninja.spec &&
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ |
D | ninja_test.py | 7 """ Unit tests for the ninja.py file. """ 9 import gyp.generator.ninja as ninja namespace 19 writer = ninja.NinjaWriter('foo', 'wee', '.', '.', 'build.ninja', '.', 20 'build.ninja', 'win') 30 writer = ninja.NinjaWriter('foo', 'wee', '.', '.', 'build.ninja', '.', 31 'build.ninja', 'linux')
|
/third_party/node/tools/gyp/pylib/gyp/generator/ |
D | ninja_test.py | 7 """ Unit tests for the ninja.py file. """ 12 import gyp.generator.ninja as ninja namespace 20 writer = ninja.NinjaWriter( 21 "foo", "wee", ".", ".", "build.ninja", ".", "build.ninja", "win" 35 writer = ninja.NinjaWriter( 36 "foo", "wee", ".", ".", "build.ninja", ".", "build.ninja", "linux"
|
/third_party/opencl-headers/.github/workflows/ |
D | cmake.yml | 12 GEN: [Unix Makefiles, Ninja] 25 …if [[ "${{matrix.GEN}}" == "Ninja" && ! `which ninja` ]]; then sudo apt install -y ninja-build; fi; 27 # Install Ninja only if it's the selected generator and it's not available. 116 GEN: [Visual Studio 16 2019, Ninja Multi-Config] 137 - name: Configure (Ninja) 138 if: matrix.GEN == 'Ninja Multi-Config' 155 - name: Build (Ninja) 156 if: matrix.GEN == 'Ninja Multi-Config' 185 - name: Consume (Configure PkgConfig - bare Ninja) 186 if: matrix.GEN == 'Ninja Multi-Config' [all …]
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
D | xcode_ninja.py | 5 """Xcode-ninja wrapper project file generator. 8 with ninja instead. The Xcode project itself is transformed into a list of 9 executable targets, each with a build step to build with ninja, and a target 16 import gyp.generator.ninja 57 """ Create fake target for xcode-ninja wrapper. """ 58 # Determine ninja top level build dir (e.g. /path/to/out). 65 gyp.generator.ninja.ComputeOutputDir(params)) 108 'action_name': 'Compile and copy %s via ninja' % target_name, 114 'ninja', 119 'message': 'Compile and copy %s via ninja' % target_name, [all …]
|
/third_party/skia/third_party/externals/tint/ |
D | CMakeSettings.json | 5 "generator": "Ninja", 17 "generator": "Ninja", 29 "generator": "Ninja", 41 "generator": "Ninja", 53 "generator": "Ninja", 65 "generator": "Ninja", 77 "generator": "Ninja", 89 "generator": "Ninja",
|
/third_party/spirv-tools/kokoro/scripts/macos/ |
D | build.sh | 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 58 ninja 66 ninja install
|