| 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%': | 8 'android_support_v13_target%': |
| 9 '../../third_party/android_tools/android_tools.gyp:android_support_v13_javal
ib', | 9 '../../third_party/android_tools/android_tools.gyp:android_support_v13_javal
ib', |
| 10 }, | 10 }, |
| 11 'targets': [ | 11 'targets': [ |
| 12 { | 12 { |
| 13 # GN version: //device/nfc | |
| 14 'target_name': 'device_nfc', | |
| 15 'type': 'static_library', | |
| 16 'dependencies': [ | |
| 17 '../../base/base.gyp:base', | |
| 18 '../../url/url.gyp:url_lib', | |
| 19 ], | |
| 20 'sources': [ | |
| 21 # Note: file list duplicated in GN build. | |
| 22 'nfc_adapter.cc', | |
| 23 'nfc_adapter.h', | |
| 24 'nfc_adapter_chromeos.cc', | |
| 25 'nfc_adapter_chromeos.h', | |
| 26 'nfc_adapter_factory.cc', | |
| 27 'nfc_adapter_factory.h', | |
| 28 'nfc_ndef_record.cc', | |
| 29 'nfc_ndef_record.h', | |
| 30 'nfc_ndef_record_utils_chromeos.cc', | |
| 31 'nfc_ndef_record_utils_chromeos.h', | |
| 32 'nfc_peer.cc', | |
| 33 'nfc_peer.h', | |
| 34 'nfc_peer_chromeos.cc', | |
| 35 'nfc_peer_chromeos.h', | |
| 36 'nfc_tag.cc', | |
| 37 'nfc_tag.h', | |
| 38 'nfc_tag_chromeos.cc', | |
| 39 'nfc_tag_chromeos.h', | |
| 40 'nfc_tag_technology.cc', | |
| 41 'nfc_tag_technology.h', | |
| 42 'nfc_tag_technology_chromeos.cc', | |
| 43 'nfc_tag_technology_chromeos.h' | |
| 44 ], | |
| 45 'conditions': [ | |
| 46 ['chromeos==1', { | |
| 47 'dependencies': [ | |
| 48 '../../build/linux/system.gyp:dbus', | |
| 49 '../../chromeos/chromeos.gyp:chromeos', | |
| 50 '../../dbus/dbus.gyp:dbus', | |
| 51 ] | |
| 52 }], | |
| 53 ], | |
| 54 }, | |
| 55 { | |
| 56 'target_name': 'device_nfc_mojo_bindings', | 13 'target_name': 'device_nfc_mojo_bindings', |
| 57 'type': 'static_library', | 14 'type': 'static_library', |
| 58 'includes': [ | 15 'includes': [ |
| 59 '../../mojo/mojom_bindings_generator.gypi', | 16 '../../mojo/mojom_bindings_generator.gypi', |
| 60 ], | 17 ], |
| 61 'sources': [ | 18 'sources': [ |
| 62 'nfc.mojom', | 19 'nfc.mojom', |
| 63 ], | 20 ], |
| 64 'variables': { | 21 'variables': { |
| 65 'use_new_wrapper_types': 'false', | 22 'use_new_wrapper_types': 'false', |
| (...skipping 29 matching lines...) Expand all Loading... |
| 95 'variables': { | 52 'variables': { |
| 96 'java_in_dir': '../../device/nfc/android/java', | 53 'java_in_dir': '../../device/nfc/android/java', |
| 97 }, | 54 }, |
| 98 'includes': [ '../../build/java.gypi' ], | 55 'includes': [ '../../build/java.gypi' ], |
| 99 }, | 56 }, |
| 100 ], | 57 ], |
| 101 }, { # OS != "android" | 58 }, { # OS != "android" |
| 102 }], | 59 }], |
| 103 ], | 60 ], |
| 104 } | 61 } |
| OLD | NEW |