electron/shell/common/api
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
..
api.mojom fix: ensure ElectronBrowser mojo service is only bound to appropriate render frames (#33323) 2022-03-18 19:50:05 -07:00
BUILD.gn Merge branch 'master' into roller/chromium/master 2021-03-15 18:43:25 -04:00
electron_api_asar.cc fix: initialize asar support in worker threads (#33216) 2022-03-22 20:37:55 -04:00
electron_api_clipboard.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_clipboard.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_clipboard_mac.mm chore: bump chromium to 105.0.5173.0 (main) (#34770) 2022-07-13 17:26:16 -04:00
electron_api_command_line.cc feat: add commandLine.removeSwitch (#30933) 2021-10-06 16:45:58 -04:00
electron_api_environment.cc refactor: check ELECTRON_ENABLE_LOGGING via native implementation (#25623) 2020-10-06 09:58:31 +09:00
electron_api_key_weak_map.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_native_image.cc chore: modernize Value usage in converters (#34794) 2022-07-05 11:25:18 -04:00
electron_api_native_image.h chore: modernize Value usage in converters (#34794) 2022-07-05 11:25:18 -04:00
electron_api_native_image_mac.mm chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_native_image_win.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_shell.cc test: migrate shell specs to main process (#35058) 2022-07-27 09:18:33 -07:00
electron_api_testing.cc feat: bring --enable-logging functionality in line with Chromium (#25089) 2021-06-17 14:17:25 -07:00
electron_api_v8_util.cc refactor: use std::size(args) instead of hardcoded values (#34651) 2022-06-22 10:15:27 +02:00
electron_bindings.cc refactor: change defined(MAS_BUILD) to IS_MAS_BUILD() (#36332) 2022-11-14 12:46:52 -08:00
electron_bindings.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
features.cc feat: add immersive dark mode on windows (#33624) 2022-06-14 12:27:28 -04:00
object_life_monitor.cc refactor: use C++11 class member variable initialization (#27477) 2021-01-26 12:16:21 -06:00
object_life_monitor.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00