summaryrefslogtreecommitdiff
path: root/chromium/third_party/smhasher/BUILD.gn
blob: 6d5f9f8e51550f536b4a16db864a70da0cb79972 (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
35
36
37
38
39
# 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.

static_library("murmurhash2") {
  sources = [
    "src/MurmurHash2.cpp",
    "src/MurmurHash2.h",
  ]
  configs -= [ "//build/config/compiler:chromium_code" ]
  configs += [ "//build/config/compiler:no_chromium_code" ]
}

static_library("murmurhash3") {
  sources = [
    "src/MurmurHash3.cpp",
    "src/MurmurHash3.h",
  ]
  configs -= [ "//build/config/compiler:chromium_code" ]
  configs += [ "//build/config/compiler:no_chromium_code" ]
}

static_library("pmurhash") {
  sources = [
    "src/PMurHash.c",
    "src/PMurHash.h",
  ]
  configs -= [ "//build/config/compiler:chromium_code" ]
  configs += [ "//build/config/compiler:no_chromium_code" ]
}

static_library("cityhash") {
  sources = [
    "src/City.cpp",
    "src/City.h",
  ]
  configs -= [ "//build/config/compiler:chromium_code" ]
  configs += [ "//build/config/compiler:no_chromium_code" ]
}