Index: components/os_crypt.gypi |
diff --git a/components/os_crypt.gypi b/components/os_crypt.gypi |
index 37023408afab267925590155bb3fb039ec105cc5..5c8f7eb5f94343fdcfab11be1b8b12a8d23658b7 100644 |
--- a/components/os_crypt.gypi |
+++ b/components/os_crypt.gypi |
@@ -75,5 +75,29 @@ |
}], |
], |
}, |
+ { |
+ 'target_name': 'os_crypt_test_support', |
+ 'type': 'static_library', |
+ 'sources': [ |
+ "os_crypt/os_crypt_mocker.cc", |
+ "os_crypt/os_crypt_mocker.h", |
+ ], |
+ 'dependencies': [ |
+ '../base/base.gyp:base', |
+ ], |
+ 'conditions': [ |
+ ['OS=="linux" and chromeos!=1 and use_glib==1', { |
+ 'defines': [ |
+ 'USE_LIBSECRET', |
+ ], |
+ 'include_dirs' : [ |
+ '../third_party/libsecret/' |
+ ], |
+ 'dependencies': [ |
+ '../build/linux/system.gyp:glib', |
+ ], |
+ }], |
+ ] |
+ } |
], |
} |