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

Side by Side Diff: content/content_tests.gypi

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 | « chrome/chrome_tests.gypi ('k') | content/public/android/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 (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 { 5 {
6 'variables': { 6 'variables': {
7 'layouttest_support_content_sources': [ 7 'layouttest_support_content_sources': [
8 'public/test/layouttest_support.h', 8 'public/test/layouttest_support.h',
9 'public/test/nested_message_pump_android.cc', 9 'public/test/nested_message_pump_android.cc',
10 'public/test/nested_message_pump_android.h', 10 'public/test/nested_message_pump_android.h',
(...skipping 2006 matching lines...) Expand 10 before | Expand all | Expand 10 after
2017 ], 2017 ],
2018 'variables': { 2018 'variables': {
2019 'apk_name': 'ContentShellTest', 2019 'apk_name': 'ContentShellTest',
2020 'java_in_dir': 'shell/android/javatests', 2020 'java_in_dir': 'shell/android/javatests',
2021 'resource_dir': 'shell/android/shell_apk/res', 2021 'resource_dir': 'shell/android/shell_apk/res',
2022 'additional_src_dirs': ['public/android/javatests/', ], 2022 'additional_src_dirs': ['public/android/javatests/', ],
2023 'is_test_apk': 1, 2023 'is_test_apk': 1,
2024 }, 2024 },
2025 'includes': [ '../build/java_apk.gypi' ], 2025 'includes': [ '../build/java_apk.gypi' ],
2026 }, 2026 },
2027 {
2028 # GN: //content/public/android:content_shell_unit_tests
2029 'target_name': 'content_shell_unit_tests',
2030 'type': 'none',
2031 'dependencies': [
2032 'content.gyp:content_java',
2033 '../base/base.gyp:base_java',
2034 '../base/base.gyp:base_java_test_support',
2035 '../testing/android/junit/junit_test.gyp:junit_test_support',
2036 ],
2037 'variables': {
2038 'main_class': 'org.chromium.testing.local.JunitTestMain',
2039 'src_paths': [
2040 'public/android/junit/',
2041 ],
2042 },
2043 'includes': [
2044 '../build/host_jar.gypi',
2045 ],
2046 },
2027 ], 2047 ],
2028 }], 2048 }],
2029 ['OS!="android" and OS!="ios" and OS!="linux"', { 2049 ['OS!="android" and OS!="ios" and OS!="linux"', {
2030 # npapi test plugin doesn't build on android or ios 2050 # npapi test plugin doesn't build on android or ios
2031 'targets': [ 2051 'targets': [
2032 { 2052 {
2033 'target_name': 'npapi_test_plugin', 2053 'target_name': 'npapi_test_plugin',
2034 'type': 'loadable_module', 2054 'type': 'loadable_module',
2035 'variables': { 2055 'variables': {
2036 'chromium_code': 1, 2056 'chromium_code': 1,
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
2165 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], 2185 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'],
2166 }, 2186 },
2167 ], 2187 ],
2168 }], 2188 }],
2169 ], 2189 ],
2170 }, 2190 },
2171 ], 2191 ],
2172 }], 2192 }],
2173 ], 2193 ],
2174 } 2194 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/public/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698