summaryrefslogtreecommitdiffstats
path: root/rlz/rlz.gyp
diff options
context:
space:
mode:
authorsdefresne@chromium.org <sdefresne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-23 15:09:38 +0000
committersdefresne@chromium.org <sdefresne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-23 15:09:38 +0000
commitd2d743972bef83f5241f02765aa0f3e3a50d43bd (patch)
tree6d0b3dae3184a4f0c7476117158c91656c06db05 /rlz/rlz.gyp
parent7d75c2f4b67f8b64e49ec02cd31821ddcabc92cd (diff)
downloadchromium_src-d2d743972bef83f5241f02765aa0f3e3a50d43bd.zip
chromium_src-d2d743972bef83f5241f02765aa0f3e3a50d43bd.tar.gz
chromium_src-d2d743972bef83f5241f02765aa0f3e3a50d43bd.tar.bz2
Implements RLZ lib for iOS
Use the OS X implementation of the RlzValueStore and derive the machine identifier from -[UIDevice identifierForVendor]. BUG=309629 Review URL: https://codereview.chromium.org/29873005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230429 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'rlz/rlz.gyp')
-rw-r--r--rlz/rlz.gyp10
1 files changed, 10 insertions, 0 deletions
diff --git a/rlz/rlz.gyp b/rlz/rlz.gyp
index c38c4ff..18637058 100644
--- a/rlz/rlz.gyp
+++ b/rlz/rlz.gyp
@@ -34,6 +34,7 @@
'chromeos/lib/machine_id_chromeos.cc',
'chromeos/lib/rlz_value_store_chromeos.cc',
'chromeos/lib/rlz_value_store_chromeos.h',
+ 'ios/lib/machine_id_ios.cc',
'lib/assert.cc',
'lib/assert.h',
'lib/crc32.h',
@@ -97,6 +98,15 @@
},
}],
],
+ 'target_conditions': [
+ # Need 'target_conditions' to override default filename_rules to include
+ # the files on iOS.
+ ['OS=="ios"', {
+ 'sources/': [
+ ['include', '^mac/lib/rlz_value_store_mac\\.'],
+ ],
+ }],
+ ],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [ 4267, ],
},