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

Unified Diff: content/shell/BUILD.gn

Issue 561623002: GN: Enable blink and (nearly) all of content in android build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « content/renderer/BUILD.gn ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/BUILD.gn
diff --git a/content/shell/BUILD.gn b/content/shell/BUILD.gn
index 6621e63c253f173800387757b0747c612d47e1e2..570d1544446640501bed8cd193bef5322a603917 100644
--- a/content/shell/BUILD.gn
+++ b/content/shell/BUILD.gn
@@ -264,7 +264,7 @@ static_library("content_shell_lib") {
}
if (is_android) {
- deps += [ ":content_shell_jni_headers" ]
+ deps += [ "//content/shell/android:content_shell_jni_headers" ]
#deps -= [ "copy_test_netscape_plugin" ] TODO(GYP)
}
@@ -292,6 +292,11 @@ static_library("content_shell_lib") {
} else {
sources += [ "browser/shell_aura.cc" ]
}
+ } else {
+ sources -= [
+ "browser/shell_platform_data_aura.cc",
+ "browser/shell_platform_data_aura.h",
+ ]
}
# The test plugin relies on X11.
@@ -430,6 +435,9 @@ repack("pak") {
}
}
+# TODO(GYP): Figure out what this should be on android
+if (!is_android) {
+
executable("content_shell") {
testonly = true
# TODO(GYP) mac resource bundle stuff for this target.
@@ -446,7 +454,6 @@ executable("content_shell") {
":content_shell_lib",
":pak",
"//base/allocator",
- "//third_party/mesa:osmesa",
]
if (is_win) {
@@ -461,7 +468,7 @@ executable("content_shell") {
# TODO(GYP) lots of stuff from GYP file here.
}
- if (!is_android || !is_android_webview_build) {
+ if (is_android && !is_android_webview_build) {
# Some tests rely on this tool. It might be nicer if these tests relied on
# image diff rather than having content shell depend on it.
datadeps = [
@@ -469,3 +476,5 @@ executable("content_shell") {
]
}
}
+
+}
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698