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

Side by Side Diff: base/json/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/debug/BUILD.gn ('k') | base/memory/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) 2013 The Chromium Authors. All rights reserved. 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 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("json") { 5 source_set("json") {
6 sources = [ 6 sources = [
7 "json_file_value_serializer.cc", 7 "json_file_value_serializer.cc",
8 "json_file_value_serializer.h", 8 "json_file_value_serializer.h",
9 "json_parser.cc", 9 "json_parser.cc",
10 "json_parser.h", 10 "json_parser.h",
11 "json_reader.cc", 11 "json_reader.cc",
12 "json_reader.h", 12 "json_reader.h",
13 "json_string_value_serializer.cc", 13 "json_string_value_serializer.cc",
14 "json_string_value_serializer.h", 14 "json_string_value_serializer.h",
15 "json_value_converter.cc", 15 "json_value_converter.cc",
16 "json_value_converter.h", 16 "json_value_converter.h",
17 "json_writer.cc", 17 "json_writer.cc",
18 "json_writer.h", 18 "json_writer.h",
19 "string_escape.cc", 19 "string_escape.cc",
20 "string_escape.h", 20 "string_escape.h",
21 ] 21 ]
22 22
23 if (is_nacl) { 23 if (is_nacl) {
24 sources -= [ 24 sources -= [
25 "json_file_value_serializer.cc", 25 "json_file_value_serializer.cc",
26 "json_file_value_serializer.h", 26 "json_file_value_serializer.h",
27 ] 27 ]
28 } 28 }
29 29
30 defines = [ "BASE_IMPLEMENTATION" ] 30 configs += [ "//base:base_implementation" ]
31 31
32 deps = [ 32 deps = [
33 "//base/memory", 33 "//base/memory",
34 ] 34 ]
35 35
36 visibility = [ "//base/*" ] 36 visibility = [ "//base/*" ]
37 } 37 }
OLDNEW
« no previous file with comments | « base/debug/BUILD.gn ('k') | base/memory/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698