blob: 8f7ed7c0e81bb52d8ce1c566633dcfbec0d144e8 [file] [log] [blame]
Ruben Brunk370e2432014-10-14 18:33:23 -07001# Copyright (C) 2014 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16its-dir-name := CameraITS
17its-dir := $(HOST_OUT)/$(its-dir-name)
Ruben Brunk04c962f2014-10-20 15:00:16 -070018its-build-stamp := $(its-dir)/build_stamp
Ruben Brunk370e2432014-10-14 18:33:23 -070019
Ruben Brunk04c962f2014-10-20 15:00:16 -070020camera-its: $(its-build-stamp)
Ruben Brunk370e2432014-10-14 18:33:23 -070021
22.PHONY: camera-its
23
Ruben Brunk86c2cfa2014-10-22 11:08:52 -070024$(its-dir): $(its-build-stamp)
25
Ruben Brunk04c962f2014-10-20 15:00:16 -070026$(its-build-stamp): $(ACP)
Ruben Brunk370e2432014-10-14 18:33:23 -070027 echo $(its_dir)
28 mkdir -p $(its-dir)
29 $(ACP) -rfp cts/apps/$(its-dir-name)/* $(its-dir)
30 rm $(its-dir)/Android.mk
Ruben Brunk04c962f2014-10-20 15:00:16 -070031 touch $@