# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. ### This moz.build was AUTOMATICALLY GENERATED from a GN config, ### ### DO NOT edit it by hand. ### COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["ANGLE_ENABLE_CONTEXT_MUTEX"] = "1" DEFINES["ANGLE_ENABLE_DEBUG_ANNOTATIONS"] = False DEFINES["ANGLE_ENABLE_GLOBAL_MUTEX_LOAD_TIME_ALLOCATE"] = "1" DEFINES["ANGLE_ENABLE_KEYEDMUTEX"] = True DEFINES["ANGLE_ENABLE_SHARE_CONTEXT_LOCK"] = "1" DEFINES["ANGLE_PLATFORM_EXPORT"] = "" DEFINES["ANGLE_SKIP_DXGI_1_2_CHECK"] = True DEFINES["ANGLE_USE_ANDROID_TLS_SLOT"] = "1" DEFINES["EGL_NO_X11"] = True DEFINES["HAVE_SYS_UIO_H"] = True DEFINES["VK_USE_PLATFORM_ANDROID_KHR"] = True DEFINES["_GNU_SOURCE"] = True DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True LOCAL_INCLUDES += [ "!/ipc/ipdl/_ipdlheaders", "/ipc/chromium/src", "/third_party/angle/include/", "/third_party/angle/src/", "/third_party/angle/third_party/vulkan-headers/src/include/", "/tools/profiler/public" ] USE_LIBS += [ "vulkan_headers_gn" ] if not CONFIG["MOZ_DEBUG"]: DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" DEFINES["NDEBUG"] = True DEFINES["NVALGRIND"] = True if CONFIG["MOZ_DEBUG"] == "1": DEFINES["ANGLE_DEBUG_LAYERS_ENABLED"] = True DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" DEFINES["_DEBUG"] = True if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["__ARM_NEON__"] = "1" Library("angle_vulkan_headers_gn")