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

Unified Diff: BUILD.gn

Issue 294613002: Update BUILD.gn and properly disable it on android (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 | no next file » | 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 2a6178eab07d11751e87f8de487945a16b2743bd..2420ecfbddb467b3a91f44d0c4422749957dc49e 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -239,6 +239,8 @@ source_set("v8_nosnapshot") {
"src/snapshot-empty.cc",
]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [ ":internal_config", ":features" ]
}
@@ -312,8 +314,6 @@ source_set("v8_base") {
"src/dateparser-inl.h",
"src/dateparser.cc",
"src/dateparser.h",
- "src/debug-agent.cc",
- "src/debug-agent.h",
"src/debug.cc",
"src/debug.h",
"src/deoptimizer.cc",
@@ -501,8 +501,6 @@ source_set("v8_base") {
"src/platform/mutex.h",
"src/platform/semaphore.cc",
"src/platform/semaphore.h",
- "src/platform/socket.cc",
- "src/platform/socket.h",
"src/preparse-data-format.h",
"src/preparse-data.cc",
"src/preparse-data.h",
@@ -712,7 +710,6 @@ source_set("v8_base") {
"src/arm64/code-stubs-arm64.h",
"src/arm64/constants-arm64.h",
"src/arm64/cpu-arm64.cc",
- "src/arm64/cpu-arm64.h",
"src/arm64/debug-arm64.cc",
"src/arm64/decoder-arm64.cc",
"src/arm64/decoder-arm64.h",
@@ -780,6 +777,8 @@ source_set("v8_base") {
]
}
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [ ":internal_config", ":features" ]
defines = []
@@ -846,7 +845,7 @@ source_set("v8_base") {
# TODO(jochen): Remove this as soon as toolchain.gypi is integrated.
if (build_cpu_arch != cpu_arch) {
-executable("mksnapshot") {
+source_set("mksnapshot") {
sources = [
]
}
@@ -858,6 +857,8 @@ executable("mksnapshot") {
"src/mksnapshot.cc",
]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [ ":internal_config", ":features" ]
deps = [
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698