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

Unified Diff: base/base.gyp

Issue 10790008: Adds a way to specify test data files for unittests. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Use <(DEPTH). Created 8 years, 5 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 | « no previous file | base/base_paths_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base.gyp
diff --git a/base/base.gyp b/base/base.gyp
index c18ca6308e18ee5d47b9085b4d8d4be503285808..7898f420dc301f30dd3d00f752933631804bc097 100644
--- a/base/base.gyp
+++ b/base/base.gyp
@@ -581,6 +581,19 @@
['exclude', '^synchronization/waitable_event_watcher_unittest\\.cc$'],
['exclude', '^timer_unittest\\.cc$'],
],
+ 'actions': [
+ {
+ 'action_name': 'copy_test_data',
+ 'variables': {
+ 'test_data_files': [
+ 'data/json/bom_feff.json',
+ 'data/file_util_unittest',
+ ],
+ 'test_data_prefix': 'base',
+ },
+ 'includes': [ '../build/copy_test_data_ios.gypi' ],
+ },
+ ],
}],
['use_glib==1', {
'sources!': [
« no previous file with comments | « no previous file | base/base_paths_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698