Chromium Code Reviews| 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..4e2b86108450718ab35bea4e81009b5506ddb890 |
| --- /dev/null |
| +++ b/client/site_tests/login_OwnershipApi/src/Makefile |
| @@ -0,0 +1,19 @@ |
| +# 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. |
| + |
| +# Requires $(SYSROOT) and $(OUT_DIR) to be set. |
|
petkov
2011/04/04 17:48:01
You could:
ifndef SYSROOT
$(error Define SYSROO
Chris Masone
2011/04/04 18:00:02
Done.
|
| + |
| +PROTO_PATH = $(SYSROOT)/usr/include/proto |
| +PROTO_DEFS = $(PROTO_PATH)/device_management_backend.proto \ |
| + $(PROTO_PATH)/device_management_local.proto |
| +PROTO_BINDINGS = $(OUT_DIR)/device_management_backend_pb2.py \ |
| + $(OUT_DIR)/device_management_local_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) |