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

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

Issue 506253003: Revert "Split bundle generation steps so that API registration is generated in browser, not common." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « extensions/common/api/BUILD.gn ('k') | extensions/common/api/schemas.gni » ('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 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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 # GN version: //extensions/common/api 8 # GN version: //extensions/common/api
9 'target_name': 'extensions_api', 9 'target_name': 'extensions_api',
10 'type': 'static_library', 10 'type': 'static_library',
11 'sources': [
12 '<@(schema_files)',
13 ],
11 # TODO(jschuh): http://crbug.com/167187 size_t -> int 14 # TODO(jschuh): http://crbug.com/167187 size_t -> int
12 'msvs_disabled_warnings': [ 4267 ], 15 'msvs_disabled_warnings': [ 4267 ],
13 'includes': [ 16 'includes': [
14 '../../../build/json_schema_bundle_compile.gypi', 17 '../../../build/json_schema_bundle_compile.gypi',
15 '../../../build/json_schema_compile.gypi', 18 '../../../build/json_schema_compile.gypi',
16 'schemas.gypi', 19 ],
20 'variables': {
21 'chromium_code': 1,
22 'non_compiled_schema_files': [
23 ],
24 'conditions': [
25 ['enable_extensions==1', {
26 # Note: file list duplicated in GN build.
27 'schema_files': [
28 'app_runtime.idl',
29 'app_view_internal.json',
30 'cast_channel.idl',
31 'dns.idl',
32 'extensions_manifest_types.json',
33 'hid.idl',
34 'power.idl',
35 'runtime.json',
36 'serial.idl',
37 'socket.idl',
38 'sockets_tcp.idl',
39 'sockets_tcp_server.idl',
40 'sockets_udp.idl',
41 'storage.json',
42 'test.json',
43 'usb.idl',
44 'usb_private.idl',
45 ],
46 }, {
47 # TODO: Eliminate these on Android. See crbug.com/305852.
48 'schema_files': [
49 'runtime.json',
50 ],
51 }],
52 ],
53 'cc_dir': 'extensions/common/api',
54 'root_namespace': 'extensions::core_api::%(namespace)s',
55 'impl_dir': 'extensions/browser/api',
56 },
57 'conditions': [
58 ['enable_extensions==1', {
59 'dependencies': [
60 '<(DEPTH)/device/serial/serial.gyp:device_serial',
61 '<(DEPTH)/skia/skia.gyp:skia',
62 ],
63 }],
17 ], 64 ],
18 }, 65 },
19 ], 66 ],
20 } 67 }
OLDNEW
« no previous file with comments | « extensions/common/api/BUILD.gn ('k') | extensions/common/api/schemas.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698