De-duplicate BASE_IMPLEMENTATION define in the GN build.
[chromium-blink-merge.git] / base / third_party / nspr / BUILD.gn
blob034f37b275ce1c3ab67b66b5d0705ed57b04f655
1 # Copyright (c) 2013 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("nspr") {
6   visibility = [ "//base/*" ]
8   sources = [
9     "prtime.cc",
10     "prtime.h",
11   ]
13   # In GYP this project is part of base, so it uses the base implementation
14   # define. TODO(brettw) rename this define.
15   configs += [ "//base:base_implementation" ]
17   if (is_android && !is_debug) {
18     configs -= [ "//build/config/compiler:optimize" ]
19     configs += [ "//build/config/compiler:optimize_max" ]
20   }