Treat .cxx files as c++
Fixes: 135749365 Fixes: 135667566 Test: m checkbuild Change-Id: If47274812dfe781ebbb9f8a60a395650573727d5
This commit is contained in:
parent
8a255acae2
commit
d34ab7c6b2
|
@ -416,7 +416,7 @@ func TransformSourceToObj(ctx android.ModuleContext, subdir string, srcFiles and
|
|||
ccCmd = "clang"
|
||||
moduleCflags = cflags
|
||||
moduleToolingCflags = toolingCflags
|
||||
case ".cpp", ".cc", ".mm":
|
||||
case ".cpp", ".cc", ".cxx", ".mm":
|
||||
ccCmd = "clang++"
|
||||
moduleCflags = cppflags
|
||||
moduleToolingCflags = toolingCppflags
|
||||
|
|
|
@ -141,7 +141,7 @@ func getArguments(src android.Path, ctx android.SingletonContext, ccModule *Modu
|
|||
isAsm = false
|
||||
isCpp = false
|
||||
clangPath = ccPath
|
||||
case ".cpp", ".cc", ".mm":
|
||||
case ".cpp", ".cc", ".cxx", ".mm":
|
||||
isAsm = false
|
||||
isCpp = true
|
||||
clangPath = cxxPath
|
||||
|
|
Loading…
Reference in New Issue