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

Unified Diff: chrome/test/BUILD.gn

Issue 1371863002: Android: Do not build files not needed on the platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « chrome/chrome_tests_unit.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/BUILD.gn
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
index ea9d976e091716a72a3ee5e7d69f131b51edaa94..aeaeee405b896fe33fcc2bb3414b1e0a931d2663 100644
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
@@ -163,6 +163,17 @@ source_set("test_support") {
]
}
+ if (is_android) {
+ sources -= [
+ "base/dialog_test_browser_window.cc",
+ "base/dialog_test_browser_window.h",
+ "base/in_process_browser_test.cc",
+ "base/in_process_browser_test.h",
+ "base/test_browser_window.cc",
+ "base/test_browser_window.h",
+ ]
+ }
+
if (enable_extensions) {
deps += [
"//chrome/common/extensions/api",
@@ -659,7 +670,9 @@ if (!is_android) {
# The _run targets exist only for compatibility w/ GYP.
group("browser_tests_run") {
testonly = true
- data_deps = [ ":browser_tests" ]
+ data_deps = [
+ ":browser_tests",
+ ]
}
test("browser_tests") {
@@ -1208,7 +1221,9 @@ if (!is_android) {
"//third_party/WebKit/public:blink",
]
- data_deps = [ "//third_party/mesa:osmesa" ]
+ data_deps = [
+ "//third_party/mesa:osmesa",
+ ]
if (cld_version == 2) {
# Language detection is irrelevant to sync, so it can depend on any
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698