# Copyright 2009 The RE2 Authors. All Rights Reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. # Bazel (http://bazel.build/) BUILD file for RE2 app. cc_binary( name = "_re2.js", testonly = 1, srcs = ["_re2.cc"], linkopts = [ "--bind", "-sENVIRONMENT=web", "-sSINGLE_FILE=1", "-sMODULARIZE=1", "-sEXPORT_ES6=1", "-sEXPORT_NAME=loadModule", "-sUSE_PTHREADS=0", ], deps = [ "//:re2", "//:testing", ], )