From afb14c2cc6095d515aa0754fb6e1e1c44db091b6 Mon Sep 17 00:00:00 2001 From: "ivankr@chromium.org" Date: Tue, 6 Nov 2012 10:38:59 +0000 Subject: [cros] Add RecursiveLock for CrOS implementation. BUG=157348 Review URL: https://chromiumcodereview.appspot.com/11361057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166186 0039d316-1c4b-4281-b951-d872f2087c98 --- rlz/rlz.gyp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'rlz/rlz.gyp') diff --git a/rlz/rlz.gyp b/rlz/rlz.gyp index 123eaa0..cdd66dc 100644 --- a/rlz/rlz.gyp +++ b/rlz/rlz.gyp @@ -42,6 +42,8 @@ 'lib/lib_values.cc', 'lib/machine_id.cc', 'lib/machine_id.h', + 'lib/recursive_lock.cc', + 'lib/recursive_lock.h', 'lib/rlz_enums.h', 'lib/rlz_lib.cc', 'lib/rlz_lib.h', @@ -92,6 +94,12 @@ ], }, }], + ['chromeos==0', { + 'sources!': [ + 'lib/recursive_lock.cc', + 'lib/recursive_lock.h', + ] + }], ], }, { @@ -110,6 +118,7 @@ 'lib/financial_ping_test.cc', 'lib/lib_values_unittest.cc', 'lib/machine_id_unittest.cc', + 'lib/recursive_lock_unittest.cc', 'lib/rlz_lib_test.cc', 'lib/string_utils_unittest.cc', 'test/rlz_test_helpers.cc', @@ -122,6 +131,11 @@ 'dependencies': [ '../net/net.gyp:net_test_support', ], + }], + ['chromeos==0', { + 'sources!': [ + 'lib/recursive_lock_unittest.cc', + ], }] ], }, -- cgit v1.1