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

Side by Side Diff: chrome/test/BUILD.gn

Issue 2242893002: [MIPS] Adding NaCl/PNaCl support for mipsel to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/crypto.gni") 7 import("//build/config/crypto.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/nacl/config.gni")
9 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
10 import("//chrome/chrome_tests.gni") 11 import("//chrome/chrome_tests.gni")
11 import("//chrome/common/features.gni") 12 import("//chrome/common/features.gni")
12 import("//chrome/test/base/js2gtest.gni") 13 import("//chrome/test/base/js2gtest.gni")
13 import("//testing/test.gni") 14 import("//testing/test.gni")
14 import("//v8/gni/v8.gni") 15 import("//v8/gni/v8.gni")
15 16
16 if (is_android) { 17 if (is_android) {
17 import("//build/config/android/rules.gni") 18 import("//build/config/android/rules.gni")
18 } 19 }
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 "//chrome/browser/chromeos/login/test/https_forwarder.py", 516 "//chrome/browser/chromeos/login/test/https_forwarder.py",
516 "//google_apis/test/", 517 "//google_apis/test/",
517 "$root_out_dir/resources/chromeos/", 518 "$root_out_dir/resources/chromeos/",
518 ] 519 ]
519 520
520 data_deps += [ "//ui/keyboard:resources" ] 521 data_deps += [ "//ui/keyboard:resources" ]
521 522
522 if (enable_nacl) { 523 if (enable_nacl) {
523 data_deps += [ 524 data_deps += [
524 "//components/nacl/loader:nacl_helper", 525 "//components/nacl/loader:nacl_helper",
525 "//components/nacl/loader:helper_nonsfi",
526 "//ppapi/native_client:irt", 526 "//ppapi/native_client:irt",
527 ] 527 ]
528
529 if (is_nacl_nonsfi) {
530 data_deps += [ "//components/nacl/loader:helper_nonsfi" ]
531 }
528 } 532 }
529 533
530 if (is_chrome_branded) { 534 if (is_chrome_branded) {
531 sources -= [ 535 sources -= [
532 # These tests are failing on official cros bots. crbug.com/431450. 536 # These tests are failing on official cros bots. crbug.com/431450.
533 "../browser/ui/views/bookmarks/bookmark_bar_view_test.cc", 537 "../browser/ui/views/bookmarks/bookmark_bar_view_test.cc",
534 ] 538 ]
535 } 539 }
536 } else { 540 } else {
537 # ChromeOS doesn't use panels, everybody else does. 541 # ChromeOS doesn't use panels, everybody else does.
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
1133 } 1137 }
1134 if (is_win) { 1138 if (is_win) {
1135 # TODO(halyavin) NaCl on Windows can't open debug stub socket in 1139 # TODO(halyavin) NaCl on Windows can't open debug stub socket in
1136 # browser process as needed by this test. See http://crbug.com/157312. 1140 # browser process as needed by this test. See http://crbug.com/157312.
1137 sources -= [ "../browser/nacl_host/test/gdb_debug_stub_browsertest.cc" ] 1141 sources -= [ "../browser/nacl_host/test/gdb_debug_stub_browsertest.cc" ]
1138 configs -= [ "//build/config/win:default_incremental_linking" ] 1142 configs -= [ "//build/config/win:default_incremental_linking" ]
1139 configs += 1143 configs +=
1140 [ "//build/config/win:default_large_module_incremental_linking" ] 1144 [ "//build/config/win:default_large_module_incremental_linking" ]
1141 } 1145 }
1142 if (is_linux) { 1146 if (is_linux) {
1143 data_deps += [ 1147 data_deps += [ "//components/nacl/loader:nacl_helper" ]
1144 "//components/nacl/loader:nacl_helper", 1148
1145 "//components/nacl/loader:helper_nonsfi", 1149 if (is_nacl_nonsfi) {
1146 ] 1150 data_deps += [ "//components/nacl/loader:helper_nonsfi" ]
1151 }
1147 } 1152 }
1148 } 1153 }
1149 1154
1150 if (enable_extensions) { 1155 if (enable_extensions) {
1151 sources += rebase_path( 1156 sources += rebase_path(
1152 chrome_tests_gypi_values.chrome_browser_extensions_test_support_so urces, 1157 chrome_tests_gypi_values.chrome_browser_extensions_test_support_so urces,
1153 ".", 1158 ".",
1154 "//chrome") 1159 "//chrome")
1155 1160
1156 deps += [ 1161 deps += [
(...skipping 1340 matching lines...) Expand 10 before | Expand all | Expand 10 after
2497 if (is_android) { 2502 if (is_android) {
2498 android_library("unit_tests_java") { 2503 android_library("unit_tests_java") {
2499 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ] 2504 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ]
2500 deps = [ 2505 deps = [
2501 "//base:base_java", 2506 "//base:base_java",
2502 "//chrome/android:chrome_java", 2507 "//chrome/android:chrome_java",
2503 "//content/public/android:content_java", 2508 "//content/public/android:content_java",
2504 ] 2509 ]
2505 } 2510 }
2506 } 2511 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698