Creating the Security Test Plan

Change-Id: I51c6d75526b3d4e08fafcb13b39ca6152b2c8dd5
diff --git a/tools/utils/buildCts.py b/tools/utils/buildCts.py
index b269be8..c7f13c9 100755
--- a/tools/utils/buildCts.py
+++ b/tools/utils/buildCts.py
@@ -157,6 +157,13 @@
     #TODO(stuartscott): Maybe move away from com.android.* to android.* - less typing
     self.__WritePlan(plan, 'PDK')
 
+     # CTS - sub plan for Security
+     plan = tools.TestPlan(packages)
+     plan.Exclude('.*')
+     plan.Include(r'android\.security$')
+     plan.Include('android.\host.\jdwpsecurity$')
+     self.__WritePlan(plan, 'Security')
+
     #dirty hack to copy over pre-populated CTS plans - flaky vs stable - to streamline autoCTS
     shutil.copyfile(os.path.join(self.definedplans_repository, 'CTS-flaky.xml'),
         os.path.join(self.plan_repository, 'CTS-flaky.xml'))