Omit native code from default build for IDE setup.

--
Change-Id: I12ae7bdf6b7fe5340843bc1750313556970f4c90
Reviewed-on: https://bazel-review.googlesource.com/c/4020
MOS_MIGRATED_REVID=127076309
diff --git a/scripts/get_all_bazel_paths.sh b/scripts/get_all_bazel_paths.sh
index 4a78ba1..2d9b04a 100755
--- a/scripts/get_all_bazel_paths.sh
+++ b/scripts/get_all_bazel_paths.sh
@@ -30,8 +30,10 @@
 # Build almost everything.
 # //third_party/ijar/test/... is disabled due to #273.
 # xcode and android tools do not work out of the box.
+# native code should not be explicitly built, since it may not be compatible
+# with this platform.
 targets_to_build=(//src/{main,java_tools,test/{java,cpp}}/... //third_party/...)
-targets_to_omit=(-//third_party/ijar/test/... -//third_party/java/j2objc/...)
+targets_to_omit=(-//third_party/ijar/test/... -//third_party/java/j2objc/... -//src/main/native/...)
 ./output/bazel build -- ${targets_to_build[@]} ${targets_to_omit[@]} >&2 \
   || exit $?