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

Side by Side Diff: build/android/pylib/gtest/setup.py

Issue 663413002: Reland 597923002: Fix the way how we create webrtc::AudioProcessing in Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed two extra empty line caused by rebasing Created 6 years, 2 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 | content/content_tests.gypi » ('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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 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 """Generates test runner factory and tests for GTests.""" 5 """Generates test runner factory and tests for GTests."""
6 # pylint: disable=W0212 6 # pylint: disable=W0212
7 7
8 import fnmatch 8 import fnmatch
9 import glob 9 import glob
10 import logging 10 import logging
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 '--path-variable', 'DEPTH', constants.DIR_SOURCE_ROOT, 114 '--path-variable', 'DEPTH', constants.DIR_SOURCE_ROOT,
115 '--path-variable', 'PRODUCT_DIR', constants.GetOutDirectory(), 115 '--path-variable', 'PRODUCT_DIR', constants.GetOutDirectory(),
116 116
117 '--config-variable', 'OS', 'android', 117 '--config-variable', 'OS', 'android',
118 '--config-variable', 'CONFIGURATION_NAME', constants.GetBuildType(), 118 '--config-variable', 'CONFIGURATION_NAME', constants.GetBuildType(),
119 '--config-variable', 'asan', '0', 119 '--config-variable', 'asan', '0',
120 '--config-variable', 'chromeos', '0', 120 '--config-variable', 'chromeos', '0',
121 '--config-variable', 'component', 'static_library', 121 '--config-variable', 'component', 'static_library',
122 '--config-variable', 'fastbuild', '0', 122 '--config-variable', 'fastbuild', '0',
123 '--config-variable', 'icu_use_data_file_flag', '1', 123 '--config-variable', 'icu_use_data_file_flag', '1',
124 '--config-variable', 'libpeer_target_type', 'static_library',
124 '--config-variable', 'lsan', '0', 125 '--config-variable', 'lsan', '0',
125 # TODO(maruel): This may not be always true. 126 # TODO(maruel): This may not be always true.
126 '--config-variable', 'target_arch', 'arm', 127 '--config-variable', 'target_arch', 'arm',
127 '--config-variable', 'use_openssl', '0', 128 '--config-variable', 'use_openssl', '0',
128 '--config-variable', 'use_ozone', '0', 129 '--config-variable', 'use_ozone', '0',
129 ] 130 ]
130 assert not cmd_helper.RunCmd(isolate_cmd) 131 assert not cmd_helper.RunCmd(isolate_cmd)
131 132
132 # We're relying on the fact that timestamps are preserved 133 # We're relying on the fact that timestamps are preserved
133 # by the remap command (hardlinked). Otherwise, all the data 134 # by the remap command (hardlinked). Otherwise, all the data
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 if test_options.gtest_filter: 352 if test_options.gtest_filter:
352 tests = unittest_util.FilterTestNames(tests, test_options.gtest_filter) 353 tests = unittest_util.FilterTestNames(tests, test_options.gtest_filter)
353 354
354 # Coalesce unit tests into a single test per device 355 # Coalesce unit tests into a single test per device
355 if test_options.suite_name != 'content_browsertests': 356 if test_options.suite_name != 'content_browsertests':
356 num_devices = len(devices) 357 num_devices = len(devices)
357 tests = [':'.join(tests[i::num_devices]) for i in xrange(num_devices)] 358 tests = [':'.join(tests[i::num_devices]) for i in xrange(num_devices)]
358 tests = [t for t in tests if t] 359 tests = [t for t in tests if t]
359 360
360 return (TestRunnerFactory, tests) 361 return (TestRunnerFactory, tests)
OLDNEW
« no previous file with comments | « no previous file | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698