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

Unified Diff: build/android/test_runner.gypi

Issue 2331893004: Remove GYP files in breakpad, build, and tools. (Closed)
Patch Set: Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/strip_native_libraries.gypi ('k') | build/android/v8_external_startup_data_arch_suffix.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/test_runner.gypi
diff --git a/build/android/test_runner.gypi b/build/android/test_runner.gypi
deleted file mode 100644
index 5127e2a54a70fef6293166971984c24121eb76a5..0000000000000000000000000000000000000000
--- a/build/android/test_runner.gypi
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 2015 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-# Generates a script in the output bin directory which runs the test
-# target using the test runner script in build/android/pylib/test_runner.py.
-#
-# To use this, include this file in a gtest or instrumentation test target.
-# {
-# 'target_name': 'gtest',
-# 'type': 'none',
-# 'variables': {
-# 'test_type': 'gtest', # string
-# 'test_suite_name': 'gtest_suite' # string
-# 'isolate_file': 'path/to/gtest.isolate' # string
-# },
-# 'includes': ['path/to/this/gypi/file'],
-# }
-#
-# {
-# 'target_name': 'instrumentation_apk',
-# 'type': 'none',
-# 'variables': {
-# 'test_type': 'instrumentation', # string
-# 'apk_name': 'TestApk' # string
-# 'isolate_file': 'path/to/instrumentation_test.isolate' # string
-# },
-# 'includes': ['path/to/this/gypi/file'],
-# }
-#
-# {
-# 'target_name': 'junit_test',
-# 'type': 'none',
-# 'variables': {
-# 'test_type': 'junit', # string
-# },
-# 'includes': ['path/to/this/gypi/file'],
-# }
-#
-
-{
- 'variables': {
- 'variables': {
- 'additional_apks%': [],
- 'isolate_file%': '',
- 'shard_timeout%': '',
- 'test_runner_path%': '',
- },
- 'test_runner_args': ['--output-directory', '<(PRODUCT_DIR)'],
- 'conditions': [
- ['test_type == "gtest"', {
- 'test_runner_args': ['--suite', '<(test_suite_name)'],
- 'script_name': 'run_<(test_suite_name)',
- }],
- ['test_type == "instrumentation"', {
- 'test_runner_args': [
- '--apk-under-test', '>(tested_apk_path)',
- '--test-apk', '>(final_apk_path)',
- ],
- 'script_name': 'run_<(_target_name)',
- 'conditions': [
- ['emma_instrument != 0', {
- 'test_runner_args': [
- '--coverage-dir', '<(PRODUCT_DIR)/coverage',
- ],
- }],
- ],
- }],
- ['test_type == "junit"', {
- 'test_runner_args': ['--test-suite', '<(_target_name)'],
- 'script_name': 'run_<(_target_name)',
- }],
- ['additional_apks != []', {
- 'test_runner_args': ['--additional-apk-list', '>(additional_apks)'],
- }],
- ['isolate_file != ""', {
- 'test_runner_args': ['--isolate-file-path', '<(isolate_file)']
- }],
- ['shard_timeout != ""', {
- 'test_runner_args': ['--shard-timeout', '<(shard_timeout)']
- }],
- ['test_runner_path != ""', {
- 'test_runner_args': ['--test-runner-path', '<(test_runner_path)']
- }],
- ],
- },
- 'actions': [
- {
- 'action_name': 'create_test_runner_script_<(script_name)',
- 'message': 'Creating test runner script <(script_name)',
- 'variables': {
- 'script_output_path': '<(PRODUCT_DIR)/bin/<(script_name)',
- },
- 'inputs': [
- '<(DEPTH)/build/android/gyp/create_test_runner_script.py',
- ],
- 'outputs': [
- '<(script_output_path)'
- ],
- 'action': [
- 'python', '<(DEPTH)/build/android/gyp/create_test_runner_script.py',
- '--script-output-path=<(script_output_path)',
- '<(test_type)', '<@(test_runner_args)',
- ],
- },
- ],
-}
« no previous file with comments | « build/android/strip_native_libraries.gypi ('k') | build/android/v8_external_startup_data_arch_suffix.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698