0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-01 20:25:12 -05:00

chore: move libdeno files to //libdeno/

This commit is contained in:
Yoshiya Hinosawa 2018-08-19 16:44:10 +09:00 committed by Ryan Dahl
parent 146bc93b81
commit aaabc853e8
13 changed files with 13 additions and 13 deletions

View file

@ -78,7 +78,7 @@ rust_test("test_rs") {
v8_executable("test_cc") { v8_executable("test_cc") {
testonly = true testonly = true
sources = [ sources = [
"src/test.cc", "libdeno/test.cc",
] ]
deps = [ deps = [
":deno_base_test", ":deno_base_test",
@ -90,7 +90,7 @@ v8_executable("test_cc") {
static_library("libdeno") { static_library("libdeno") {
complete_static_lib = true complete_static_lib = true
sources = [ sources = [
"src/from_snapshot.cc", "libdeno/from_snapshot.cc",
] ]
inputs = [ inputs = [
"$target_gen_dir/snapshot_deno.bin", "$target_gen_dir/snapshot_deno.bin",
@ -108,11 +108,11 @@ static_library("libdeno") {
# dependencies are minimal. # dependencies are minimal.
v8_source_set("deno_base") { v8_source_set("deno_base") {
sources = [ sources = [
"src/binding.cc", "libdeno/binding.cc",
"src/deno.h", "libdeno/deno.h",
"src/file_util.cc", "libdeno/file_util.cc",
"src/file_util.h", "libdeno/file_util.h",
"src/internal.h", "libdeno/internal.h",
] ]
public_deps = [ public_deps = [
"third_party/v8:v8_monolith", "third_party/v8:v8_monolith",
@ -123,9 +123,9 @@ v8_source_set("deno_base") {
v8_source_set("deno_base_test") { v8_source_set("deno_base_test") {
testonly = true testonly = true
sources = [ sources = [
"src/file_util_test.cc", "libdeno/file_util_test.cc",
"src/from_snapshot.cc", "libdeno/from_snapshot.cc",
"src/libdeno_test.cc", "libdeno/libdeno_test.cc",
] ]
inputs = [ inputs = [
"$target_gen_dir/snapshot_libdeno_test.bin", "$target_gen_dir/snapshot_libdeno_test.bin",
@ -148,7 +148,7 @@ v8_source_set("deno_bindings") {
executable("snapshot_creator") { executable("snapshot_creator") {
sources = [ sources = [
"src/snapshot_creator.cc", "libdeno/snapshot_creator.cc",
] ]
deps = [ deps = [
":deno_base", ":deno_base",
@ -242,7 +242,7 @@ source_set("libdeno_nosnapshot") {
bundle_map_location = rebase_path(bundle_outputs[1]) bundle_map_location = rebase_path(bundle_outputs[1])
inputs = bundle_outputs inputs = bundle_outputs
sources = [ sources = [
"src/from_filesystem.cc", "libdeno/from_filesystem.cc",
] ]
deps = [ deps = [
":bundle", ":bundle",
@ -280,5 +280,5 @@ create_snapshot("deno") {
# Generates $target_gen_dir/snapshot_libdeno_test.bin # Generates $target_gen_dir/snapshot_libdeno_test.bin
create_snapshot("libdeno_test") { create_snapshot("libdeno_test") {
testonly = true testonly = true
js = "js/libdeno_test.js" js = "libdeno/libdeno_test.js"
} }