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

Unified Diff: BUILD.gn

Issue 2292053003: [inspector] Build inspector under v8_enable_inspector build flag. (Closed)
Patch Set: owners Created 4 years, 3 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 | build_overrides/v8.gni » ('j') | build_overrides/v8.gni » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index a7742f37e6981334c7c5fc68549b9aca17d8311e..9d25f2fd62dc24afe9812bbcbfe19be5bd537a14 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -140,6 +140,9 @@ config("external_config") {
]
}
include_dirs = [ "include" ]
+ if (v8_enable_inspector_override) {
+ include_dirs += [ "$target_gen_dir/include" ]
+ }
libs = []
if (is_android && current_toolchain != host_toolchain) {
libs += [ "log" ]
@@ -2016,6 +2019,10 @@ v8_source_set("v8_base") {
sources += [ "$target_gen_dir/debug-support.cc" ]
deps += [ ":postmortem-metadata" ]
}
+
+ if (v8_enable_inspector_override) {
+ deps += [ "src/inspector:inspector" ]
+ }
}
v8_source_set("v8_libbase") {
« no previous file with comments | « no previous file | build_overrides/v8.gni » ('j') | build_overrides/v8.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698