Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 869883 - Use system/Makefile to copy the camera app #9618

Merged
merged 1 commit into from May 9, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -6,7 +6,6 @@
*~
manifest.appcache

/apps/system/camera
/apps/settings/resources/gaia_commit.txt
/apps/homescreen/js/init.json
/apps/homescreen/js/hiddenapps.js
Expand Down
3 changes: 0 additions & 3 deletions Makefile
Expand Up @@ -286,9 +286,6 @@ webapp-manifests: install-xulrunner-sdk
# Generate profile/webapps/APP/application.zip
webapp-zip: stamp-commit-hash install-xulrunner-sdk
ifneq ($(DEBUG),1)
@rm -rf apps/system/camera
@cp -r apps/camera apps/system/camera
@rm apps/system/camera/manifest.webapp
@mkdir -p profile/webapps
@$(call run-js-command, webapp-zip)
endif
Expand Down
1 change: 1 addition & 0 deletions apps/system/.gitignore
@@ -0,0 +1 @@
/camera
9 changes: 9 additions & 0 deletions apps/system/Makefile
@@ -0,0 +1,9 @@
all: copy-camera-app

# This make target copies the camera app to System app
# and use it as the secure camera.
.PHONY: copy-camera-app
copy-camera-app:
@rm -rf ./camera
@cp -r ../camera ./camera
@rm ./camera/manifest.webapp