#!/bin/sh

_BUILD_TARGETS="${_BUILD_TARGETS:-unix/fcitx:fcitx-mozc.so server:mozc_server gui/tool:mozc_tool}"

bazel build -c opt --copt=-fPIC  --config oss_linux "$@" $_BUILD_TARGETS
