use ComponentSpecificationMessage proto (refactoring)
Change-Id: I38abd3e66fff481d89630985ac2377272ad7e771
diff --git a/build-python.sh b/build-python.sh
index 48725fe..e9d25c7 100755
--- a/build-python.sh
+++ b/build-python.sh
@@ -3,18 +3,16 @@
# Modifies any import statements (to remove subdir path)
## Modifies import statement in proto files.
-sed -i 's/import "test\/vts\/proto\/InterfaceSpecificationMessage.proto";/import "InterfaceSpecificationMessage.proto";/g' proto/AndroidSystemControlMessage.proto
-sed -i 's/import "test\/vts\/proto\/InterfaceSpecificationMessage.proto";/import "InterfaceSpecificationMessage.proto";/g' proto/ComponentSpecificationMessage.proto
+sed -i 's/import "test\/vts\/proto\/ComponentSpecificationMessage.proto";/import "ComponentSpecificationMessage.proto";/g' proto/AndroidSystemControlMessage.proto
## Compiles modified proto files to .py files.
protoc -I=proto --python_out=proto proto/AndroidSystemControlMessage.proto
protoc -I=proto --python_out=proto proto/ComponentSpecificationMessage.proto
## Restores import statement in proto files.
-sed -i 's/import "InterfaceSpecificationMessage.proto";/import "test\/vts\/proto\/InterfaceSpecificationMessage.proto";/g' proto/AndroidSystemControlMessage.proto
-sed -i 's/import "InterfaceSpecificationMessage.proto";/import "test\/vts\/proto\/InterfaceSpecificationMessage.proto";/g' proto/ComponentSpecificationMessage.proto
+sed -i 's/import "ComponentSpecificationMessage.proto";/import "test\/vts\/proto\/ComponentSpecificationMessage.proto";/g' proto/AndroidSystemControlMessage.proto
-protoc -I=proto --python_out=proto proto/InterfaceSpecificationMessage.proto
+protoc -I=proto --python_out=proto proto/ComponentSpecificationMessage.proto
protoc -I=proto --python_out=proto proto/VtsReportMessage.proto
# Compiles all the python source codes.