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

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

Issue 2888853003: Expand CRX verifier to verify CRX₃ files. (Closed)
Patch Set: Fix const name Created 3 years, 6 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 | « no previous file | components/crx_file/crx3.proto » ('j') | components/crx_file/crx3.proto » ('J')
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 import("//third_party/protobuf/proto_library.gni")
6
5 static_library("crx_file") { 7 static_library("crx_file") {
6 sources = [ 8 sources = [
7 "crx2_file.cc", 9 "crx2_file.cc",
8 "crx2_file.h", 10 "crx2_file.h",
9 "crx_verifier.cc", 11 "crx_verifier.cc",
10 "crx_verifier.h", 12 "crx_verifier.h",
11 "id_util.cc", 13 "id_util.cc",
12 "id_util.h", 14 "id_util.h",
13 ] 15 ]
14 16
15 deps = [ 17 deps = [
16 "//base", 18 "//base",
17 "//crypto", 19 "//crypto",
18 ] 20 ]
21
22 public_deps = [
23 ":crx3_proto",
24 ]
19 } 25 }
20 26
21 source_set("unit_tests") { 27 source_set("unit_tests") {
22 testonly = true 28 testonly = true
23 sources = [ 29 sources = [
30 "crx_verifier_unittest.cc",
24 "id_util_unittest.cc", 31 "id_util_unittest.cc",
25 ] 32 ]
26 33
27 deps = [ 34 deps = [
28 ":crx_file", 35 ":crx_file",
29 "//base", 36 "//base",
30 "//testing/gtest", 37 "//testing/gtest",
31 ] 38 ]
32 } 39 }
40
41 proto_library("crx3_proto") {
42 sources = [
43 "crx3.proto",
44 ]
45 }
OLDNEW
« no previous file with comments | « no previous file | components/crx_file/crx3.proto » ('j') | components/crx_file/crx3.proto » ('J')

Powered by Google App Engine
This is Rietveld 408576698