electron/build
Samuel Attard a9ef68f126
refactor: change defined(MAS_BUILD) to IS_MAS_BUILD() (#36332)
* refactor: change defined(MAS_BUILD) to IS_MAS_BUILD()

This is missing-definition safe and thus allows us to move the definition of this macro away from "all compilation targets" to "just the compilation targets that depend on this macro".

In turn this makes the rebuild time changing from mas <-> darwin only 80 seconds on my machine, instead of the 12-15 minutes it used to take.  This will also allow us in the future to build both MAS and darwin on the same CI machine.  Costing us ~2 minutes on one machine but saving us anywhere from 30 minutes to an hour of CI time on other parts of the matrix.

* build: always define IS_MAS_BUILD even on non-mac builds

* build: use extra_configs
2022-11-14 12:46:52 -08:00
..
args chore: bump chromium to 109.0.5382.0 (main) (#36057) 2022-10-27 12:37:04 -04:00
config refactor: change defined(MAS_BUILD) to IS_MAS_BUILD() (#36332) 2022-11-14 12:46:52 -08:00
fuses feat: allow custom v8 snapshots to be used in the main process and the default snapshot in the renderer process (#35266) 2022-09-15 13:21:16 -07:00
mac chore: fix spelling errors in multiple files (#34574) 2022-06-16 16:46:11 +09:00
templates build: determine electron version from tags not files (#36106) 2022-10-24 23:44:43 -07:00
webpack feat: UtilityProcess API (#34980) 2022-10-19 22:49:49 -07:00
asar.gni build: consolidate gn templates (#34918) 2022-07-20 11:14:54 +02:00
dump_syms.py build: fix dump_syms.py to work with python 3 (#28910) 2021-04-28 15:42:25 -04:00
electron.def fix: allow renaming electron.exe (#15173) 2018-10-15 17:26:34 -07:00
extract_symbols.gni fix: use win_clang_x64 binary for x86 extract symbols (#35078) 2022-07-27 13:33:07 +09:00
fake_v8_context_snapshot_generator.py build: more space on arm64 builds, running out of ideas here (#25043) 2020-08-21 20:30:04 -07:00
generate-template.py
generate_node_defines.py refactor: dynamically search defines from node (#30563) 2021-08-18 13:34:15 -07:00
js2c.py chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
npm-run.py build: explicitly run scripts with python3 (#33720) 2022-04-12 13:21:55 +02:00
npm.gni chore: fix spelling errors in multiple files (#34574) 2022-06-16 16:46:11 +09:00
profile_toolchain.py build: drop pywin32 usage (#26186) 2022-03-16 13:40:47 -04:00
rules.gni chore: fix spelling errors in multiple files (#34574) 2022-06-16 16:46:11 +09:00
run-in-dir.py chore: remove unused imports in our python scripts (#25406) 2020-09-14 10:25:49 +09:00
run-node.py
strip_framework.py build: explicitly run scripts with python3 (#33720) 2022-04-12 13:21:55 +02:00
templated_file.gni chore: bump chromium to 279aeeec3c9fe2237bc31f776f269 (master) (#21521) 2020-01-17 10:41:52 -08:00
tsc.gni build: drop use of --typeRoots for default_app (#26094) 2020-10-28 15:57:28 +09:00
zip.py build: explicitly run scripts with python3 (#33720) 2022-04-12 13:21:55 +02:00
zip_libcxx.py build: explicitly run scripts with python3 (#33720) 2022-04-12 13:21:55 +02:00