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

Unified Diff: components/components_tests.gyp

Issue 1462953004: Unit tests for importing prefs from the Java side implemented (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added unit test check if prefs are actually empty after calling ClearJavaFirstRunPrefs() function Created 5 years, 1 month 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
Index: components/components_tests.gyp
diff --git a/components/components_tests.gyp b/components/components_tests.gyp
index 4eb1410a584995f1ce0dedfc4cad1cfed080d6a9..8e56b38aeb3de316f7911f71f5d6268675234f8d 100644
--- a/components/components_tests.gyp
+++ b/components/components_tests.gyp
@@ -1294,6 +1294,8 @@
'data_usage/android/traffic_stats_amortizer_unittest.cc',
'invalidation/impl/invalidation_logger_unittest.cc',
'invalidation/impl/invalidation_service_android_unittest.cc',
+ 'variations/android/variations_seed_bridge_test.cc',
+ 'variations/android/variations_seed_bridge_test.h',
],
'sources!': [
'gcm_driver/gcm_account_mapper_unittest.cc',
@@ -1315,6 +1317,7 @@
'components.gyp:data_usage_android',
'components.gyp:safe_json_java',
'components.gyp:variations_java',
+ ':variations_jni_test_headers',
'../content/content.gyp:content_java',
'../testing/android/native_test.gyp:native_test_native_code',
],
@@ -1609,7 +1612,18 @@
],
},
'includes': [ '../build/host_jar.gypi' ],
- },
+ },
+ {
+ 'target_name': 'variations_jni_test_headers',
+ 'type': 'none',
+ 'sources': [
+ 'variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridgeTest.java',
+ ],
+ 'variables': {
+ 'jni_gen_package': 'variations',
+ },
+ 'includes': [ '../build/jni_generator.gypi' ],
+ },
],
'conditions': [
['test_isolation_mode != "noop"',

Powered by Google App Engine
This is Rietveld 408576698