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

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

Issue 994283006: Add initial test and build files for Robolectric unit test suites. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed jbudorick's comments. Created 5 years, 9 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 | « no previous file | chrome/android/junit/src/org/chromium/chrome/browser/omaha/ResponseParserTest.java » ('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/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 import("//build/module_args/v8.gni") 7 import("//build/module_args/v8.gni")
8 import("//chrome/version.gni") 8 import("//chrome/version.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 import("//third_party/icu/config.gni") 10 import("//third_party/icu/config.gni")
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 deps = [ 440 deps = [
441 ":chrome_javatests", 441 ":chrome_javatests",
442 ":chrome_shell_test_java", 442 ":chrome_shell_test_java",
443 "//sync/android:sync_javatests", 443 "//sync/android:sync_javatests",
444 "//ui/android:ui_javatests", 444 "//ui/android:ui_javatests",
445 ] 445 ]
446 apk_name = "ChromeShellTest" 446 apk_name = "ChromeShellTest"
447 android_manifest = "shell/javatests/AndroidManifest.xml" 447 android_manifest = "shell/javatests/AndroidManifest.xml"
448 } 448 }
449 449
450 # GYP: //chrome/chrome_tests.gypi:chrome_shell_unit_tests
451 java_binary("chrome_shell_unit_tests") {
452 testonly = true
453 java_files = [ "android/junit/src/org/chromium/chrome/browser/omaha/ResponsePa rserTest.java" ]
454 main_class = "org.chromium.testing.local.JunitTestMain"
455 deps = [
456 ":chrome_java",
457 "//base:base_java",
458 "//base:base_java_test_support",
459 "//testing/android/junit:junit_test_support",
460 ]
461 }
462
450 # GYP: //chrome/chrome_tests.gypi:chrome_sync_shell_test_apk 463 # GYP: //chrome/chrome_tests.gypi:chrome_sync_shell_test_apk
451 android_apk("chrome_sync_shell_test_apk") { 464 android_apk("chrome_sync_shell_test_apk") {
452 testonly = true 465 testonly = true
453 deps = [ 466 deps = [
454 ":chrome_java", 467 ":chrome_java",
455 ":chrome_shell_java", 468 ":chrome_shell_java",
456 ":chrome_shell_test_java", 469 ":chrome_shell_test_java",
457 "//base:base_java", 470 "//base:base_java",
458 "//base:base_java_test_support", 471 "//base:base_java_test_support",
459 "//chrome/test/android:chrome_java_test_support", 472 "//chrome/test/android:chrome_java_test_support",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 ] 514 ]
502 } 515 }
503 516
504 zip("chrome_version_srcjar") { 517 zip("chrome_version_srcjar") {
505 inputs = [ 518 inputs = [
506 chrome_version_java_file, 519 chrome_version_java_file,
507 ] 520 ]
508 output = "$target_gen_dir/$target_name.srcjar" 521 output = "$target_gen_dir/$target_name.srcjar"
509 base_dir = chrome_version_java_dir 522 base_dir = chrome_version_java_dir
510 } 523 }
OLDNEW
« no previous file with comments | « no previous file | chrome/android/junit/src/org/chromium/chrome/browser/omaha/ResponseParserTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698