graphdriver: build tags

Enable build tags for all the graphdrivers to be excludable.

As an example:
```
$ go build
$ ls -l docker
-rwxr-xr-x 1 vbatts vbatts 18400158 Mar 14 14:22 docker*
$ go build -tags "exclude_graphdriver_aufs exclude_graphdriver_vfs exclude_graphdriver_devicemapper"
$ ls -l docker
-rwxr-xr-x 1 vbatts vbatts 17467068 Mar 14 14:22 docker*
```

Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
This commit is contained in:
Vincent Batts
2014-03-17 21:54:05 -04:00
parent 68dc189680
commit 670ce98c60
6 changed files with 67 additions and 8 deletions
+7
View File
@@ -0,0 +1,7 @@
// +build !exclude_graphdriver_devicemapper
package runtime
import (
_ "github.com/dotcloud/docker/runtime/graphdriver/devmapper"
)