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

Unified Diff: components/enhanced_bookmarks/BUILD.gn

Issue 891493003: [Android] Upstreamed Stars UMA from iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed GN nits and fixed gyp Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: components/enhanced_bookmarks/BUILD.gn
diff --git a/components/enhanced_bookmarks/BUILD.gn b/components/enhanced_bookmarks/BUILD.gn
index 7ce7ed59fa9ac27d6ff15672fee18d71a94cc410..54af43dcbfc35ca163fba369c499cd7a30e8b895 100644
--- a/components/enhanced_bookmarks/BUILD.gn
+++ b/components/enhanced_bookmarks/BUILD.gn
@@ -2,6 +2,11 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+if (is_android) {
+ import("//build/config/android/config.gni")
+ import("//build/config/android/rules.gni")
+}
+
# GYP: //components/enhanced_bookmarks.gypi:enhanced_bookmarks
source_set("enhanced_bookmarks") {
sources = [
@@ -49,6 +54,18 @@ source_set("enhanced_bookmarks") {
}
}
+if (is_android) {
+ # GYP: //components/enhanced_bookmarks.gypi:enhanced_bookmarks_launch_location_java
+ java_cpp_enum("enhanced_bookmarks_launch_location_java") {
cjhopman 2015/02/04 22:25:01 This target actually generates a srcjar, not a ful
Kibeom Kim (inactive) 2015/02/04 23:42:27 Done.
+ sources = [
+ "enhanced_bookmark_utils.h",
+ ]
+ outputs = [
+ "org/chromium/chrome/browser/enhancedbookmark/LaunchLocation.java",
+ ]
+ }
+}
+
# GYP: //components/enhanced_bookmarks.gypi:enhanced_bookmarks_test_support
source_set("test_support") {
testonly = true

Powered by Google App Engine
This is Rietveld 408576698