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

Unified Diff: components/safe_json_parser.gypi

Issue 1140053003: Refactoring: Moving the SafeJsonParser to its own component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Catching up with WebstoreInstallHelper changes Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/components_strings.grd ('k') | components/safe_json_parser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_json_parser.gypi
diff --git a/components/safe_json_parser.gypi b/components/safe_json_parser.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..04fb2887a8ede9d325054fe3e9ad68996b755987
--- /dev/null
+++ b/components/safe_json_parser.gypi
@@ -0,0 +1,49 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'targets': [
+ {
+ # GN version: //components/safe_json_parser
+ 'target_name': 'safe_json_parser',
+ #'type': '<(component)',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'safe_json_parser_message_filter',
+ '../base/base.gyp:base',
+ '../components/components_strings.gyp:components_strings',
+ '../content/content.gyp:content_browser',
+ '../ui/base/ui_base.gyp:ui_base',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'defines': [
+ 'SAFE_JSON_PARSER_IMPLEMENTATION',
+ ],
+ 'sources': [
+ 'safe_json_parser/safe_json_parser.h',
+ 'safe_json_parser/safe_json_parser.cc',
+ ],
+ },
+ {
+ 'target_name': 'safe_json_parser_message_filter',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../content/content.gyp:content_browser',
+ '../ipc/ipc.gyp:ipc',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'safe_json_parser/safe_json_parser_messages.cc',
+ 'safe_json_parser/safe_json_parser_messages.h',
+ 'safe_json_parser/safe_json_parser_message_filter.cc',
+ 'safe_json_parser/safe_json_parser_message_filter.h',
+ ],
+ },
+ ],
+}
« no previous file with comments | « components/components_strings.grd ('k') | components/safe_json_parser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698