Home | History | Annotate | Download | only in src
      1 # Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 GIT_CLONE_URL = "https://chromium.googlesource.com/apps/camera"
      6 BUILD_CAMERA_DIR = camera
      7 
      8 all:
      9 	# Clone the ToT version of the Camera App.
     10 	rm -rf $(BUILD_CAMERA_DIR)
     11 	mkdir $(BUILD_CAMERA_DIR)
     12 	cd $(BUILD_CAMERA_DIR)
     13 	git clone $(GIT_CLONE_URL)
     14 
     15 	# Always build from scratch.
     16 	$(MAKE) -C $(BUILD_CAMERA_DIR) clean build/camera
     17 
     18 clean:
     19 	rm -rf $(BUILD_CAMERA_DIR)
     20