Debugging patch to help track down skipped cleanup of ScriptContexts.
[chromium-blink-merge.git] / third_party / smhasher / BUILD.gn
blobe1bbb5e33897e6aa16d23852059c4f3844a7df2a
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
3 # found in the LICENSE file.
5 source_set("murmurhash3") {
6   sources = [
7     "src/MurmurHash3.cpp",
8     "src/MurmurHash3.h",
9   ]
10   configs -= [ "//build/config/compiler:chromium_code" ]
11   configs += [ "//build/config/compiler:no_chromium_code" ]
14 source_set("pmurhash") {
15   sources = [
16     "src/PMurHash.c",
17     "src/PMurHash.h",
18   ]
19   configs -= [ "//build/config/compiler:chromium_code" ]
20   configs += [ "//build/config/compiler:no_chromium_code" ]
23 source_set("cityhash") {
24   sources = [
25     "src/City.cpp",
26     "src/City.h",
27   ]
28   configs -= [ "//build/config/compiler:chromium_code" ]
29   configs += [ "//build/config/compiler:no_chromium_code" ]
31   if (is_win) {
32     # TODO(jschuh): http://code.google.com/p/smhasher/issues/detail?id=19
33     cflags = [ "/wd4267" ]
34   }