OSDN Git Service

Switch installd to compile as C++.
authorJeff Sharkey <jsharkey@android.com>
Tue, 7 Apr 2015 19:44:51 +0000 (12:44 -0700)
committerJeff Sharkey <jsharkey@android.com>
Tue, 7 Apr 2015 21:01:43 +0000 (14:01 -0700)
commit19803807cd7ae01868fcfa50305f4a7dd13765e2
treea06b7fc1822d53c8891a27e39b5e27e50d873667
parente23a13299a4f6f2488935b4786cdbb46f46e3d3c
Switch installd to compile as C++.

This is the minimal change needed to switch it over to C++, which
paves the way for using more robust utilities like std::string.

Change-Id: I80ed6280146875eb6ddbbb340c05450388ca13f0
cmds/installd/Android.mk
cmds/installd/commands.cpp [moved from cmds/installd/commands.c with 100% similarity]
cmds/installd/installd.cpp [moved from cmds/installd/installd.c with 98% similarity]
cmds/installd/installd.h
cmds/installd/tests/installd_utils_test.cpp
cmds/installd/utils.cpp [moved from cmds/installd/utils.c with 98% similarity]