Add layering_check to Bazel CI.

This will avoid regressions on #596.
diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml
index 38e8515..ce36668 100644
--- a/.bazelci/presubmit.yml
+++ b/.bazelci/presubmit.yml
@@ -1,25 +1,41 @@
 ---
 platforms:
   ubuntu1604:
+    build_flags:
+    - "--features=layering_check"
     build_targets:
     - "..."
+    test_flags:
+    - "--features=layering_check"
     test_targets:
     - "..."
   ubuntu1804:
+    build_flags:
+    - "--features=layering_check"
     build_targets:
     - "..."
+    test_flags:
+    - "--features=layering_check"
     test_targets:
     - "..."
   macos:
+    build_flags:
+    - "--features=layering_check"
     build_targets:
     - "..."
+    test_flags:
+    - "--features=layering_check"
     test_targets:
     - "..."
   windows:
     # Optional: use VS 2017 instead of 2015.
     environment:
       BAZEL_VC: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC"
+    build_flags:
+    - "--features=layering_check"
     build_targets:
     - "..."
+    test_flags:
+    - "--features=layering_check"
     test_targets:
     - "..."
diff --git a/bazel/example/BUILD.bazel b/bazel/example/BUILD.bazel
index 6b10e2b..05ab0f3 100644
--- a/bazel/example/BUILD.bazel
+++ b/bazel/example/BUILD.bazel
@@ -4,5 +4,6 @@
     srcs = ["main.cc"],
     deps = [
         "//:glog",
+        "@com_github_gflags_gflags//:gflags",
     ],
 )