diff options
author | kkimlabs <kkimlabs@chromium.org> | 2015-02-04 17:32:47 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-05 01:33:37 +0000 |
commit | f0a2c44b48f239ea4e6c4d0571be846a5fc524fa (patch) | |
tree | 46530bd3c89897ceb3fdb3421817d5b5e93b1427 /components/enhanced_bookmarks/BUILD.gn | |
parent | 97823ee2d8054183f2b011313a06c28f1945ca23 (diff) | |
download | chromium_src-f0a2c44b48f239ea4e6c4d0571be846a5fc524fa.zip chromium_src-f0a2c44b48f239ea4e6c4d0571be846a5fc524fa.tar.gz chromium_src-f0a2c44b48f239ea4e6c4d0571be846a5fc524fa.tar.bz2 |
[Android] Upstreamed Stars UMA from iOS.
There are some UMA strings, enum constants in iOS repository
that can be shared with Android, so moved to components.
BUG=452254
Review URL: https://codereview.chromium.org/891493003
Cr-Commit-Position: refs/heads/master@{#314707}
Diffstat (limited to 'components/enhanced_bookmarks/BUILD.gn')
-rw-r--r-- | components/enhanced_bookmarks/BUILD.gn | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/components/enhanced_bookmarks/BUILD.gn b/components/enhanced_bookmarks/BUILD.gn index 7ce7ed5..11462c4 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_srcjar + java_cpp_enum("enhanced_bookmarks_launch_location_srcjar") { + 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 |