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

Unified Diff: BUILD.gn

Issue 1749663002: [api] Assume that v8/include is in the include path for all public headers (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 4 years, 10 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/libplatform/libplatform.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 73472ba5babff7ff1f827c9db1e4028afc139a8c..34ea9ee4f976900e7af1280fc2fbfc485a3f6a13 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -77,6 +77,11 @@ config("internal_config_base") {
include_dirs = [ "." ]
}
+# This config should be applied to code using the libplatform.
+config("libplatform_config") {
+ include_dirs = [ "include" ]
+}
+
# This config should only be applied to code using V8 and not any V8 code
# itself.
config("external_config") {
@@ -1842,6 +1847,7 @@ if (current_toolchain == snapshot_toolchain) {
configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [
":internal_config",
+ ":libplatform_config",
":features",
":toolchain",
]
@@ -1954,6 +1960,7 @@ source_set("json_fuzzer") {
configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [
":internal_config",
+ ":libplatform_config",
":features",
":toolchain",
]
@@ -1972,6 +1979,7 @@ source_set("parser_fuzzer") {
configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [
":internal_config",
+ ":libplatform_config",
":features",
":toolchain",
]
@@ -1990,6 +1998,7 @@ source_set("regexp_fuzzer") {
configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [
":internal_config",
+ ":libplatform_config",
":features",
":toolchain",
]
« no previous file with comments | « no previous file | include/libplatform/libplatform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698