Ruben Brunk | 370e243 | 2014-10-14 18:33:23 -0700 | [diff] [blame] | 1 | # 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 | |
| 16 | its-dir-name := CameraITS |
| 17 | its-dir := $(HOST_OUT)/$(its-dir-name) |
Ruben Brunk | 04c962f | 2014-10-20 15:00:16 -0700 | [diff] [blame] | 18 | its-build-stamp := $(its-dir)/build_stamp |
Ruben Brunk | 370e243 | 2014-10-14 18:33:23 -0700 | [diff] [blame] | 19 | |
Ruben Brunk | 04c962f | 2014-10-20 15:00:16 -0700 | [diff] [blame] | 20 | camera-its: $(its-build-stamp) |
Ruben Brunk | 370e243 | 2014-10-14 18:33:23 -0700 | [diff] [blame] | 21 | |
| 22 | .PHONY: camera-its |
| 23 | |
Ruben Brunk | 86c2cfa | 2014-10-22 11:08:52 -0700 | [diff] [blame] | 24 | $(its-dir): $(its-build-stamp) |
| 25 | |
Ruben Brunk | 04c962f | 2014-10-20 15:00:16 -0700 | [diff] [blame] | 26 | $(its-build-stamp): $(ACP) |
Ruben Brunk | 370e243 | 2014-10-14 18:33:23 -0700 | [diff] [blame] | 27 | 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 Brunk | 04c962f | 2014-10-20 15:00:16 -0700 | [diff] [blame] | 31 | touch $@ |