OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 'android_support_v13_target%': |
| 9 '../../third_party/android_tools/android_tools.gyp:android_support_v13_javal
ib', |
8 }, | 10 }, |
9 'targets': [ | 11 'targets': [ |
10 { | 12 { |
11 # GN version: //device/nfc | 13 # GN version: //device/nfc |
12 'target_name': 'device_nfc', | 14 'target_name': 'device_nfc', |
13 'type': 'static_library', | 15 'type': 'static_library', |
14 'dependencies': [ | 16 'dependencies': [ |
15 '../../base/base.gyp:base', | 17 '../../base/base.gyp:base', |
16 '../../url/url.gyp:url_lib', | 18 '../../url/url.gyp:url_lib', |
17 ], | 19 ], |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 'use_new_wrapper_types': 'false', | 73 'use_new_wrapper_types': 'false', |
72 }, | 74 }, |
73 'includes': [ | 75 'includes': [ |
74 '../../mojo/mojom_bindings_generator.gypi', | 76 '../../mojo/mojom_bindings_generator.gypi', |
75 ], | 77 ], |
76 'sources': [ | 78 'sources': [ |
77 'nfc.mojom', | 79 'nfc.mojom', |
78 ], | 80 ], |
79 }, | 81 }, |
80 ], | 82 ], |
| 83 'conditions': [ |
| 84 ['OS == "android"', { |
| 85 'targets': [ |
| 86 { |
| 87 'target_name': 'device_nfc_java', |
| 88 'type': 'none', |
| 89 'dependencies': [ |
| 90 '<(android_support_v13_target)', |
| 91 '../../base/base.gyp:base', |
| 92 '../../mojo/mojo_public.gyp:mojo_bindings_java', |
| 93 'device_nfc_mojo_bindings', |
| 94 ], |
| 95 'variables': { |
| 96 'java_in_dir': '../../device/nfc/android/java', |
| 97 }, |
| 98 'includes': [ '../../build/java.gypi' ], |
| 99 }, |
| 100 ], |
| 101 }, { # OS != "android" |
| 102 }], |
| 103 ], |
81 } | 104 } |
OLD | NEW |