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

Side by Side Diff: base/trace_event/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/third_party/nspr/BUILD.gn ('k') | no next file » | 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("trace_event") { 5 source_set("trace_event") {
6 sources = [ 6 sources = [
7 "memory_dump_manager.cc", 7 "memory_dump_manager.cc",
8 "memory_dump_manager.h", 8 "memory_dump_manager.h",
9 "memory_dump_provider.h", 9 "memory_dump_provider.h",
10 "process_memory_dump.cc", 10 "process_memory_dump.cc",
(...skipping 23 matching lines...) Expand all
34 "trace_event_win.h", 34 "trace_event_win.h",
35 ] 35 ]
36 36
37 if (is_nacl) { 37 if (is_nacl) {
38 sources -= [ 38 sources -= [
39 "process_memory_totals_dump_provider.cc", 39 "process_memory_totals_dump_provider.cc",
40 "trace_event_system_stats_monitor.cc", 40 "trace_event_system_stats_monitor.cc",
41 ] 41 ]
42 } 42 }
43 43
44 defines = [ "BASE_IMPLEMENTATION" ] 44 configs += [ "//base:base_implementation" ]
45 45
46 deps = [ 46 deps = [
47 "//base/debug", 47 "//base/debug",
48 "//base/json", 48 "//base/json",
49 "//base/memory", 49 "//base/memory",
50 "//base/process", 50 "//base/process",
51 "//base/third_party/dynamic_annotations", 51 "//base/third_party/dynamic_annotations",
52 ] 52 ]
53 53
54 allow_circular_includes_from = [ 54 allow_circular_includes_from = [
55 "//base/debug", 55 "//base/debug",
56 "//base/memory", 56 "//base/memory",
57 "//base/process", 57 "//base/process",
58 ] 58 ]
59 59
60 visibility = [ "//base/*" ] 60 visibility = [ "//base/*" ]
61 } 61 }
OLDNEW
« no previous file with comments | « base/third_party/nspr/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698