Björn Ritzl 1 год назад
Родитель
Сommit
09d3bb0708

+ 60 - 0
docs/en/manuals/app-manifest.md

@@ -0,0 +1,60 @@
+---
+title: App manifest
+brief: This manual describes how the app manifest can be used to exclude features from the engine.
+---
+
+# App manifest
+
+The application manifest is used to exclude or control which features to include in the engine. Excluding unused features of the engine is a recommended best practice since it will decrease the final binary size of your game.
+
+![](images/app_manifest/create-app-manifest.png)
+
+![](images/app_manifest/app-manifest.png)
+
+## Physics
+
+Control which physics engine to use, or select None to exclude physics completely.
+
+
+## Exclude Record
+
+Excluded the video recording capability from the engine (see the [`start_record`](https://defold.com/ref/stable/sys/#start_record) message documentation).
+
+
+## Exclude Profiler
+
+Exclude the profiler from the engine. The profiler is used for gathering performance and usage counters. Learn how to use the profiler in the [Profiling manual](/manuals/profiling/).
+
+
+## Exclude Sound
+
+Exclude all sound playing capabilities from the engine.
+
+
+## Exclude Input
+
+Exclude all input handling from the engine.
+
+
+## Exclude Live Update
+
+Exclude the [Live Update functionality](/manuals/live-update) from the engine.
+
+
+## Exclude Basis Universal
+
+Exclude the Basis Universal [texture compression library](/manuals/texture-profiles) from the engine.
+
+
+## Use Android Support Lib
+
+Use the deprecated Android Support Library instead of Android X. [More info](https://defold.com/manuals/android/#using-androidx).
+
+
+## Graphics
+
+Select which graphics backend to use.
+
+* OpenGL - Include only OpenGL.
+* Vulkan - Include only Vulkan.
+* OpenGL and Vulkan - Include both OpenGL and Vulkan. Vulkan will be the default and fall back to OpenGL if Vulkan is not available.

+ 62 - 68
docs/en/manuals/extensions-build-variants.md

@@ -33,11 +33,7 @@ This executable runs without any graphics and sound. It means that you can run t
 
 ## App Manifest
 
-Not only can you add native code to the engine with the Native Extensions feature, you can also remove standard parts of the engine. E.g. if you don't need a physics engine, you can remove that from the executable.
-
-![](images/app_manifest/create-app-manifest.png)
-
-![](images/app_manifest/app-manifest.png)
+Not only can you add native code to the engine with the Native Extensions feature, you can also remove standard parts of the engine. E.g. if you don't need a physics engine, you can remove that from the executable. Learn how to exclude unused feature [in the application manifest manual](/manuals/app-manifest).
 
 ### Combined context
 
@@ -51,73 +47,71 @@ This is so the user can override the default behaviour of the engine and also ea
 
 	manifest = merge(game.appmanifest, build.yml)
 
-### Editing
-
-Currently, the process can be done manually, but we recommend our users to use the [Manifestation](https://britzl.github.io/manifestation/) tool to create their app manifest. Eventually, the creation and modification of the app manifests will be done in the Editor.
 
 ### Syntax
 
-Here is an example from the [Manifestation](https://britzl.github.io/manifestation/) tool for reference (Subject to change. Don't copy this file directly. Instead, use the online tool):
-
-	platforms:
-	    x86_64-osx:
-	        context:
-	            excludeLibs: []
-	            excludeSymbols: []
-	            libs: []
-	            linkFlags: []
-	    x86_64-linux:
-	        context:
-	            excludeLibs: []
-	            excludeSymbols: []
-	            libs: []
-	            linkFlags: []
-	    js-web:
-	        context:
-	            excludeLibs: []
-	            excludeJsLibs: []
-	            excludeSymbols: []
-	            libs: []
-	            linkFlags: []
-	    wasm-web:
-	        context:
-	            excludeLibs: []
-	            excludeJsLibs: []
-	            excludeSymbols: []
-	            libs: []
-	            linkFlags: []
-	    x86-win32:
-	        context:
-	            excludeLibs: []
-	            excludeSymbols: []
-	            libs: []
-	            linkFlags: []
-	    x86_64-win32:
-	        context:
-	            excludeLibs: []
-	            excludeSymbols: []
-	            libs: []
-	            linkFlags: []
-	    armv7-android:
-	        context:
-	            excludeLibs: []
-	            excludeJars: []
-	            excludeSymbols: []
-	            libs: []
-	            linkFlags: []
-	    armv7-ios:
-	        context:
-	            excludeLibs: []
-	            excludeSymbols: []
-	            libs: []
-	            linkFlags: []
-	    arm64-ios:
-	        context:
-	            excludeLibs: []
-	            excludeSymbols: []
-	            libs: []
-	            linkFlags: []
+Here is an example for reference:
 
+```yml
+platforms:
+    x86_64-osx:
+        context:
+            excludeLibs: []
+            excludeSymbols: []
+            libs: []
+            linkFlags: []
+    x86_64-linux:
+        context:
+            excludeLibs: []
+            excludeSymbols: []
+            libs: []
+            linkFlags: []
+    js-web:
+        context:
+            excludeLibs: []
+            excludeJsLibs: []
+            excludeSymbols: []
+            libs: []
+            linkFlags: []
+    wasm-web:
+        context:
+            excludeLibs: []
+            excludeJsLibs: []
+            excludeSymbols: []
+            libs: []
+            linkFlags: []
+    x86-win32:
+        context:
+            excludeLibs: []
+            excludeSymbols: []
+            libs: []
+            linkFlags: []
+    x86_64-win32:
+        context:
+            excludeLibs: []
+            excludeSymbols: []
+            libs: []
+            linkFlags: []
+    armv7-android:
+        context:
+            excludeLibs: []
+            excludeJars: []
+            excludeSymbols: []
+            libs: []
+            linkFlags: []
+    armv7-ios:
+        context:
+            excludeLibs: []
+            excludeSymbols: []
+            libs: []
+            linkFlags: []
+    arm64-ios:
+        context:
+            excludeLibs: []
+            excludeSymbols: []
+            libs: []
+            linkFlags: []
+```
 
 #### White listing
 

+ 1 - 5
docs/en/manuals/project-settings.md

@@ -570,11 +570,7 @@ If set, use the specified public key file when bundling live update content. If
 ### Native extension
 
 #### _App Manifest_
-If set, use the app manifest to customize the engine build. This allows you to remove unneeded parts from the engine making it possible to decrease the final binary size.
-
-![](images/app_manifest/create-app-manifest.png)
-
-![](images/app_manifest/app-manifest.png)
+If set, use the app manifest to customize the engine build. This allows you to remove unused parts from the engine to decrease the final binary size. Learn how to exclude unused feature [in the application manifest manual](/manuals/app-manifest).
 
 ---