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

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

Issue 2302743003: Inline extensions .gypi files into GN build. (Closed)
Patch Set: ChromeOS 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
« no previous file with comments | « extensions/test/test_api.gyp ('k') | no next file » | 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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//extensions/extensions.gni")
7 6
8 assert(enable_extensions) 7 assert(enable_extensions)
9 8
10 # GYP version: extensions/extensions.gyp:extensions_utility
11 source_set("utility") { 9 source_set("utility") {
12 sources = rebase_path(extensions_gypi_values.extensions_utility_sources, 10 sources = [
13 ".", 11 "unpacker.cc",
14 "//extensions") 12 "unpacker.h",
13 "utility_handler.cc",
14 "utility_handler.h",
15 ]
15 16
16 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 17 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
17 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 18 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
18 19
19 deps = [ 20 deps = [
20 "//content/public/common", 21 "//content/public/common",
21 "//content/public/utility", 22 "//content/public/utility",
22 "//extensions/common", 23 "//extensions/common",
23 "//skia", 24 "//skia",
24 ] 25 ]
25 } 26 }
26 27
27 source_set("unit_tests") { 28 source_set("unit_tests") {
28 testonly = true 29 testonly = true
29 sources = [ 30 sources = [
30 "unpacker_unittest.cc", 31 "unpacker_unittest.cc",
31 ] 32 ]
32 deps = [ 33 deps = [
33 ":utility", 34 ":utility",
34 "//base", 35 "//base",
35 "//extensions:test_support", 36 "//extensions:test_support",
36 "//extensions/common", 37 "//extensions/common",
37 "//extensions/strings", 38 "//extensions/strings",
38 "//testing/gtest", 39 "//testing/gtest",
39 "//third_party/zlib:zip", 40 "//third_party/zlib:zip",
40 "//ui/base", 41 "//ui/base",
41 ] 42 ]
42 } 43 }
OLDNEW
« no previous file with comments | « extensions/test/test_api.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698