summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-21 20:35:29 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-21 20:36:51 +0000
commit67aa005e1528c84ef471d0a7028e69f61b5b7e9b (patch)
treebaa2ddcb33808b4fbdc6d128d59f83599ca5d9ce
parent4c072d3e8de41b3c255ae2a3da1dc778e6a51a8a (diff)
downloadchromium_src-67aa005e1528c84ef471d0a7028e69f61b5b7e9b.zip
chromium_src-67aa005e1528c84ef471d0a7028e69f61b5b7e9b.tar.gz
chromium_src-67aa005e1528c84ef471d0a7028e69f61b5b7e9b.tar.bz2
Create build target for libaddressinput android widget
BUG=399146 Review URL: https://codereview.chromium.org/461323005 Cr-Commit-Position: refs/heads/master@{#291169} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291169 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--DEPS7
-rwxr-xr-xandroid_webview/buildbot/deps_whitelist.py2
-rw-r--r--third_party/libaddressinput/libaddressinput.gyp21
3 files changed, 24 insertions, 6 deletions
diff --git a/DEPS b/DEPS
index aa05142..289b35e 100644
--- a/DEPS
+++ b/DEPS
@@ -271,11 +271,8 @@ deps = {
"src/third_party/smhasher/src":
(Var("googlecode_url") % "smhasher") + "/trunk@152",
- "src/third_party/libaddressinput/src/cpp":
- (Var("googlecode_url") % "libaddressinput") + "/trunk/cpp@" +
- Var("libaddressinput_revision"),
- "src/third_party/libaddressinput/src/testdata":
- (Var("googlecode_url") % "libaddressinput") + "/trunk/testdata@" +
+ "src/third_party/libaddressinput/src":
+ (Var("googlecode_url") % "libaddressinput") + "/trunk@" +
Var("libaddressinput_revision"),
"src/third_party/libphonenumber/src/phonenumbers":
diff --git a/android_webview/buildbot/deps_whitelist.py b/android_webview/buildbot/deps_whitelist.py
index 9a317f5..e2d8919 100755
--- a/android_webview/buildbot/deps_whitelist.py
+++ b/android_webview/buildbot/deps_whitelist.py
@@ -31,7 +31,7 @@ class DepsWhitelist(object):
# team and are in the process of having the required branches being created
# in the Android tree.
self._compile_but_not_snapshot_dependencies = [
- 'third_party/libaddressinput/src/cpp',
+ 'third_party/libaddressinput/src',
'third_party/boringssl/src',
]
diff --git a/third_party/libaddressinput/libaddressinput.gyp b/third_party/libaddressinput/libaddressinput.gyp
index 3fca856..698cbb5 100644
--- a/third_party/libaddressinput/libaddressinput.gyp
+++ b/third_party/libaddressinput/libaddressinput.gyp
@@ -161,4 +161,25 @@
],
},
],
+ 'conditions': [
+ ['OS=="android"', {
+ 'targets': [
+ {
+ 'target_name': 'android_addressinput_widget',
+ 'type': 'none',
+ 'variables': {
+ 'java_in_dir': 'src/java',
+ 'never_lint': 1,
+ 'res_v14_verify_only': 1,
+ 'has_java_resources': 1,
+ 'R_package': 'com.android.i18n.addressinput',
+ 'R_package_relpath': 'com/android/i18n/addressinput',
+ },
+ 'includes': [
+ '../../build/java.gypi',
+ ],
+ },
+ ],
+ },],
+ ],
}