Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: client/site_tests/login_OwnershipApi/src/Makefile

Issue 6759063: [autotest] Update login_OwnershipApi to use protobufs (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: make fixes Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/site_tests/login_OwnershipApi/login_OwnershipApi.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/site_tests/login_OwnershipApi/src/Makefile
diff --git a/client/site_tests/login_OwnershipApi/src/Makefile b/client/site_tests/login_OwnershipApi/src/Makefile
new file mode 100644
index 0000000000000000000000000000000000000000..c73291578a19f37512a9dcc9755922d94bbf18b9
--- /dev/null
+++ b/client/site_tests/login_OwnershipApi/src/Makefile
@@ -0,0 +1,20 @@
+# 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)/device_management_backend.proto
+PROTO_BINDINGS = $(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)
« no previous file with comments | « client/site_tests/login_OwnershipApi/login_OwnershipApi.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698