Skip to content

Commit

Permalink
add stub
Browse files Browse the repository at this point in the history
  • Loading branch information
EdmondChuiHW committed Mar 11, 2024
1 parent 8c5e07a commit 5bbf2a2
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions front_end/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ group("front_end") {
"entrypoints/worker_app:entrypoint",
"legacy_test_runner",
"third_party/vscode.web-custom-data:web_custom_data",
"embedder-static:embedder-static",
]
}

Expand Down
14 changes: 14 additions & 0 deletions front_end/embedder-static/BUILD.gn
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
# 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/copy.gni")

group("embedder-static") {
public_deps = [ ":embedder-static-files" ]
}

copy_to_gen("embedder-static-files") {
sources = [ "embedderScript.js" ]
}
8 changes: 8 additions & 0 deletions front_end/embedder-static/embedderScript.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Copyright (c) Meta Platforms, Inc. and affiliates.
// 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.

/**
* Default no-op embedderScript stub. Impl can be served via embedders like Metro
*/

0 comments on commit 5bbf2a2

Please sign in to comment.