Open-source Bazel integration tests

It is a first batch of integration tests for Bazel. They tests some
basic behaviors and nominal cases of Bazel rules (especially they tests
the behavior of the examples provided in //examples).

--
MOS_MIGRATED_REVID=89440074
diff --git a/examples/java-native/BUILD b/examples/java-native/BUILD
new file mode 100644
index 0000000..b698a88
--- /dev/null
+++ b/examples/java-native/BUILD
@@ -0,0 +1,10 @@
+package(default_visibility = ["//visibility:public"])
+
+filegroup(
+    name = "srcs",
+    srcs = [
+        "//examples/java-native/src/main/java/com/example/myproject:srcs",
+        "//examples/java-native/src/main/resources:srcs",
+        "//examples/java-native/src/test/java/com/example/myproject:srcs",
+    ],
+)