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

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: 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
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")
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) { 25 if (is_nacl && !is_nacl_nonsfi) {
Mark Seaborn 2015/12/03 19:05:07 I don't see this being conditionalised in the Gyp
Petr Hosek 2015/12/04 05:57:46 Unfortunately not, this breaks under newlib becaus
24 sources -= [ 26 sources -= [
25 "json_file_value_serializer.cc", 27 "json_file_value_serializer.cc",
26 "json_file_value_serializer.h", 28 "json_file_value_serializer.h",
27 ] 29 ]
28 } 30 }
29 31
30 configs += [ "//base:base_implementation" ] 32 configs += [ "//base:base_implementation" ]
31 33
32 deps = [ 34 deps = [
33 "//base/memory", 35 "//base/memory",
34 ] 36 ]
35 37
36 visibility = [ "//base/*" ] 38 visibility = [ "//base/*" ]
37 } 39 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | base/test/BUILD.gn » ('j') | components/nacl/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698