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

Side by Side Diff: base/base.gyp

Issue 10161032: Add PathUtilsTest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'includes': [ 9 'includes': [
10 '../build/win_precompile.gypi', 10 '../build/win_precompile.gypi',
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 'sources': [ 125 'sources': [
126 'test/run_all_unittests.cc', 126 'test/run_all_unittests.cc',
127 ], 127 ],
128 }, 128 },
129 { 129 {
130 'target_name': 'base_unittests', 130 'target_name': 'base_unittests',
131 'type': '<(gtest_target_type)', 131 'type': '<(gtest_target_type)',
132 'sources': [ 132 'sources': [
133 # Tests. 133 # Tests.
134 'android/jni_android_unittest.cc', 134 'android/jni_android_unittest.cc',
135 'android/path_utils_unittest.cc',
135 'android/scoped_java_ref_unittest.cc', 136 'android/scoped_java_ref_unittest.cc',
136 'at_exit_unittest.cc', 137 'at_exit_unittest.cc',
137 'atomicops_unittest.cc', 138 'atomicops_unittest.cc',
138 'base64_unittest.cc', 139 'base64_unittest.cc',
139 'bind_helpers_unittest.cc', 140 'bind_helpers_unittest.cc',
140 'bind_unittest.cc', 141 'bind_unittest.cc',
141 'bind_unittest.nc', 142 'bind_unittest.nc',
142 'bits_unittest.cc', 143 'bits_unittest.cc',
143 'build_time_unittest.cc', 144 'build_time_unittest.cc',
144 'callback_unittest.cc', 145 'callback_unittest.cc',
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 ], 295 ],
295 'includes': ['../build/nocompile.gypi'], 296 'includes': ['../build/nocompile.gypi'],
296 'variables': { 297 'variables': {
297 # TODO(ajwong): Is there a way to autodetect this? 298 # TODO(ajwong): Is there a way to autodetect this?
298 'module_dir': 'base' 299 'module_dir': 'base'
299 }, 300 },
300 'conditions': [ 301 'conditions': [
301 ['OS == "android"', { 302 ['OS == "android"', {
302 'sources!': [ 303 'sources!': [
303 # TODO(michaelbai): Removed the below once the fix upstreamed. 304 # TODO(michaelbai): Removed the below once the fix upstreamed.
305 'debug/stack_trace_unittest.cc',
304 'memory/mru_cache_unittest.cc', 306 'memory/mru_cache_unittest.cc',
305 'process_util_unittest.cc', 307 'process_util_unittest.cc',
306 'synchronization/cancellation_flag_unittest.cc', 308 'synchronization/cancellation_flag_unittest.cc',
307 # TODO(michaelbai): The below files are excluded because of the
308 # missing JNI and should be added back once JNI is ready.
309 'android/jni_android_unittest.cc',
310 'android/scoped_java_ref_unittest.cc',
311 'debug/stack_trace_unittest.cc',
312 ], 309 ],
313 'dependencies': [ 310 'dependencies': [
314 'android/jni_generator/jni_generator.gyp:jni_generator_tests', 311 'android/jni_generator/jni_generator.gyp:jni_generator_tests',
315 ], 312 ],
316 }], 313 'conditions': [
317 ['OS=="android" and "<(gtest_target_type)"=="shared_library"', { 314 ['"<(gtest_target_type)"=="shared_library"', {
318 'dependencies': [ 315 'dependencies': [
319 '../testing/android/native_test.gyp:native_test_native_code', 316 '../testing/android/native_test.gyp:native_test_native_code',
317 ],
318 }, { # gtest_target_type != shared_library
319 'sources!': [
320 # The below files are excluded because of the missing JNI.
321 'android/jni_android_unittest.cc',
322 'android/path_utils_unittest.cc',
323 'android/scoped_java_ref_unittest.cc',
324 ],
325 }],
320 ], 326 ],
321 }], 327 }],
322 ['use_glib==1', { 328 ['use_glib==1', {
323 'sources!': [ 329 'sources!': [
324 'file_version_info_unittest.cc', 330 'file_version_info_unittest.cc',
325 ], 331 ],
326 'conditions': [ 332 'conditions': [
327 [ 'linux_use_tcmalloc==1', { 333 [ 'linux_use_tcmalloc==1', {
328 'dependencies': [ 334 'dependencies': [
329 'allocator/allocator.gyp:allocator', 335 'allocator/allocator.gyp:allocator',
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 '--ant-args', 683 '--ant-args',
678 '-DPRODUCT_DIR=<(PRODUCT_DIR)', 684 '-DPRODUCT_DIR=<(PRODUCT_DIR)',
679 '--ant-compile' 685 '--ant-compile'
680 ], 686 ],
681 }, 687 },
682 ] 688 ]
683 }], 689 }],
684 }], 690 }],
685 ], 691 ],
686 } 692 }
OLDNEW
« no previous file with comments | « base/android/path_utils_unittest.cc ('k') | testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698