summaryrefslogtreecommitdiffstats
path: root/rlz/rlz.gyp
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-26 00:39:45 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-26 00:39:45 +0000
commit6dba1dd2efa3ed67bd41312bc682fc12c3c69544 (patch)
treebfb0bca756ad3e274227d085b82dedda508424fe /rlz/rlz.gyp
parent4a44f6610eb14a728a22a9dea00d6707d2e616e1 (diff)
downloadchromium_src-6dba1dd2efa3ed67bd41312bc682fc12c3c69544.zip
chromium_src-6dba1dd2efa3ed67bd41312bc682fc12c3c69544.tar.gz
chromium_src-6dba1dd2efa3ed67bd41312bc682fc12c3c69544.tar.bz2
Revert 144071 - Add a regenerate button to regenerate the password in Windows.
BUG=120480 TEST=Not tested. Review URL: https://chromiumcodereview.appspot.com/10642009 TBR=zysxqn@google.com Review URL: https://chromiumcodereview.appspot.com/10659022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144074 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'rlz/rlz.gyp')
-rw-r--r--rlz/rlz.gyp151
1 files changed, 151 insertions, 0 deletions
diff --git a/rlz/rlz.gyp b/rlz/rlz.gyp
new file mode 100644
index 0000000..5b0db4b7
--- /dev/null
+++ b/rlz/rlz.gyp
@@ -0,0 +1,151 @@
+# Copyright (c) 2012 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'variables': {
+ 'chromium_code': 1,
+ 'variables': {
+ # Set force_rlz_use_chrome_net to 1 to use chrome's network stack instead
+ # of win inet.
+ 'force_rlz_use_chrome_net%': 0,
+ },
+ 'conditions': [
+ ['force_rlz_use_chrome_net or OS=="mac"', {
+ 'rlz_use_chrome_net%': 1,
+ }, {
+ 'rlz_use_chrome_net%': 0,
+ }],
+ ],
+ },
+ 'target_defaults': {
+ 'include_dirs': [
+ '..',
+ ],
+ },
+ 'targets': [
+ {
+ 'target_name': 'rlz_lib',
+ 'type': 'static_library',
+ 'include_dirs': [],
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
+ ],
+ 'sources': [
+ 'lib/assert.cc',
+ 'lib/assert.h',
+ 'lib/crc32.h',
+ 'lib/crc32_wrapper.cc',
+ 'lib/crc8.h',
+ 'lib/crc8.cc',
+ 'lib/financial_ping.cc',
+ 'lib/financial_ping.h',
+ 'lib/lib_values.cc',
+ 'lib/machine_id.cc',
+ 'lib/machine_id.h',
+ 'lib/rlz_enums.h',
+ 'lib/rlz_lib.cc',
+ 'lib/rlz_lib.h',
+ 'lib/rlz_lib_clear.cc',
+ 'lib/lib_values.h',
+ 'lib/rlz_value_store.h',
+ 'lib/string_utils.cc',
+ 'lib/string_utils.h',
+ 'mac/lib/machine_id_mac.cc',
+ 'mac/lib/rlz_value_store_mac.mm',
+ 'mac/lib/rlz_value_store_mac.h',
+ 'win/lib/lib_mutex.cc',
+ 'win/lib/lib_mutex.h',
+ 'win/lib/machine_deal.cc',
+ 'win/lib/machine_deal.h',
+ 'win/lib/machine_id_win.cc',
+ 'win/lib/process_info.cc',
+ 'win/lib/process_info.h',
+ 'win/lib/registry_util.cc',
+ 'win/lib/registry_util.h',
+ 'win/lib/rlz_lib.h',
+ 'win/lib/rlz_lib_win.cc',
+ 'win/lib/rlz_value_store_registry.cc',
+ 'win/lib/rlz_value_store_registry.h',
+ 'win/lib/vista_winnt.h',
+ ],
+ 'conditions': [
+ ['rlz_use_chrome_net==1', {
+ 'defines': [
+ 'RLZ_NETWORK_IMPLEMENTATION_CHROME_NET',
+ ],
+ 'direct_dependent_settings': {
+ 'defines': [
+ 'RLZ_NETWORK_IMPLEMENTATION_CHROME_NET',
+ ],
+ },
+ 'dependencies': [
+ '../build/temp_gyp/googleurl.gyp:googleurl',
+ '../net/net.gyp:net',
+ ],
+ }, {
+ 'defines': [
+ 'RLZ_NETWORK_IMPLEMENTATION_WIN_INET',
+ ],
+ 'direct_dependent_settings': {
+ 'defines': [
+ 'RLZ_NETWORK_IMPLEMENTATION_WIN_INET',
+ ],
+ },
+ }],
+ ],
+ },
+ {
+ 'target_name': 'rlz_unittests',
+ 'type': 'executable',
+ 'include_dirs': [],
+ 'dependencies': [
+ ':rlz_lib',
+ '../base/base.gyp:base',
+ '../testing/gmock.gyp:gmock',
+ '../testing/gtest.gyp:gtest',
+ '../third_party/zlib/zlib.gyp:zlib',
+ ],
+ 'sources': [
+ 'lib/crc32_unittest.cc',
+ 'lib/crc8_unittest.cc',
+ 'lib/financial_ping_test.cc',
+ 'lib/lib_values_unittest.cc',
+ 'lib/machine_id_unittest.cc',
+ 'lib/rlz_lib_test.cc',
+ 'lib/string_utils_unittest.cc',
+ 'test/rlz_test_helpers.cc',
+ 'test/rlz_test_helpers.h',
+ 'test/rlz_unittest_main.cc',
+ 'win/lib/machine_deal_test.cc',
+ ],
+ 'conditions': [
+ ['rlz_use_chrome_net==1', {
+ 'dependencies': [
+ '../net/net.gyp:net_test_support',
+ ],
+ }]
+ ],
+ },
+ ],
+ 'conditions': [
+ ['OS=="win"', {
+ 'targets': [
+ {
+ 'target_name': 'rlz',
+ 'type': 'shared_library',
+ 'include_dirs': [],
+ 'sources': [
+ 'win/dll/dll_main.cc',
+ 'win/dll/exports.cc',
+ ],
+ 'dependencies': [
+ ':rlz_lib',
+ '../third_party/zlib/zlib.gyp:zlib',
+ ],
+ },
+ ],
+ }],
+ ],
+}