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

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

Issue 1057783002: Add new GN junit binary template and new GYP java binary template. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/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 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 ":chrome_javatests", 446 ":chrome_javatests",
447 ":chrome_shell_test_java", 447 ":chrome_shell_test_java",
448 "//sync/android:sync_javatests", 448 "//sync/android:sync_javatests",
449 "//ui/android:ui_javatests", 449 "//ui/android:ui_javatests",
450 ] 450 ]
451 apk_name = "ChromeShellTest" 451 apk_name = "ChromeShellTest"
452 android_manifest = "shell/javatests/AndroidManifest.xml" 452 android_manifest = "shell/javatests/AndroidManifest.xml"
453 } 453 }
454 454
455 # GYP: //chrome/chrome_tests.gypi:chrome_junit_tests 455 # GYP: //chrome/chrome_tests.gypi:chrome_junit_tests
456 java_binary("chrome_junit_tests") { 456 junit_binary("chrome_junit_tests") {
457 testonly = true 457 java_files =
458 java_files = [ "android/junit/src/org/chromium/chrome/browser/omaha/ResponsePa rserTest.java" ] 458 [ "junit/src/org/chromium/chrome/browser/omaha/ResponseParserTest.java" ]
459 main_class = "org.chromium.testing.local.JunitTestMain"
460 deps = [ 459 deps = [
461 ":chrome_java", 460 ":chrome_java",
462 "//base:base_java", 461 "//base:base_java",
463 "//base:base_java_test_support", 462 "//base:base_java_test_support",
464 "//testing/android/junit:junit_test_support",
465 ] 463 ]
466 } 464 }
467 465
468 # GYP: //chrome/chrome_tests.gypi:chrome_sync_shell_test_apk 466 # GYP: //chrome/chrome_tests.gypi:chrome_sync_shell_test_apk
469 android_apk("chrome_sync_shell_test_apk") { 467 android_apk("chrome_sync_shell_test_apk") {
470 testonly = true 468 testonly = true
471 deps = [ 469 deps = [
472 ":chrome_java", 470 ":chrome_java",
473 ":chrome_shell_java", 471 ":chrome_shell_java",
474 ":chrome_shell_test_java", 472 ":chrome_shell_test_java",
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 ] 517 ]
520 } 518 }
521 519
522 zip("chrome_version_srcjar") { 520 zip("chrome_version_srcjar") {
523 inputs = [ 521 inputs = [
524 chrome_version_java_file, 522 chrome_version_java_file,
525 ] 523 ]
526 output = "$target_gen_dir/$target_name.srcjar" 524 output = "$target_gen_dir/$target_name.srcjar"
527 base_dir = chrome_version_java_dir 525 base_dir = chrome_version_java_dir
528 } 526 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698