• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 # Copyright (c) 2015, Motorola Mobility LLC
2 # All rights reserved.
3 #
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are met:
6 #     - Redistributions of source code must retain the above copyright
7 #       notice, this list of conditions and the following disclaimer.
8 #     - Redistributions in binary form must reproduce the above copyright
9 #       notice, this list of conditions and the following disclaimer in the
10 #       documentation and/or other materials provided with the distribution.
11 #     - Neither the name of Motorola Mobility nor the
12 #       names of its contributors may be used to endorse or promote products
13 #       derived from this software without specific prior written permission.
14 #
15 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
17 # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18 # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MOTOROLA MOBILITY LLC BE LIABLE
19 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
25 # DAMAGE.
26
27# If you don't need to do a full clean build but would like to touch
28# a file or delete some intermediate files, add a clean step to the end
29# of the list.  These steps will only be run once, if they haven't been
30# run before.
31#
32# E.g.:
33#     $(call add-clean-step, touch -c external/sqlite/sqlite3.h)
34#     $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libz_intermediates)
35#
36# Always use "touch -c" and "rm -f" or "rm -rf" to gracefully deal with
37# files that are missing or have been moved.
38#
39# Use $(PRODUCT_OUT) to get to the "out/target/product/blah/" directory.
40# Use $(OUT_DIR) to refer to the "out" directory.
41#
42# If you need to re-do something that's already mentioned, just copy
43# the command and add it to the bottom of the list.  E.g., if a change
44# that you made last week required touching a file and a change you
45# made today requires touching the same file, just copy the old
46# touch step and add it to the end of the list.
47#
48# ************************************************
49# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
50# ************************************************
51
52$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.ims.rcsmanager_intermediates)
53$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/*/obj/JAVA_LIBRARIES/com.android.ims.rcsmanager_intermediates)
54$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/*/obj/ETC/com.android.ims.rcsmanager.xml_intermediates)
55$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/framework/com.android.ims.rcsmanager.jar)
56$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/permissions/com.android.ims.rcsmanager.xml)
57
58# ************************************************
59# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
60# ************************************************
61