Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(589)

Side by Side Diff: components/os_crypt/BUILD.gn

Issue 1929573002: Changed location of LibsecretLoader (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added TODO and reference to bug Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/os_crypt.gypi ('k') | components/os_crypt/libsecret_util_posix.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 source_set("os_crypt") { 5 source_set("os_crypt") {
6 sources = [ 6 sources = [
7 "ie7_password_win.cc", 7 "ie7_password_win.cc",
8 "ie7_password_win.h", 8 "ie7_password_win.h",
9 "keychain_password_mac.h", 9 "keychain_password_mac.h",
10 "keychain_password_mac.mm", 10 "keychain_password_mac.mm",
(...skipping 22 matching lines...) Expand all
33 sources += [ 33 sources += [
34 "keychain_password_mac.mm", 34 "keychain_password_mac.mm",
35 "os_crypt_mac.mm", 35 "os_crypt_mac.mm",
36 ] 36 ]
37 set_sources_assignment_filter(sources_assignment_filter) 37 set_sources_assignment_filter(sources_assignment_filter)
38 } 38 }
39 39
40 if (is_win) { 40 if (is_win) {
41 libs = [ "crypt32.lib" ] 41 libs = [ "crypt32.lib" ]
42 } 42 }
43
44 if (is_desktop_linux) {
45 sources += [
46 "libsecret_util_posix.cc",
47 "libsecret_util_posix.h",
48 ]
49 deps += [ "//third_party/libsecret" ]
50 defines = [ "USE_LIBSECRET" ]
51 }
43 } 52 }
44 53
45 source_set("unit_tests") { 54 source_set("unit_tests") {
46 testonly = true 55 testonly = true
47 sources = [ 56 sources = [
48 "ie7_password_win_unittest.cc", 57 "ie7_password_win_unittest.cc",
49 "keychain_password_mac_unittest.mm", 58 "keychain_password_mac_unittest.mm",
50 "os_crypt_unittest.cc", 59 "os_crypt_unittest.cc",
51 ] 60 ]
52 deps = [ 61 deps = [
53 ":os_crypt", 62 ":os_crypt",
54 "//base", 63 "//base",
55 "//crypto", 64 "//crypto",
56 "//testing/gtest", 65 "//testing/gtest",
57 ] 66 ]
58 } 67 }
OLDNEW
« no previous file with comments | « components/os_crypt.gypi ('k') | components/os_crypt/libsecret_util_posix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698