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

Side by Side Diff: components/safe_json.gypi

Issue 2306443002: Remove GYP files from components. (Closed)
Patch Set: Remove compiled resources Created 4 years, 3 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 | « components/safe_browsing_db.gypi ('k') | components/search.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'targets': [
7 {
8 # GN version: //components/safe_json
9 'target_name': 'safe_json',
10 'type': 'static_library',
11 'dependencies': [
12 'safe_json_mojo_bindings',
13 '../base/base.gyp:base',
14 '../components/components_strings.gyp:components_strings',
15 '../content/content.gyp:content_browser',
16 '../content/content.gyp:content_common',
17 '../ui/base/ui_base.gyp:ui_base',
18 ],
19 'include_dirs': [
20 '..',
21 ],
22 'sources': [
23 'safe_json/android/component_jni_registrar.cc',
24 'safe_json/android/component_jni_registrar.h',
25 'safe_json/json_sanitizer.cc',
26 'safe_json/json_sanitizer.h',
27 'safe_json/json_sanitizer_android.cc',
28 'safe_json/safe_json_parser.cc',
29 'safe_json/safe_json_parser.h',
30 'safe_json/safe_json_parser_android.cc',
31 'safe_json/safe_json_parser_android.h',
32 'safe_json/safe_json_parser_impl.cc',
33 'safe_json/safe_json_parser_impl.h',
34 ],
35 'conditions': [
36 ['OS == "android"', {
37 'dependencies': [
38 'safe_json_jni_headers',
39 ],
40 'sources!': [
41 'safe_json/json_sanitizer.cc',
42 'safe_json/safe_json_parser_impl.cc',
43 'safe_json/safe_json_parser_impl.h',
44 ],
45 }],
46 ],
47 },
48 {
49 'target_name': 'safe_json_test_support',
50 'type': 'static_library',
51 'dependencies': [
52 '../base/base.gyp:base',
53 ':safe_json',
54 ],
55 'include_dirs': [
56 '..',
57 ],
58 'sources': [
59 'safe_json/testing_json_parser.cc',
60 'safe_json/testing_json_parser.h',
61 ],
62 },
63 {
64 # GN version: //components/safe_json/public/interfaces
65 'target_name': 'safe_json_mojo_bindings',
66 'type': 'static_library',
67 'variables': {
68 'mojom_typemaps': [
69 'safe_json/public/interfaces/safe_json.typemap',
70 ],
71 'use_new_wrapper_types': 'false',
72 },
73 'sources': [
74 'safe_json/public/interfaces/safe_json.mojom',
75 ],
76 'includes': [ '../mojo/mojom_bindings_generator.gypi'],
77 },
78 {
79 'target_name': 'safe_json_parser_mojo',
80 'type': 'static_library',
81 'dependencies': [
82 'safe_json_mojo_bindings',
83 '../base/base.gyp:base',
84 '../content/content.gyp:content_common',
85 '../content/content.gyp:content_utility',
86 '../ipc/ipc.gyp:ipc',
87 ],
88 'include_dirs': [
89 '..',
90 ],
91 'sources': [
92 'safe_json/utility/safe_json_parser_mojo_impl.cc',
93 'safe_json/utility/safe_json_parser_mojo_impl.h',
94 ],
95 },
96 ],
97 'conditions': [
98 ['OS=="android"', {
99 'targets': [
100 {
101 # GN version: //components/safe_json/android:safe_json_java
102 'target_name': 'safe_json_java',
103 'type': 'none',
104 'dependencies': [
105 '../base/base.gyp:base',
106 ],
107 'variables': {
108 'java_in_dir': 'safe_json/android/java',
109 },
110 'includes': [ '../build/java.gypi' ],
111 },
112 {
113 # GN version: //components/safe_json:jni
114 'target_name': 'safe_json_jni_headers',
115 'type': 'none',
116 'sources': [
117 'safe_json/android/java/src/org/chromium/components/safejson/JsonSan itizer.java',
118 ],
119 'variables': {
120 'jni_gen_package': 'safe_json',
121 },
122 'includes': [ '../build/jni_generator.gypi' ],
123 },
124 ],
125 }],
126 ]
127 }
OLDNEW
« no previous file with comments | « components/safe_browsing_db.gypi ('k') | components/search.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698