Index: components/gcm_driver/android/BUILD.gn |
diff --git a/components/gcm_driver/android/BUILD.gn b/components/gcm_driver/android/BUILD.gn |
index c1f63740628397055d005e2d6aa90555fe5842e5..5909fd4a83c45a90221ea62d7937667100ea9a30 100644 |
--- a/components/gcm_driver/android/BUILD.gn |
+++ b/components/gcm_driver/android/BUILD.gn |
@@ -21,7 +21,19 @@ android_library("gcm_driver_java") { |
java_files = [ |
"java/src/org/chromium/components/gcm_driver/GCMDriver.java", |
+ "java/src/org/chromium/components/gcm_driver/GCMMessage.java", |
"java/src/org/chromium/components/gcm_driver/GoogleCloudMessagingSubscriber.java", |
"java/src/org/chromium/components/gcm_driver/GoogleCloudMessagingV2.java", |
] |
} |
+ |
+junit_binary("components_gcm_driver_junit_tests") { |
+ java_files = |
+ [ "junit/src/org/chromium/components/gcm_driver/GCMMessageTest.java" ] |
+ deps = [ |
+ ":gcm_driver_java", |
+ "//base:base_java", |
+ "//base:base_java_test_support", |
+ "//third_party/hamcrest:hamcrest_java", |
+ ] |
+} |