summaryrefslogtreecommitdiffstats
path: root/components/mime_util/BUILD.gn
blob: a61ed10fe664a227d9be484cf0d2dcdbcb3ce0ba (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
28
29
30
31
32
33
34
# Copyright 2015 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.

static_library("mime_util") {
  sources = [
    "mime_util.cc",
    "mime_util.h",
  ]

  deps = [
    "//base",
    "//net",
  ]

  # iOS doesn't use and must not depend on //media
  if (!is_ios) {
    deps += [ "//media" ]
  }
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "mime_util_unittest.cc",
  ]

  deps = [
    ":mime_util",
    "//base",
    "//net",
    "//testing/gtest",
  ]
}