| 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 # GN version: //apps/common/api:apps_api | |
| 9 'target_name': 'apps_api', | 8 'target_name': 'apps_api', |
| 10 'type': 'static_library', | 9 'type': 'static_library', |
| 11 'sources': [ | 10 'sources': [ |
| 12 '<@(schema_files)', | 11 '<@(schema_files)', |
| 13 ], | 12 ], |
| 14 # TODO(jschuh): http://crbug.com/167187 size_t -> int | 13 # TODO(jschuh): http://crbug.com/167187 size_t -> int |
| 15 'msvs_disabled_warnings': [ 4267 ], | 14 'msvs_disabled_warnings': [ 4267 ], |
| 16 'includes': [ | 15 'includes': [ |
| 17 '../../../build/json_schema_bundle_compile.gypi', | 16 '../../../build/json_schema_bundle_compile.gypi', |
| 18 '../../../build/json_schema_compile.gypi', | 17 '../../../build/json_schema_compile.gypi', |
| 19 ], | 18 ], |
| 20 'variables': { | 19 'variables': { |
| 21 'chromium_code': 1, | 20 'chromium_code': 1, |
| 22 'non_compiled_schema_files': [ | 21 'non_compiled_schema_files': [ |
| 23 ], | 22 ], |
| 24 # TODO: Eliminate these on Android. See crbug.com/305852. | 23 # TODO: Eliminate these on Android. See crbug.com/305852. |
| 25 'schema_files': [ | 24 'schema_files': [ |
| 26 'app_runtime.idl', | 25 'app_runtime.idl', |
| 27 ], | 26 ], |
| 28 'cc_dir': 'apps/common/api', | 27 'cc_dir': 'apps/common/api', |
| 29 'root_namespace': 'apps::api', | 28 'root_namespace': 'apps::api', |
| 30 'impl_dir': 'apps/browser/api', | 29 'impl_dir': 'apps/browser/api', |
| 31 }, | 30 }, |
| 32 'dependencies': [ | 31 'dependencies': [ |
| 33 # None yet, but some may need to be added as more APIs move in. | 32 # None yet, but some may need to be added as more APIs move in. |
| 34 ], | 33 ], |
| 35 }, | 34 }, |
| 36 ], | 35 ], |
| 37 } | 36 } |
| OLD | NEW |