Index: client/site_tests/login_OwnershipRetaken/src/Makefile |
diff --git a/client/site_tests/login_OwnershipRetaken/src/Makefile b/client/site_tests/login_OwnershipRetaken/src/Makefile |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a5dac9bb94b913ded50a092dc59bc6ebf02ae09c |
--- /dev/null |
+++ b/client/site_tests/login_OwnershipRetaken/src/Makefile |
@@ -0,0 +1,22 @@ |
+# Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+ifndef SYSROOT |
+ $(error Define SYSROOT) |
+endif |
+ |
+OUT_DIR ?= . |
+PROTO_PATH = $(SYSROOT)/usr/include/proto |
+PROTO_DEFS = $(PROTO_PATH)/chrome_device_policy.proto \ |
+ $(PROTO_PATH)/device_management_backend.proto |
+PROTO_BINDINGS = $(OUT_DIR)/chrome_device_policy_pb2.py \ |
+ $(OUT_DIR)/device_management_backend_pb2.py |
+ |
+all: $(PROTO_BINDINGS) |
+ |
+$(PROTO_BINDINGS): $(PROTO_DEFS) |
+ protoc --proto_path=$(PROTO_PATH) --python_out=$(OUT_DIR) $(PROTO_DEFS) |
+ |
+clean: |
+ rm -f $(PROTO_BINDINGS) |