Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Unified Diff: BUILD.gn

Issue 2042253002: [icu] Support loading data file from default location (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Format Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | include/v8.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index e3c59b9dced632f28c24c485bbe5e67d3c5197aa..4ed1f40a6f2f73755ba7491d8aac3d44cbafb5b0 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -627,12 +627,18 @@ action("run_mksnapshot") {
source_set("v8_maybe_snapshot") {
if (v8_use_snapshot && v8_use_external_startup_data) {
- public_deps = [ ":v8_external_snapshot" ]
+ public_deps = [
+ ":v8_external_snapshot",
+ ]
} else if (v8_use_snapshot) {
- public_deps = [ ":v8_snapshot" ]
+ public_deps = [
+ ":v8_snapshot",
+ ]
} else {
assert(!v8_use_external_startup_data)
- public_deps = [ ":v8_nosnapshot" ]
+ public_deps = [
+ ":v8_nosnapshot",
+ ]
}
}
@@ -1871,6 +1877,8 @@ v8_source_set("v8_libbase") {
"src/base/cpu.h",
"src/base/division-by-constant.cc",
"src/base/division-by-constant.h",
+ "src/base/file-utils.cc",
+ "src/base/file-utils.h",
"src/base/flags.h",
"src/base/format-macros.h",
"src/base/functional.cc",
@@ -2050,11 +2058,11 @@ if (current_toolchain == v8_snapshot_toolchain) {
# Public targets
#
-want_v8_shell = (
+want_v8_shell =
(current_toolchain == host_toolchain && v8_toolset_for_shell == "host") ||
(current_toolchain == v8_snapshot_toolchain &&
v8_toolset_for_shell == "host") ||
- (current_toolchain != host_toolchain && v8_toolset_for_shell == "target"))
+ (current_toolchain != host_toolchain && v8_toolset_for_shell == "target")
group("gn_all") {
testonly = true
@@ -2064,22 +2072,18 @@ group("gn_all") {
":v8_simple_json_fuzzer",
":v8_simple_parser_fuzzer",
":v8_simple_regexp_fuzzer",
- ":v8_simple_wasm_fuzzer",
":v8_simple_wasm_asmjs_fuzzer",
+ ":v8_simple_wasm_fuzzer",
"test:gn_all",
"tools:gn_all",
]
if (want_v8_shell) {
- deps += [
- ":v8_shell",
- ]
+ deps += [ ":v8_shell" ]
}
if (v8_test_isolation_mode != "noop") {
- deps += [
- ":d8_run",
- ]
+ deps += [ ":d8_run" ]
}
}
@@ -2219,7 +2223,8 @@ v8_source_set("json_fuzzer") {
configs = [ ":internal_config" ]
}
-v8_fuzzer("json_fuzzer") {}
+v8_fuzzer("json_fuzzer") {
+}
v8_source_set("parser_fuzzer") {
sources = [
@@ -2233,7 +2238,8 @@ v8_source_set("parser_fuzzer") {
configs = [ ":internal_config" ]
}
-v8_fuzzer("parser_fuzzer") {}
+v8_fuzzer("parser_fuzzer") {
+}
v8_source_set("regexp_fuzzer") {
sources = [
@@ -2247,7 +2253,8 @@ v8_source_set("regexp_fuzzer") {
configs = [ ":internal_config" ]
}
-v8_fuzzer("regexp_fuzzer") {}
+v8_fuzzer("regexp_fuzzer") {
+}
v8_source_set("wasm_fuzzer") {
sources = [
@@ -2261,7 +2268,8 @@ v8_source_set("wasm_fuzzer") {
configs = [ ":internal_config" ]
}
-v8_fuzzer("wasm_fuzzer") {}
+v8_fuzzer("wasm_fuzzer") {
+}
v8_source_set("wasm_asmjs_fuzzer") {
sources = [
@@ -2275,4 +2283,5 @@ v8_source_set("wasm_asmjs_fuzzer") {
configs = [ ":internal_config" ]
}
-v8_fuzzer("wasm_asmjs_fuzzer") {}
+v8_fuzzer("wasm_asmjs_fuzzer") {
+}
« no previous file with comments | « no previous file | include/v8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698