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

Side by Side Diff: chrome/common/extensions/api/api.gyp

Issue 23594008: Initial code generation for features. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Tests and namespaces. Created 7 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 | « chrome/chrome_tests_unit.gypi ('k') | tools/json_schema_compiler/code.py » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'target_name': 'api', 8 'target_name': 'api',
9 'type': 'static_library', 9 'type': 'static_library',
10 'sources': [ 10 'sources': [
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 }], 165 }],
166 ['OS!="chromeos"', { 166 ['OS!="chromeos"', {
167 'schema_files!': [ 167 'schema_files!': [
168 'file_browser_handler_internal.json', 168 'file_browser_handler_internal.json',
169 'log_private.idl', 169 'log_private.idl',
170 'rtc_private.idl', 170 'rtc_private.idl',
171 ], 171 ],
172 }], 172 }],
173 ], 173 ],
174 }, 174 },
175 {
176 'target_name': 'feature',
177 'type': 'static_library',
178 'sources': [
179 '<@(schema_files)',
180 ],
181 'includes': [
182 '../../../../build/features_compile.gypi',
183 ],
184 'variables': {
185 'chromium_code': 1,
186 'schema_files': [
187 '_permission_features.json',
188 ],
189 'cc_dir': 'chrome/common/extensions/api',
190 'root_namespace': 'extensions::feature',
dhnishi (use Chromium) 2013/09/18 18:32:45 Is this okay as the namespace?
not at google - send to devlin 2013/09/18 18:35:58 Yep - though maybe "features" not "feature".
dhnishi (use Chromium) 2013/09/18 19:11:57 Done.
191 },
192 },
175 ], 193 ],
176 } 194 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | tools/json_schema_compiler/code.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698