1# Copyright 2009 The RE2 Authors. All Rights Reserved. 2# Use of this source code is governed by a BSD-style 3# license that can be found in the LICENSE file. 4 5# Bazel (http://bazel.build/) BUILD file for RE2 app. 6 7cc_binary( 8 name = "_re2.js", 9 testonly = 1, 10 srcs = ["_re2.cc"], 11 linkopts = [ 12 "--bind", 13 "-sENVIRONMENT=web", 14 "-sSINGLE_FILE=1", 15 "-sMODULARIZE=1", 16 "-sEXPORT_ES6=1", 17 "-sEXPORT_NAME=loadModule", 18 "-sUSE_PTHREADS=0", 19 ], 20 deps = [ 21 "//:re2", 22 "//:testing", 23 ], 24) 25