mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-19 13:04:39 +08:00
This allows the data to be built and consumed in the frontend. Bug: 1325812 Change-Id: I89c336983097af0bd02609bc72b6562f1723b007 Signed-off-by: Victor Porof <victorporof@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3702683 Reviewed-by: Mathias Bynens <mathias@chromium.org>
34 lines
921 B
Plaintext
34 lines
921 B
Plaintext
# Copyright 2020 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import("../../../scripts/build/ninja/devtools_entrypoint.gni")
|
|
import("../../../scripts/build/ninja/devtools_module.gni")
|
|
import("../visibility.gni")
|
|
|
|
devtools_module("javascript_metadata") {
|
|
sources = [
|
|
"DOMPinnedProperties.ts",
|
|
"JavaScriptMetadata.ts",
|
|
"NativeFunctions.js",
|
|
]
|
|
|
|
deps = [ "../../core/common:bundle" ]
|
|
}
|
|
|
|
devtools_entrypoint("bundle") {
|
|
entrypoint = "javascript_metadata.ts"
|
|
|
|
deps = [ ":javascript_metadata" ]
|
|
|
|
visibility = [
|
|
":*",
|
|
"../../../test/unittests/front_end/entrypoints/missing_entrypoints/*",
|
|
"../../../test/unittests/front_end/models/javascript_metadata/*",
|
|
"../../ui/components/text_editor/*",
|
|
"../../ui/legacy/components/object_ui/*",
|
|
]
|
|
|
|
visibility += devtools_models_visibility
|
|
}
|