Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / components / bookmarks / common / android / BUILD.gn
blob11bcef43d03a993589f471a76055c9cc3e2347fe
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//build/config/android/rules.gni")
7 # GYP: //components/bookmarks.gyp:bookmarks_browser (android part)
8 source_set("android") {
9   sources = [
10     "bookmark_id.cc",
11     "bookmark_id.h",
12     "bookmark_type.h",
13     "component_jni_registrar.cc",
14     "component_jni_registrar.h",
15   ]
16   deps = [
17     ":bookmarks_jni_headers",
18     "//base:base",
19   ]
22 # GYP: //components/bookmarks.gyp:bookmarks_java
23 android_library("bookmarks_java") {
24   deps = [
25     "//base:base_java",
26   ]
27   srcjar_deps = [ ":bookmark_type_javagen" ]
28   DEPRECATED_java_in_dir = "java/src"
31 # GYP: //components/bookmarks.gyp:bookmarks_jni_headers
32 generate_jni("bookmarks_jni_headers") {
33   jni_package = "components/bookmarks"
34   sources = [
35     "java/src/org/chromium/components/bookmarks/BookmarkId.java",
36   ]
39 # GYP: //components/bookmarks.gyp:bookmarks_type_java
40 java_cpp_enum("bookmark_type_javagen") {
41   sources = [
42     "bookmark_type.h",
43   ]
44   outputs = [
45     "org/chromium/components/bookmarks/BookmarkType.java",
46   ]