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

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

Issue 1395573003: Build nacl_helper_nonsfi with GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/ui.gni") 9 import("//build/config/ui.gni")
10 import("//chrome/chrome_tests.gni") 10 import("//chrome/chrome_tests.gni")
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 # Use only the _chromeos version on ChromeOS. 429 # Use only the _chromeos version on ChromeOS.
430 "base/view_event_test_platform_part_ash.cc", 430 "base/view_event_test_platform_part_ash.cc",
431 ] 431 ]
432 432
433 deps += [ 433 deps += [
434 "//ash/resources", 434 "//ash/resources",
435 "//chromeos", 435 "//chromeos",
436 ] 436 ]
437 437
438 if (enable_nacl) { 438 if (enable_nacl) {
439 deps += [ 439 data_deps += [
440 "//native_client/src/trusted/service_runtime/linux:munge_nacl_helper_b ootstrap", 440 "//native_client/src/trusted/service_runtime/linux:munge_nacl_helper_b ootstrap",
441 "//components/nacl:nacl_helper", 441 "//components/nacl:nacl_helper",
442 442 "//components/nacl:nacl_helper_nonsfi(//build/toolchain/nacl:newlib_pn acl_nonsfi)",
443 # '../components/nacl_nonsfi.gyp:nacl_helper_nonsfi', TODO(GYP)
444 ] 443 ]
445 } 444 }
446 445
447 if (is_chrome_branded) { 446 if (is_chrome_branded) {
448 sources -= [ 447 sources -= [
449 # These tests are failing on official cros bots. crbug.com/431450. 448 # These tests are failing on official cros bots. crbug.com/431450.
450 "../browser/ui/views/bookmarks/bookmark_bar_view_test.cc", 449 "../browser/ui/views/bookmarks/bookmark_bar_view_test.cc",
451 ] 450 ]
452 } 451 }
453 } else { 452 } else {
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
991 #'chrome.gyp:chrome_nacl_win64', TODO(GYP) bug 512869 990 #'chrome.gyp:chrome_nacl_win64', TODO(GYP) bug 512869
992 ] 991 ]
993 configs -= [ "//build/config/win:default_incremental_linking" ] 992 configs -= [ "//build/config/win:default_incremental_linking" ]
994 configs += 993 configs +=
995 [ "//build/config/win:default_large_module_incremental_linking" ] 994 [ "//build/config/win:default_large_module_incremental_linking" ]
996 } 995 }
997 if (is_linux) { 996 if (is_linux) {
998 data_deps += [ 997 data_deps += [
999 "//native_client/src/trusted/service_runtime/linux:munge_nacl_helper_b ootstrap", 998 "//native_client/src/trusted/service_runtime/linux:munge_nacl_helper_b ootstrap",
1000 "//components/nacl:nacl_helper", 999 "//components/nacl:nacl_helper",
1001 1000 "//components/nacl:nacl_helper_nonsfi(//build/toolchain/nacl:newlib_pn acl_nonsfi)",
1002 # "//components/nacl_nonsfi.gyp:nacl_helper_nonsfi", # TODO(GYP) bug 512912.
1003 ] 1001 ]
1004 } 1002 }
1005 } 1003 }
1006 if (debug_devtools) { 1004 if (debug_devtools) {
1007 defines += [ "DEBUG_DEVTOOLS=1" ] 1005 defines += [ "DEBUG_DEVTOOLS=1" ]
1008 } 1006 }
1009 if (use_ash) { 1007 if (use_ash) {
1010 deps += [ "//ash:test_support" ] 1008 deps += [ "//ash:test_support" ]
1011 } 1009 }
1012 if (use_aura || toolkit_views) { 1010 if (use_aura || toolkit_views) {
(...skipping 1153 matching lines...) Expand 10 before | Expand all | Expand 10 after
2166 "//third_party/mojo/src/mojo/edk/system", 2164 "//third_party/mojo/src/mojo/edk/system",
2167 ] 2165 ]
2168 2166
2169 if (!is_android && use_ash) { 2167 if (!is_android && use_ash) {
2170 sources += rebase_path( 2168 sources += rebase_path(
2171 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, 2169 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources,
2172 ".", 2170 ".",
2173 "//chrome") 2171 "//chrome")
2174 } 2172 }
2175 } 2173 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698