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

Side by Side Diff: components/bookmarks/common/android/BUILD.gn

Issue 1932183002: Add IntDefs to generated Java enums. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update deps. Created 4 years, 4 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
« no previous file with comments | « build/android/gyp/java_cpp_enum_tests.py ('k') | components/cronet/android/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 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/bookmarks.gyp:bookmarks_browser (android part) 7 # GYP: //components/bookmarks.gyp:bookmarks_browser (android part)
8 source_set("android") { 8 source_set("android") {
9 sources = [ 9 sources = [
10 "bookmark_id.cc", 10 "bookmark_id.cc",
11 "bookmark_id.h", 11 "bookmark_id.h",
12 "bookmark_type.h", 12 "bookmark_type.h",
13 "component_jni_registrar.cc", 13 "component_jni_registrar.cc",
14 "component_jni_registrar.h", 14 "component_jni_registrar.h",
15 ] 15 ]
16 deps = [ 16 deps = [
17 ":bookmarks_jni_headers", 17 ":bookmarks_jni_headers",
18 "//base:base", 18 "//base:base",
19 ] 19 ]
20 } 20 }
21 21
22 # GYP: //components/bookmarks.gyp:bookmarks_java 22 # GYP: //components/bookmarks.gyp:bookmarks_java
23 android_library("bookmarks_java") { 23 android_library("bookmarks_java") {
24 deps = [ 24 deps = [
25 "//base:base_java", 25 "//base:base_java",
26 "//third_party/android_tools:android_support_annotations_java",
26 ] 27 ]
27 srcjar_deps = [ ":bookmark_type_javagen" ] 28 srcjar_deps = [ ":bookmark_type_javagen" ]
28 java_files = [ "java/src/org/chromium/components/bookmarks/BookmarkId.java" ] 29 java_files = [ "java/src/org/chromium/components/bookmarks/BookmarkId.java" ]
29 } 30 }
30 31
31 # GYP: //components/bookmarks.gyp:bookmarks_jni_headers 32 # GYP: //components/bookmarks.gyp:bookmarks_jni_headers
32 generate_jni("bookmarks_jni_headers") { 33 generate_jni("bookmarks_jni_headers") {
33 jni_package = "components/bookmarks" 34 jni_package = "components/bookmarks"
34 sources = [ 35 sources = [
35 "java/src/org/chromium/components/bookmarks/BookmarkId.java", 36 "java/src/org/chromium/components/bookmarks/BookmarkId.java",
36 ] 37 ]
37 } 38 }
38 39
39 # GYP: //components/bookmarks.gyp:bookmarks_type_java 40 # GYP: //components/bookmarks.gyp:bookmarks_type_java
40 java_cpp_enum("bookmark_type_javagen") { 41 java_cpp_enum("bookmark_type_javagen") {
41 sources = [ 42 sources = [
42 "bookmark_type.h", 43 "bookmark_type.h",
43 ] 44 ]
44 } 45 }
OLDNEW
« no previous file with comments | « build/android/gyp/java_cpp_enum_tests.py ('k') | components/cronet/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698