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

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

Issue 1497543006: GN: Build nacl_helper_nonsfi unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review feedback incorporated Created 5 years 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 | « BUILD.gn ('k') | base/test/BUILD.gn » ('j') | base/test/BUILD.gn » ('J')
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 import("//build/config/nacl/config.gni")
Dirk Pranke 2015/12/04 00:22:41 why is this import needed?
Petr Hosek 2015/12/04 05:57:46 This is needed for is_nacl and is_nacl_nonsfi.
6
5 source_set("json") { 7 source_set("json") {
6 sources = [ 8 sources = [
7 "json_file_value_serializer.cc", 9 "json_file_value_serializer.cc",
8 "json_file_value_serializer.h", 10 "json_file_value_serializer.h",
9 "json_parser.cc", 11 "json_parser.cc",
10 "json_parser.h", 12 "json_parser.h",
11 "json_reader.cc", 13 "json_reader.cc",
12 "json_reader.h", 14 "json_reader.h",
13 "json_string_value_serializer.cc", 15 "json_string_value_serializer.cc",
14 "json_string_value_serializer.h", 16 "json_string_value_serializer.h",
15 "json_value_converter.cc", 17 "json_value_converter.cc",
16 "json_value_converter.h", 18 "json_value_converter.h",
17 "json_writer.cc", 19 "json_writer.cc",
18 "json_writer.h", 20 "json_writer.h",
19 "string_escape.cc", 21 "string_escape.cc",
20 "string_escape.h", 22 "string_escape.h",
21 ] 23 ]
22 24
23 if (is_nacl) {
24 sources -= [
25 "json_file_value_serializer.cc",
26 "json_file_value_serializer.h",
27 ]
28 }
29
30 configs += [ "//base:base_implementation" ] 25 configs += [ "//base:base_implementation" ]
31 26
32 deps = [ 27 deps = [
33 "//base/memory", 28 "//base/memory",
34 ] 29 ]
35 30
36 visibility = [ "//base/*" ] 31 visibility = [ "//base/*" ]
37 } 32 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | base/test/BUILD.gn » ('j') | base/test/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698