| OLD | NEW |
| 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 'target_name': 'extensions_api', | 8 'target_name': 'extensions_api', |
| 9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'sources': [ | 10 'sources': [ |
| 11 '<@(schema_files)', | 11 '<@(schema_files)', |
| 12 ], | 12 ], |
| 13 # TODO(jschuh): http://crbug.com/167187 size_t -> int | 13 # TODO(jschuh): http://crbug.com/167187 size_t -> int |
| 14 'msvs_disabled_warnings': [ 4267 ], | 14 'msvs_disabled_warnings': [ 4267 ], |
| 15 'includes': [ | 15 'includes': [ |
| 16 '../../../build/json_schema_bundle_compile.gypi', | 16 '../../../build/json_schema_bundle_compile.gypi', |
| 17 '../../../build/json_schema_compile.gypi', | 17 '../../../build/json_schema_compile.gypi', |
| 18 ], | 18 ], |
| 19 'variables': { | 19 'variables': { |
| 20 'chromium_code': 1, | 20 'chromium_code': 1, |
| 21 'non_compiled_schema_files': [ | 21 'non_compiled_schema_files': [ |
| 22 ], | 22 ], |
| 23 'conditions': [ | 23 'conditions': [ |
| 24 ['enable_extensions==1', { | 24 ['enable_extensions==1', { |
| 25 'schema_files': [ | 25 'schema_files': [ |
| 26 'app_runtime.idl', | 26 'app_runtime.idl', |
| 27 'dns.idl', | 27 'dns.idl', |
| 28 'extensions_manifest_types.json', | 28 'extensions_manifest_types.json', |
| 29 'power.idl', |
| 29 'runtime.json', | 30 'runtime.json', |
| 30 'socket.idl', | 31 'socket.idl', |
| 31 'sockets_tcp.idl', | 32 'sockets_tcp.idl', |
| 32 'sockets_tcp_server.idl', | 33 'sockets_tcp_server.idl', |
| 33 'sockets_udp.idl', | 34 'sockets_udp.idl', |
| 34 'storage.json', | 35 'storage.json', |
| 35 'test.json', | 36 'test.json', |
| 36 'usb.idl', | 37 'usb.idl', |
| 37 ], | 38 ], |
| 38 }, { | 39 }, { |
| 39 # TODO: Eliminate these on Android. See crbug.com/305852. | 40 # TODO: Eliminate these on Android. See crbug.com/305852. |
| 40 'schema_files': [ | 41 'schema_files': [ |
| 41 'extensions_manifest_types.json', | 42 'extensions_manifest_types.json', |
| 42 'runtime.json', | 43 'runtime.json', |
| 43 ], | 44 ], |
| 44 }], | 45 }], |
| 45 ], | 46 ], |
| 46 'cc_dir': 'extensions/common/api', | 47 'cc_dir': 'extensions/common/api', |
| 47 'root_namespace': 'extensions::core_api', | 48 'root_namespace': 'extensions::core_api', |
| 48 'impl_dir': 'extensions/browser/api', | 49 'impl_dir': 'extensions/browser/api', |
| 49 }, | 50 }, |
| 50 'dependencies': [ | 51 'dependencies': [ |
| 51 '<(DEPTH)/skia/skia.gyp:skia', | 52 '<(DEPTH)/skia/skia.gyp:skia', |
| 52 ], | 53 ], |
| 53 }, | 54 }, |
| 54 ], | 55 ], |
| 55 } | 56 } |
| OLD | NEW |