Skip to content

Commit

Permalink
V8
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlstrom-g committed Apr 18, 2024
1 parent 549b2c5 commit 993ed95
Show file tree
Hide file tree
Showing 12,623 changed files with 27 additions and 35 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion cobalt/js_profiler/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static_library("js_profiler") {
"//cobalt/web",
"//media",
"//third_party/abseil-cpp/absl/types:optional",
"//third_party/v8:cppgc",
"//v8:cppgc",
]
}

Expand Down
2 changes: 1 addition & 1 deletion cobalt/js_profiler/profiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "cobalt/script/value_handle.h"
#include "cobalt/script/wrappable.h"
#include "cobalt/web/event_target.h"
#include "third_party/v8/include/v8-profiler.h"
#include "v8/include/v8-profiler.h"

namespace cobalt {
namespace js_profiler {
Expand Down
2 changes: 1 addition & 1 deletion cobalt/js_profiler/profiler_group.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
#include "cobalt/js_profiler/profiler.h"
#include "cobalt/js_profiler/profiler_trace.h"
#include "cobalt/script/global_environment.h"
#include "third_party/v8/include/v8-profiler.h"
#include "v8/include/cppgc/member.h"
#include "v8/include/libplatform/libplatform.h"
#include "v8/include/v8-platform.h"
#include "v8/include/v8-profiler.h"
#include "v8/include/v8.h"

namespace cobalt {
Expand Down
8 changes: 4 additions & 4 deletions cobalt/script/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ static_library("script") {
"//cobalt/base",
"//cobalt/loader:origin",
"//starboard:starboard_headers_only",
"//third_party/v8",
"//third_party/v8:v8_libplatform",
"//url",
"//v8",
"//v8:v8_libplatform",
]
}

Expand All @@ -75,8 +75,8 @@ static_library("standalone_javascript_runner") {
":script",
"//base",
"//cobalt/base",
"//third_party/v8",
"//third_party/v8:v8_libplatform",
"//v8",
"//v8:v8_libplatform",
]
}

Expand Down
10 changes: 5 additions & 5 deletions cobalt/script/v8c/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ static_library("engine") {
"//cobalt/cache",
"//cobalt/configuration",
"//cobalt/script",
"//third_party/v8",
"//third_party/v8:v8_libplatform",
"//third_party/v8/third_party/inspector_protocol:crdtp",
"//v8",
"//v8:v8_libplatform",
"//v8/third_party/inspector_protocol:crdtp",
]
}

Expand All @@ -148,7 +148,7 @@ target(final_executable_type, "v8c") {
"//cobalt/base",
"//cobalt/script:script",
"//cobalt/script:standalone_javascript_runner",
"//third_party/v8",
"//third_party/v8:v8_libplatform",
"//v8",
"//v8:v8_libplatform",
]
}
4 changes: 2 additions & 2 deletions cobalt/script/v8c/v8c_variables.gni
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
generated_bindings_prefix = "v8c"

engine_dependencies = [
"//third_party/v8",
"//third_party/v8:v8_libplatform",
"//v8",
"//v8:v8_libplatform",
"//net",
]

Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ norecursedirs=
testing/gtest
testing/gmock
third_party
v8

# Ignore non-test files with test_* names that pytest would otherwise pick up.
addopts=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# found in the LICENSE file.

browser_protocol_pdl = "//third_party/devtools/third_party/blink/public/devtools_protocol/browser_protocol.pdl"
js_protocol_pdl = "//third_party/v8/include/js_protocol.pdl"
js_protocol_pdl = "//v8/include/js_protocol.pdl"

action("protocol_version") {
script = "//third_party/inspector_protocol/concatenate_protocols.py"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 2 additions & 9 deletions third_party/v8/BUILD.gn → v8/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -448,13 +448,9 @@ config("internal_config_base") {
"-Werror",
"-Wno-unknown-pragmas",
"-Wno-invalid-offsetof",
"-Wno-deprecated-declarations",
]
} else if (!is_win) {
cflags = [
"-Wno-invalid-offsetof",
"-Wno-deprecated-declarations",
]
cflags = [ "-Wno-invalid-offsetof" ]
}
} else if (!is_win) {
cflags = [
Expand Down Expand Up @@ -4098,10 +4094,7 @@ if (is_starboard && current_toolchain == host_toolchain) {
check_includes = false

if (is_clang_16 && use_cobalt_customizations) {
cflags_c = [
"-Wno-deprecated-non-prototype",
"-Wno-implicit-fallthrough",
]
cflags_c = [ "-Wno-deprecated-non-prototype"]
}
sources = [
"//third_party/zlib/adler32.c",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion third_party/v8/src/base/macros.h → v8/src/base/macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#ifndef V8_BASE_MACROS_H_
#define V8_BASE_MACROS_H_

#include <cstdint>
#include <limits>
#include <type_traits>

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 993ed95

Please sign in to comment.