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

Side by Side Diff: extensions/generated_extensions_api.gni

Issue 437883002: Make the root_namespace argument to json_schema_compiler.gypi a string (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: un-escape %% for windows Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 # Defines a static library corresponding to the output of schema compiler tools 5 # Defines a static library corresponding to the output of schema compiler tools
6 # over a set of extensions API schemas (IDL or JSON format.) The library target 6 # over a set of extensions API schemas (IDL or JSON format.) The library target
7 # has implicit hard dependencies on all schema files listed by the invoker and 7 # has implicit hard dependencies on all schema files listed by the invoker and
8 # is itself a hard dependency. 8 # is itself a hard dependency.
9 # 9 #
10 # Invocations of this template may use the following variables: 10 # Invocations of this template may use the following variables:
11 # 11 #
12 # sources [required] A list of schema files to be compiled. 12 # sources [required] A list of schema files to be compiled.
13 # 13 #
14 # root_namespace [required] 14 # root_namespace [required]
15 # The namespace in which generated API code is to be 15 # A Python string substituion pattern used to generate the C++
16 # wrapped. C++ namespace syntax is accepted for nested namespace 16 # namespace for each API. Use %(namespace)s to replace with the API
17 # (e.g. "foo::bar::api"). 17 # namespace, like "toplevel::%(namespace)s_api".
18 # 18 #
19 # bundle [optional, default = false] 19 # bundle [optional, default = false]
20 # Boolean indicating if the schema files should be bundled or not. 20 # Boolean indicating if the schema files should be bundled or not.
21 # 21 #
22 # impl_dir [required if bundle = true, otherwise unused] 22 # impl_dir [required if bundle = true, otherwise unused]
23 # The path containing C++ implementations of API functions. This path is 23 # The path containing C++ implementations of API functions. This path is
24 # used as the root path when looking for {schema}/{schema}_api.h headers 24 # used as the root path when looking for {schema}/{schema}_api.h headers
25 # during the API bundle generation phase. Such headers, if found, are 25 # during the API bundle generation phase. Such headers, if found, are
26 # automatically included by the generated code. 26 # automatically included by the generated code.
27 # 27 #
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 direct_dependent_configs = [ ":$generated_config_name" ] 141 direct_dependent_configs = [ ":$generated_config_name" ]
142 142
143 if (defined(invoker.visibility)) { 143 if (defined(invoker.visibility)) {
144 visibility = invoker.visibility 144 visibility = invoker.visibility
145 } 145 }
146 if (defined(invoker.output_name)) { 146 if (defined(invoker.output_name)) {
147 output_name = invoker.output_name 147 output_name = invoker.output_name
148 } 148 }
149 } 149 }
150 } 150 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698