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

Side by Side Diff: extensions/utility/BUILD.gn

Issue 2321823002: Exclude exe files while unzipping CRXes (Closed)
Patch Set: Fix build Created 4 years, 3 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
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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 6
7 assert(enable_extensions) 7 assert(enable_extensions)
8 8
9 source_set("utility") { 9 source_set("utility") {
10 sources = [ 10 sources = [
11 "extension_extractor_filter.cc",
12 "extension_extractor_filter.h",
11 "unpacker.cc", 13 "unpacker.cc",
12 "unpacker.h", 14 "unpacker.h",
13 "utility_handler.cc", 15 "utility_handler.cc",
14 "utility_handler.h", 16 "utility_handler.h",
15 ] 17 ]
16 18
17 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 19 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
18 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 20 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
19 21
20 deps = [ 22 deps = [
21 "//content/public/common", 23 "//content/public/common",
22 "//content/public/utility", 24 "//content/public/utility",
23 "//extensions/common", 25 "//extensions/common",
24 "//skia", 26 "//skia",
25 ] 27 ]
26 } 28 }
27 29
28 source_set("unit_tests") { 30 source_set("unit_tests") {
29 testonly = true 31 testonly = true
30 sources = [ 32 sources = [
33 "extension_extractor_filter_unittest.cc",
31 "unpacker_unittest.cc", 34 "unpacker_unittest.cc",
32 ] 35 ]
33 deps = [ 36 deps = [
34 ":utility", 37 ":utility",
35 "//base", 38 "//base",
36 "//extensions:test_support", 39 "//extensions:test_support",
37 "//extensions/common", 40 "//extensions/common",
38 "//extensions/strings", 41 "//extensions/strings",
39 "//testing/gtest", 42 "//testing/gtest",
40 "//third_party/zlib:zip", 43 "//third_party/zlib:zip",
41 "//ui/base", 44 "//ui/base",
42 ] 45 ]
43 } 46 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698