fix(bazel): add missing binary path for api-extractor (#29202)

`api-extractor` binary is required for external consumers of `ng_module` that want to use the `bundle_dts` flag.

This also sets a different api-exttractor binary to use for ng_module, based if it's internal or external.

PR Close #29202
This commit is contained in:
Alan Agius
2019-03-09 13:24:20 +01:00
committed by Kara Erickson
parent 4227126305
commit df354d1b34
5 changed files with 9 additions and 3 deletions

View File

@ -6,6 +6,7 @@ ng_module(
name = "test_module",
testonly = True,
srcs = glob(["*.ts"]),
api_extractor = "//packages/bazel/src/api-extractor:api_extractor",
compiler = "//packages/bazel/src/ngc-wrapped",
entry_point = "index.ts",
flat_module_out_file = "flat_module_filename",