OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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: //components/service_tab_launcher:service_tab_launcher | 7 # GYP: //components/service_tab_launcher:service_tab_launcher |
8 static_library("service_tab_launcher") { | 8 static_library("service_tab_launcher") { |
9 sources = [ | 9 sources = [ |
10 "browser/android/service_tab_launcher.cc", | 10 "browser/android/service_tab_launcher.cc", |
11 "browser/android/service_tab_launcher.h", | 11 "browser/android/service_tab_launcher.h", |
12 "component_jni_registrar.cc", | 12 "component_jni_registrar.cc", |
13 "component_jni_registrar.h", | 13 "component_jni_registrar.h", |
14 ] | 14 ] |
15 | 15 |
16 deps = [ | 16 deps = [ |
17 ":service_tab_launcher_jni_headers", | 17 ":service_tab_launcher_jni_headers", |
18 "//base", | 18 "//base", |
19 "//content/public/browser", | 19 "//content/public/browser", |
20 ] | 20 ] |
21 } | 21 } |
22 | 22 |
23 # GYP: //components/service_tab_launcher:service_tab_launcher_java | 23 # GYP: //components/service_tab_launcher:service_tab_launcher_java |
24 android_library("service_tab_launcher_java") { | 24 android_library("service_tab_launcher_java") { |
25 deps = [ | 25 deps = [ |
26 "//base:base_java", | 26 "//base:base_java", |
27 "//content/public/android:content_java", | 27 "//content/public/android:content_java", |
28 ] | 28 ] |
29 DEPRECATED_java_in_dir = "android/java/src" | 29 java_files = [ "android/java/src/org/chromium/components/service_tab_launcher/
ServiceTabLauncher.java" ] |
30 } | 30 } |
31 | 31 |
32 # GYP: //components/service_tab_launcher:service_tab_launcher_jni_headers | 32 # GYP: //components/service_tab_launcher:service_tab_launcher_jni_headers |
33 generate_jni("service_tab_launcher_jni_headers") { | 33 generate_jni("service_tab_launcher_jni_headers") { |
34 sources = [ | 34 sources = [ |
35 "android/java/src/org/chromium/components/service_tab_launcher/ServiceTabLau
ncher.java", | 35 "android/java/src/org/chromium/components/service_tab_launcher/ServiceTabLau
ncher.java", |
36 ] | 36 ] |
37 jni_package = "service_tab_launcher" | 37 jni_package = "service_tab_launcher" |
38 } | 38 } |
OLD | NEW |