Lines Matching defs:cpp
282 ## Find all of the cpp files under the named directories.
285 ## SRC_FILES := $(call all-cpp-files-under,src tests)
288 define all-cpp-files-under
291 find -L $(1) -name "*$(or $(LOCAL_CPP_EXTENSION),.cpp)" -and -not -name ".*") \
296 ## Find all of the cpp files from here. Meant to be used like:
297 ## SRC_FILES := $(call all-subdir-cpp-files)
300 define all-subdir-cpp-files
301 $(call all-cpp-files-under,.)
413 # css, *.cpp, DontWantThis.cpp)
976 define transform-l-to-c-or-cpp
987 define transform-y-to-c-or-cpp
1055 define transform-renderscripts-to-cpp-and-bc
1086 define transform-aidl-to-cpp
1094 ## Given a .aidl file path generate the rule to compile it a .cpp file.
1096 # $(2): a directory to place the generated .cpp files in
1100 define define-aidl-cpp-rule
1101 define-aidl-cpp-rule-src := $(patsubst %.aidl,%$(LOCAL_CPP_EXTENSION),$(subst ../,dotdot/,$(addprefix $(2)/,$(1))))
1102 $$(define-aidl-cpp-rule-src) : $(LOCAL_PATH)/$(1) $(AIDL_CPP)
1103 $$(transform-aidl-to-cpp)
1104 $(3) += $$(define-aidl-cpp-rule-src)
1111 define transform-vts-to-cpp
1119 ## Given a .vts file path generate the rule to compile it a .cpp file.
1121 # $(2): a directory to place the generated .cpp files in
1125 define define-vts-cpp-rule
1126 define-vts-cpp-rule-src := $(patsubst %.vts,%$(LOCAL_CPP_EXTENSION),$(subst ../,dotdot/,$(addprefix $(2)/,$(1))))
1127 $$(define-vts-cpp-rule-src) : $(LOCAL_PATH)/$(1) $(VTSC)
1128 $$(transform-vts-to-cpp)
1129 $(3) += $$(define-vts-cpp-rule-src)
1172 @# aprotoc outputs only .cc. Rename it to .cpp if necessary.
1207 define transform-cpp-to-o
1314 define transform-host-cpp-to-o
1404 $(transform-host-cpp-to-o)
1419 define compile-dotdot-cpp-file
1422 $$(transform-$$(PRIVATE_HOST)cpp-to-o)