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