Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: base/metrics/BUILD.gn

Issue 1016443002: De-duplicate BASE_IMPLEMENTATION define in the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/memory/BUILD.gn ('k') | base/process/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 source_set("metrics") { 5 source_set("metrics") {
6 sources = [ 6 sources = [
7 "bucket_ranges.cc", 7 "bucket_ranges.cc",
8 "bucket_ranges.h", 8 "bucket_ranges.h",
9 "field_trial.cc", 9 "field_trial.cc",
10 "field_trial.h", 10 "field_trial.h",
(...skipping 19 matching lines...) Expand all
30 "statistics_recorder.h", 30 "statistics_recorder.h",
31 "user_metrics.cc", 31 "user_metrics.cc",
32 "user_metrics.h", 32 "user_metrics.h",
33 "user_metrics_action.h", 33 "user_metrics_action.h",
34 ] 34 ]
35 35
36 if (is_nacl) { 36 if (is_nacl) {
37 sources -= [ "field_trial.cc" ] 37 sources -= [ "field_trial.cc" ]
38 } 38 }
39 39
40 defines = [ "BASE_IMPLEMENTATION" ] 40 configs += [ "//base:base_implementation" ]
41 41
42 deps = [ 42 deps = [
43 "//base/debug", 43 "//base/debug",
44 "//base/json", 44 "//base/json",
45 "//base/memory", 45 "//base/memory",
46 ] 46 ]
47 47
48 visibility = [ "//base/*" ] 48 visibility = [ "//base/*" ]
49 } 49 }
OLDNEW
« no previous file with comments | « base/memory/BUILD.gn ('k') | base/process/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698