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

Side by Side Diff: components/gcm_driver/instance_id/android/BUILD.gn

Issue 1829023002: Add fake for InstanceIDWithSubtype.java, in order to re-use unit test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iid2jni
Patch Set: Tweaks Created 4 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
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 import("//build/config/android/rules.gni") 5 import("//build/config/android/rules.gni")
6 6
7 # GYP version: components/gcm_driver.gypi:instance_id_driver_jni_headers 7 # GYP version: components/gcm_driver.gypi:instance_id_driver_jni_headers
8 generate_jni("jni_headers") { 8 generate_jni("jni_headers") {
9 sources = [ 9 sources = [
10 "java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubty pe.java", 10 "java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubty pe.java",
11 ] 11 ]
12 jni_package = "components/gcm_driver/instance_id" 12 jni_package = "components/gcm_driver/instance_id"
13 } 13 }
14 14
15 # GYP version: components/gcm_driver.gypi:instance_id_driver_java 15 # GYP version: components/gcm_driver.gypi:instance_id_driver_java
16 android_library("instance_id_driver_java") { 16 android_library("instance_id_driver_java") {
17 deps = [ 17 deps = [
18 "//base:base_java", 18 "//base:base_java",
19 google_play_services_library, 19 google_play_services_library,
20 ] 20 ]
21 21
22 java_files = [ "java/src/org/chromium/components/gcm_driver/instance_id/Instan ceIDWithSubtype.java" ] 22 java_files = [
23 "java/src/org/chromium/components/gcm_driver/instance_id/FakeInstanceIDWithS ubtype.java",
24 "java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubty pe.java",
25 ]
23 } 26 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698