electron/shell/common
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 refactor: change defined(MAS_BUILD) to IS_MAS_BUILD() (#36332) 2022-11-14 12:46:52 -08:00
asar chore: modernize base::Value useage in asar/archive (#34796) 2022-07-05 12:35:38 -04:00
extensions chore: bump chromium to 107.0.5274.0 (main) (#35375) 2022-09-07 09:46:37 +02:00
gin_converters chore: remove unsupported OS_FREEBSD flag check (#36273) 2022-11-08 20:43:04 +01:00
gin_helper chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
mac chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
resources/mac fix: disable MallocNanoZone on mac (#33704) 2022-04-28 10:28:27 -04:00
application_info.cc fix: use correct userData path when unbundled (#30113) 2021-07-14 13:10:37 -07:00
application_info.h chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
application_info_linux.cc fix: potential crash caused by dlopen different gtk libraries (#33650) 2022-04-18 13:24:32 +09:00
application_info_mac.mm refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
application_info_win.cc chore: bump chromium to 94.0.4584.0 (main) (#30030) 2021-07-26 09:02:16 -07:00
color_util.cc fix: #ARGB to #RGBA conversion (#33707) 2022-04-13 10:46:05 +02:00
color_util.h feat: support more color formats for backgroundColor (#31868) 2022-03-21 18:35:54 +01:00
crash_keys.cc chore: bump chromium to 108.0.5355.0 (main) (#35900) 2022-10-17 10:22:24 -04:00
crash_keys.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_command_line.cc chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
electron_command_line.h chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
electron_constants.cc fix: build when pdf component is disabled (#33513) 2022-03-30 11:55:38 -07:00
electron_constants.h fix: build when pdf component is disabled (#33513) 2022-03-30 11:55:38 -07:00
electron_paths.h feat: allow customizing browser data location (#33554) 2022-05-09 10:26:57 -04:00
heap_snapshot.cc chore: clean up forward declarations (#29904) 2021-07-02 09:51:37 +09:00
heap_snapshot.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
key_weak_map.h chore: fix spelling errors in multiple files (#34574) 2022-06-16 16:46:11 +09:00
keyboard_util.cc chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
keyboard_util.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
language_util.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
language_util_linux.cc feat: add app.getPreferredSystemLanguages() API (#36035) 2022-11-09 10:50:43 -05:00
language_util_mac.mm fix: respect system language preferences on Win/macOS (#23247) 2020-05-04 10:49:29 -07:00
language_util_win.cc 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-18 15:55:51 -04:00
logging.cc fix: fail non-fatally when InitLogging fails (#35138) 2022-08-02 15:45:30 -04:00
logging.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
mouse_util.cc chore: bump chromium to 580fe983e138952553cd6af11ee8b (master) (#23379) 2020-05-26 13:06:26 -07:00
mouse_util.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
node_bindings.cc refactor: change defined(MAS_BUILD) to IS_MAS_BUILD() (#36332) 2022-11-14 12:46:52 -08:00
node_bindings.h chore: upgrade to Node.js v18 (#35999) 2022-11-10 22:31:20 +01:00
node_bindings_linux.cc chore: remove redundant code in node integration (#33500) 2022-03-29 20:09:42 -07:00
node_bindings_linux.h chore: remove redundant code in node integration (#33500) 2022-03-29 20:09:42 -07:00
node_bindings_mac.cc chore: remove redundant code in node integration (#33500) 2022-03-29 20:09:42 -07:00
node_bindings_mac.h chore: remove redundant code in node integration (#33500) 2022-03-29 20:09:42 -07:00
node_bindings_win.cc chore: remove redundant code in node integration (#33500) 2022-03-29 20:09:42 -07:00
node_bindings_win.h chore: remove redundant code in node integration (#33500) 2022-03-29 20:09:42 -07:00
node_includes.h chore: upgrade to Node.js v18 (#35999) 2022-11-10 22:31:20 +01:00
node_util.cc chore: upgrade to Node.js v18 (#35999) 2022-11-10 22:31:20 +01:00
node_util.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
options_switches.cc feat: Add BrowserWindow option to hide window in Mission Control (macOS) (#36092) 2022-11-01 16:43:42 -04:00
options_switches.h feat: Add BrowserWindow option to hide window in Mission Control (macOS) (#36092) 2022-11-01 16:43:42 -04:00
platform_util.cc fix: shell.trashItem crash when called in renderer (#28748) 2021-04-22 13:46:41 -07:00
platform_util.h fix: set Wayland application ID (#34855) 2022-07-11 11:26:18 -07:00
platform_util_internal.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
platform_util_linux.cc fix: set Wayland application ID (#34855) 2022-07-11 11:26:18 -07:00
platform_util_mac.mm fix: Building on macOS with is_debug true (#30913) 2021-09-15 09:40:36 +09:00
platform_util_win.cc chore: bump chromium to 108.0.5329.0 (main) (#35628) 2022-10-03 13:21:00 -07:00
plugin_info.cc chore: bump chromium to 109.0.5382.0 (main) (#36057) 2022-10-27 12:37:04 -04:00
plugin_info.h chore: bump chromium to 109.0.5382.0 (main) (#36057) 2022-10-27 12:37:04 -04:00
process_util.cc chore: clean up forward declarations (#29904) 2021-07-02 09:51:37 +09:00
process_util.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
skia_util.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
skia_util.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
v8_value_serializer.cc chore: bump chromium to 109.0.5382.0 (main) (#36057) 2022-10-27 12:37:04 -04:00
v8_value_serializer.h chore: bump chromium to 102.0.4961.0 (main) (#33091) 2022-03-24 21:39:03 -04:00
world_ids.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00