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

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: review 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)',
11 'type': 'static_library', 10 'type': 'static_library',
12 'dependencies': [ 11 'dependencies': [
13 'safe_json_parser_message_filter', 12 'safe_json_parser_message_filter',
14 '../base/base.gyp:base', 13 '../base/base.gyp:base',
15 '../components/components_strings.gyp:components_strings', 14 '../components/components_strings.gyp:components_strings',
16 '../content/content.gyp:content_browser', 15 '../content/content.gyp:content_browser',
17 '../ui/base/ui_base.gyp:ui_base', 16 '../ui/base/ui_base.gyp:ui_base',
18 ], 17 ],
19 'include_dirs': [ 18 'include_dirs': [
20 '..', 19 '..',
21 ], 20 ],
22 'defines': [
23 'SAFE_JSON_IMPLEMENTATION',
24 ],
25 'sources': [ 21 'sources': [
26 'safe_json/safe_json_parser.cc', 22 'safe_json/safe_json_parser.cc',
27 'safe_json/safe_json_parser.h', 23 'safe_json/safe_json_parser.h',
28 'safe_json/safe_json_parser_impl.cc', 24 'safe_json/safe_json_parser_impl.cc',
29 'safe_json/safe_json_parser_impl.h', 25 'safe_json/safe_json_parser_impl.h',
30 ], 26 ],
31 }, 27 },
32 { 28 {
33 'target_name': 'safe_json_test_support', 29 'target_name': 'safe_json_test_support',
34 'type': 'static_library', 30 'type': 'static_library',
(...skipping 22 matching lines...) Expand all
57 ], 53 ],
58 'sources': [ 54 'sources': [
59 'safe_json/safe_json_parser_message_filter.cc', 55 'safe_json/safe_json_parser_message_filter.cc',
60 'safe_json/safe_json_parser_message_filter.h', 56 'safe_json/safe_json_parser_message_filter.h',
61 'safe_json/safe_json_parser_messages.cc', 57 'safe_json/safe_json_parser_messages.cc',
62 'safe_json/safe_json_parser_messages.h', 58 'safe_json/safe_json_parser_messages.h',
63 ], 59 ],
64 }, 60 },
65 ], 61 ],
66 } 62 }
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