build: make is_mas_build a generated header instead of config (#43737)

This commit is contained in:
Samuel Attard 2024-09-17 01:38:56 -07:00 committed by GitHub
parent b83810982e
commit c1c8fbfd9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 601 additions and 306 deletions

View file

@ -39,6 +39,7 @@
#include "content/public/browser/network_service_instance.h"
#include "content/public/browser/render_frame_host.h"
#include "crypto/crypto_buildflags.h"
#include "electron/mas.h"
#include "gin/handle.h"
#include "media/audio/audio_manager.h"
#include "net/dns/public/dns_over_https_config.h"

View file

@ -17,6 +17,7 @@
#include "content/public/browser/gpu_data_manager_observer.h"
#include "content/public/browser/render_process_host.h"
#include "crypto/crypto_buildflags.h"
#include "electron/mas.h"
#include "net/base/completion_once_callback.h"
#include "net/base/completion_repeating_callback.h"
#include "net/ssl/client_cert_identity.h"

View file

@ -17,6 +17,7 @@
#include "chrome/common/chrome_paths.h"
#include "components/upload_list/crash_upload_list.h"
#include "components/upload_list/text_log_upload_list.h"
#include "electron/mas.h"
#include "gin/arguments.h"
#include "gin/data_object_builder.h"
#include "shell/common/electron_paths.h"

View file

@ -67,6 +67,7 @@
#include "content/public/common/result_codes.h"
#include "content/public/common/webplugininfo.h"
#include "electron/buildflags/buildflags.h"
#include "electron/mas.h"
#include "electron/shell/common/api/api.mojom.h"
#include "gin/arguments.h"
#include "gin/data_object_builder.h"

View file

@ -19,6 +19,7 @@
#include <mach/mach.h>
#include "base/process/port_provider_mac.h"
#include "content/public/browser/browser_child_process_host.h"
#include "electron/mas.h"
extern "C" int sandbox_check(pid_t pid, const char* operation, int type, ...);