blob: b09869a3be9c801e3086e04507f203208fc2b77a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/android/rules.gni")
source_set("android") {
sources = [
"bookmark_id.cc",
"bookmark_id.h",
"bookmark_type.h",
]
deps = [
":bookmarks_jni_headers",
"//base:base",
]
}
android_library("bookmarks_java") {
deps = [
"//base:base_java",
"//third_party/android_tools:android_support_annotations_java",
]
srcjar_deps = [ ":bookmark_type_javagen" ]
java_files = [ "java/src/org/chromium/components/bookmarks/BookmarkId.java" ]
}
generate_jni("bookmarks_jni_headers") {
jni_package = "components/bookmarks"
sources = [
"java/src/org/chromium/components/bookmarks/BookmarkId.java",
]
}
java_cpp_enum("bookmark_type_javagen") {
sources = [
"bookmark_type.h",
]
}
|