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

Side by Side Diff: components/safe_json.gypi

Issue 1211423004: Change static library targets in safe_json GN files to source sets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: defines Created 5 years, 5 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 | « no previous file | components/safe_json/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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 # GN version: //components/safe_json 8 # GN version: //components/safe_json
9 'target_name': 'safe_json', 9 'target_name': 'safe_json',
10 #'type': '<(component)', 10 #'type': '<(component)',
Robert Sesek 2015/07/08 22:01:57 Delete this, since it's not going to be a componen
Bernhard Bauer 2015/07/09 08:17:07 Done.
11 'type': 'static_library', 11 'type': 'static_library',
12 'dependencies': [ 12 'dependencies': [
13 'safe_json_parser_message_filter', 13 'safe_json_parser_message_filter',
14 '../base/base.gyp:base', 14 '../base/base.gyp:base',
15 '../components/components_strings.gyp:components_strings', 15 '../components/components_strings.gyp:components_strings',
16 '../content/content.gyp:content_browser', 16 '../content/content.gyp:content_browser',
17 '../ui/base/ui_base.gyp:ui_base', 17 '../ui/base/ui_base.gyp:ui_base',
18 ], 18 ],
19 'include_dirs': [ 19 'include_dirs': [
20 '..', 20 '..',
21 ], 21 ],
22 'defines': [
23 'SAFE_JSON_IMPLEMENTATION',
24 ],
25 'sources': [ 22 'sources': [
26 'safe_json/safe_json_parser.cc', 23 'safe_json/safe_json_parser.cc',
27 'safe_json/safe_json_parser.h', 24 'safe_json/safe_json_parser.h',
28 'safe_json/safe_json_parser_impl.cc', 25 'safe_json/safe_json_parser_impl.cc',
29 'safe_json/safe_json_parser_impl.h', 26 'safe_json/safe_json_parser_impl.h',
30 ], 27 ],
31 }, 28 },
32 { 29 {
33 'target_name': 'safe_json_test_support', 30 'target_name': 'safe_json_test_support',
34 'type': 'static_library', 31 'type': 'static_library',
(...skipping 22 matching lines...) Expand all
57 ], 54 ],
58 'sources': [ 55 'sources': [
59 'safe_json/safe_json_parser_message_filter.cc', 56 'safe_json/safe_json_parser_message_filter.cc',
60 'safe_json/safe_json_parser_message_filter.h', 57 'safe_json/safe_json_parser_message_filter.h',
61 'safe_json/safe_json_parser_messages.cc', 58 'safe_json/safe_json_parser_messages.cc',
62 'safe_json/safe_json_parser_messages.h', 59 'safe_json/safe_json_parser_messages.h',
63 ], 60 ],
64 }, 61 },
65 ], 62 ],
66 } 63 }
OLDNEW
« no previous file with comments | « no previous file | components/safe_json/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698