summaryrefslogtreecommitdiffstats
path: root/extensions/utility/BUILD.gn
blob: c95474686303355c08cc10811d535614dc67bc73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/features.gni")

assert(enable_extensions)

# GYP version: extensions/extensions.gyp:extensions_utility
source_set("utility") {
  sources = [
    "unpacker.cc",
    "unpacker.h",
    "utility_handler.cc",
    "utility_handler.h",
  ]

  deps = [
    "//content/public/utility",
    "//extensions/common",
    "//skia",
  ]

  if (is_win) {
    cflags = [ "/wd4267" ]  # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
  }
}