Skip to content

Commit 44de218

Browse files
pfaffeDevtools-frontend LUCI CQ
authored and
Devtools-frontend LUCI CQ
committed
[e2e] Use extension API typedefs in the language plugin tests
Fixed: 1219420 Change-Id: I984ca98ce8e5fb715b67df44e46e9f94553fd2b7 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3038643 Commit-Queue: Philip Pfaffe <[email protected]> Reviewed-by: Tim van der Lippe <[email protected]>
1 parent ddf60d2 commit 44de218

File tree

5 files changed

+98
-147
lines changed

5 files changed

+98
-147
lines changed

extension-api/BUILD.gn

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Copyright 2021 The Chromium Authors. All rights reserved.
2+
# Use of this source code is governed by a BSD-style license that can be
3+
# found in the LICENSE file.
4+
5+
import("../scripts/build/ninja/devtools_pre_built.gni")
6+
7+
devtools_pre_built("extension-api") {
8+
sources = [
9+
"ExtensionAPI.d.ts",
10+
"extension-api-tsconfig.json",
11+
]
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"compilerOptions": {
3+
"composite": true
4+
},
5+
"files": [
6+
"ExtensionAPI.d.ts"
7+
]
8+
}

front_end/models/extensions/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ devtools_module("extensions") {
1717
]
1818

1919
deps = [
20+
"../../../extension-api",
2021
"../../core/common:bundle",
2122
"../../core/host:bundle",
2223
"../../core/platform:bundle",

test/e2e/sources/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ node_ts_library("sources") {
2828
]
2929

3030
deps = [
31+
"../../../extension-api",
3132
"../../shared",
3233
"../helpers",
3334
]

0 commit comments

Comments
 (0)