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: //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', |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 # TODO: Eliminate these on Android. See crbug.com/305852. | 44 # TODO: Eliminate these on Android. See crbug.com/305852. |
45 'schema_files': [ | 45 'schema_files': [ |
46 'runtime.json', | 46 'runtime.json', |
47 ], | 47 ], |
48 }], | 48 }], |
49 ], | 49 ], |
50 'cc_dir': 'extensions/common/api', | 50 'cc_dir': 'extensions/common/api', |
51 'root_namespace': 'extensions::core_api', | 51 'root_namespace': 'extensions::core_api', |
52 'impl_dir': 'extensions/browser/api', | 52 'impl_dir': 'extensions/browser/api', |
53 }, | 53 }, |
54 'dependencies': [ | 54 'conditions': [ |
55 '<(DEPTH)/device/serial/serial.gyp:device_serial', | 55 ['enable_extensions==1', { |
56 '<(DEPTH)/skia/skia.gyp:skia', | 56 'dependencies': [ |
| 57 '<(DEPTH)/device/serial/serial.gyp:device_serial', |
| 58 '<(DEPTH)/skia/skia.gyp:skia', |
| 59 ], |
| 60 }], |
57 ], | 61 ], |
58 }, | 62 }, |
59 ], | 63 ], |
60 } | 64 } |
OLD | NEW |