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

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

Issue 1120883002: [Android] Generate scripts at build time to run android tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed datadeps to data_deps to reflect recent change. Created 5 years, 6 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
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | components/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//build/module_args/v8.gni") 9 import("//build/module_args/v8.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 1286 matching lines...) Expand 10 before | Expand all | Expand 10 after
1297 ] 1297 ]
1298 } 1298 }
1299 1299
1300 if (is_android) { 1300 if (is_android) {
1301 deps -= [ "//third_party/libaddressinput" ] 1301 deps -= [ "//third_party/libaddressinput" ]
1302 1302
1303 # Some android targets still depend on --gc-sections to link. 1303 # Some android targets still depend on --gc-sections to link.
1304 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). 1304 # TODO: remove --gc-sections for Debug builds (crbug.com/159847).
1305 ldflags = [ "-Wl,--gc-sections" ] 1305 ldflags = [ "-Wl,--gc-sections" ]
1306 deps += [ "//testing/android/native_test:native_test_native_code" ] 1306 deps += [ "//testing/android/native_test:native_test_native_code" ]
1307 isolate_file = "../unit_tests.isolate"
1307 } else { 1308 } else {
1308 sources += 1309 sources +=
1309 rebase_path(unit_gypi_values.chrome_unit_tests_non_android_sources, 1310 rebase_path(unit_gypi_values.chrome_unit_tests_non_android_sources,
1310 ".", 1311 ".",
1311 "//chrome") 1312 "//chrome")
1312 } 1313 }
1313 if (is_ios || is_chromeos) { 1314 if (is_ios || is_chromeos) {
1314 sources -= 1315 sources -=
1315 [ "../browser/metrics/signin_status_metrics_provider_unittest.cc" ] 1316 [ "../browser/metrics/signin_status_metrics_provider_unittest.cc" ]
1316 } 1317 }
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
1822 "//third_party/mojo/src/mojo/edk/system", 1823 "//third_party/mojo/src/mojo/edk/system",
1823 ] 1824 ]
1824 1825
1825 if (!is_android && use_ash) { 1826 if (!is_android && use_ash) {
1826 sources += 1827 sources +=
1827 rebase_path(unit_gypi_values.chrome_test_support_unit_ash_sources, 1828 rebase_path(unit_gypi_values.chrome_test_support_unit_ash_sources,
1828 ".", 1829 ".",
1829 "//chrome") 1830 "//chrome")
1830 } 1831 }
1831 } 1832 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | components/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698