| 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': 'shell_api', | 8 'target_name': 'shell_api', |
| 9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'sources': [ |
| 11 '<@(schema_files)', |
| 12 ], |
| 10 # TODO(jschuh): http://crbug.com/167187 size_t -> int | 13 # TODO(jschuh): http://crbug.com/167187 size_t -> int |
| 11 'msvs_disabled_warnings': [ 4267 ], | 14 'msvs_disabled_warnings': [ 4267 ], |
| 12 'includes': [ | 15 'includes': [ |
| 13 '../../../../build/json_schema_bundle_compile.gypi', | 16 '../../../../build/json_schema_bundle_compile.gypi', |
| 14 '../../../../build/json_schema_compile.gypi', | 17 '../../../../build/json_schema_compile.gypi', |
| 15 'schemas.gypi', | 18 ], |
| 19 'variables': { |
| 20 'chromium_code': 1, |
| 21 'non_compiled_schema_files': [ |
| 22 ], |
| 23 # TODO(thestig): Eliminate these on Android. See crbug.com/305852. |
| 24 'schema_files': [ |
| 25 'shell.idl', |
| 26 ], |
| 27 'cc_dir': 'extensions/shell/common/api', |
| 28 'root_namespace': 'extensions::shell_api::%(namespace)s', |
| 29 'impl_dir': 'extensions/shell/browser/api', |
| 30 }, |
| 31 'dependencies': [ |
| 32 '<(DEPTH)/skia/skia.gyp:skia', |
| 16 ], | 33 ], |
| 17 }, | 34 }, |
| 18 ], | 35 ], |
| 19 } | 36 } |
| OLD | NEW |