Repository navigation
Expand file tree
/
Copy pathMakefile
More file actions
54 lines (41 loc) · 1.59 KB
/
Copy pathMakefile
File metadata and controls
54 lines (41 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Common tasks. Run `make help` for the list.
DERIVED ?= build/DerivedData
.PHONY: help test project build strings agent helpers gfxstream proto icons clean
help:
@echo "make test run the host core tests (swift test)"
@echo "make project generate host/Avo.xcodeproj (XcodeGen)"
@echo "make build build Avo.app (Debug) into $(DERIVED)"
@echo "make strings update the String Catalogs from the last build"
@echo "make agent build the Bridge Agent APK (Android SDK + NDK)"
@echo "make helpers rebuild the guest helpers embedded in the daemon (clipboard, links, macstate, fingerprint, gpuprofile, gfxsync, widgets)"
@echo "make gfxstream build the GPU renderer Avo.app ships (gfxstream, Vulkan loader, MoltenVK) into build/gfxstream"
@echo "make proto regenerate protocol bindings"
@echo "make icons regenerate brand assets"
test:
cd host/AvoKit && swift test
cd vendor/avo_kit && swift test
project:
cd host && xcodegen generate
build: project
xcodebuild -project host/Avo.xcodeproj -scheme Avo -configuration Debug -derivedDataPath $(DERIVED) build
strings:
scripts/sync-strings.sh $(DERIVED)
agent:
guest/bridge-agent/build.sh
helpers:
guest/clipboard/build.sh
guest/links/build.sh
guest/macstate/build.sh
guest/fingerprint/build.sh
guest/gpuprofile/build.sh
guest/glwrap/build.sh
guest/gfxsync/build.sh
guest/widgets/build.sh
gfxstream:
scripts/build-gfxstream.sh
proto:
scripts/gen-proto.sh
icons:
python3 -I branding/tools/generate.py
clean:
rm -rf $(DERIVED) host/AvoKit/.build guest/bridge-agent/build guest/clipboard/build guest/links/build guest/macstate/build