# 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", ] }