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

Side by Side Diff: base/BUILD.gn

Issue 1051343002: Add junit tests for //base/android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rewrote callOriginTest to use a regex instead of getting a second stack trace 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
« no previous file with comments | « no previous file | base/android/junit/src/org/chromium/base/LogTest.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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
(...skipping 1446 matching lines...) Expand 10 before | Expand all | Expand 10 after
1457 } 1457 }
1458 1458
1459 # GYP: //base.gyp:base_java_test_support 1459 # GYP: //base.gyp:base_java_test_support
1460 android_library("base_java_test_support") { 1460 android_library("base_java_test_support") {
1461 deps = [ 1461 deps = [
1462 ":base_java", 1462 ":base_java",
1463 ] 1463 ]
1464 DEPRECATED_java_in_dir = "test/android/javatests/src" 1464 DEPRECATED_java_in_dir = "test/android/javatests/src"
1465 } 1465 }
1466 1466
1467 # GYP: //base.gyp:base_junit_tests
1468 junit_binary("base_junit_tests") {
1469 java_files = [ "android/junit/src/org/chromium/base/LogTest.java" ]
1470 deps = [
1471 ":base_java",
1472 ":base_java_test_support",
1473 ]
1474 }
1475
1467 # GYP: //base.gyp:base_java_application_state 1476 # GYP: //base.gyp:base_java_application_state
1468 # GYP: //base.gyp:base_java_library_load_from_apk_status_codes 1477 # GYP: //base.gyp:base_java_library_load_from_apk_status_codes
1469 # GYP: //base.gyp:base_java_library_process_type 1478 # GYP: //base.gyp:base_java_library_process_type
1470 # GYP: //base.gyp:base_java_memory_pressure_level 1479 # GYP: //base.gyp:base_java_memory_pressure_level
1471 java_cpp_enum("base_android_java_enums_srcjar") { 1480 java_cpp_enum("base_android_java_enums_srcjar") {
1472 sources = [ 1481 sources = [
1473 "android/application_status_listener.h", 1482 "android/application_status_listener.h",
1474 "android/library_loader/library_load_from_apk_status_codes.h", 1483 "android/library_loader/library_load_from_apk_status_codes.h",
1475 "android/library_loader/library_loader_hooks.h", 1484 "android/library_loader/library_loader_hooks.h",
1476 "memory/memory_pressure_listener.h", 1485 "memory/memory_pressure_listener.h",
(...skipping 16 matching lines...) Expand all
1493 1502
1494 # GYP: //base.gyp:base_java_unittest_support 1503 # GYP: //base.gyp:base_java_unittest_support
1495 android_library("base_java_unittest_support") { 1504 android_library("base_java_unittest_support") {
1496 deps = [ 1505 deps = [
1497 ":base_java", 1506 ":base_java",
1498 ] 1507 ]
1499 java_files = 1508 java_files =
1500 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 1509 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
1501 } 1510 }
1502 } 1511 }
OLDNEW
« no previous file with comments | « no previous file | base/android/junit/src/org/chromium/base/LogTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698