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, ...);

View file

@ -3,7 +3,9 @@
// found in the LICENSE file.
#include "shell/browser/auto_updater.h"
#include "build/build_config.h"
#include "electron/mas.h"
namespace auto_updater {

View file

@ -18,6 +18,7 @@
#include "base/mac/mac_util.mm"
#include "base/strings/sys_string_conversions.h"
#include "chrome/browser/browser_process.h"
#include "electron/mas.h"
#include "net/base/apple/url_conversions.h"
#include "shell/browser/badging/badge_manager.h"
#include "shell/browser/browser_observer.h"

View file

@ -7,6 +7,7 @@
#include <string>
#include "base/logging.h"
#include "electron/mas.h"
#include "shell/browser/notifications/mac/cocoa_notification.h"
#include "shell/browser/notifications/mac/notification_presenter_mac.h"

View file

@ -5,6 +5,7 @@
#include "shell/browser/ui/cocoa/electron_ns_window.h"
#include "base/strings/sys_string_conversions.h"
#include "electron/mas.h"
#include "shell/browser/native_window_mac.h"
#include "shell/browser/ui/cocoa/electron_preview_item.h"
#include "shell/browser/ui/cocoa/electron_touch_bar.h"

View file

@ -19,6 +19,7 @@
#include "base/strings/sys_string_conversions.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "electron/mas.h"
#include "shell/browser/native_window.h"
#include "shell/common/gin_converters/file_path_converter.h"
#include "shell/common/gin_helper/dictionary.h"