forked from openkylin/platform_build
Merge "Use new -ninja flag to aidl-cpp" am: 7d4c926ed7
am: 676610e090
Change-Id: I0fdc9d0cb82d9dd9788ad1fa767a0700667509c5
This commit is contained in:
commit
bcb8dfe2b2
|
@ -953,7 +953,7 @@ aidl_gen_include_root := $(intermediates)/aidl-generated/include
|
|||
$(foreach s,$(aidl_src),\
|
||||
$(eval $(call define-aidl-cpp-rule,$(s),$(aidl_gen_cpp_root),aidl_gen_cpp)))
|
||||
$(foreach cpp,$(aidl_gen_cpp), \
|
||||
$(call include-depfile,$(addsuffix .aidl.P,$(basename $(cpp))),$(cpp)))
|
||||
$(call include-depfile,$(addsuffix .aidl.d,$(basename $(cpp))),$(cpp)))
|
||||
$(call track-src-file-gen,$(aidl_src),$(aidl_gen_cpp))
|
||||
|
||||
$(aidl_gen_cpp) : PRIVATE_MODULE := $(LOCAL_MODULE)
|
||||
|
|
|
@ -1063,7 +1063,7 @@ define transform-aidl-to-cpp
|
|||
@mkdir -p $(dir $@)
|
||||
@mkdir -p $(PRIVATE_HEADER_OUTPUT_DIR)
|
||||
@echo "Generating C++ from AIDL: $(PRIVATE_MODULE) <= $<"
|
||||
$(hide) $(AIDL_CPP) -d$(basename $@).aidl.P $(PRIVATE_AIDL_FLAGS) \
|
||||
$(hide) $(AIDL_CPP) -d$(basename $@).aidl.d -ninja $(PRIVATE_AIDL_FLAGS) \
|
||||
$< $(PRIVATE_HEADER_OUTPUT_DIR) $@
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in New Issue