| 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: //components/gcm_driver/common | 8 # GN version: //components/gcm_driver/common |
| 9 'target_name': 'gcm_driver_common', | 9 'target_name': 'gcm_driver_common', |
| 10 'type': '<(component)', | 10 'type': '<(component)', |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 { | 219 { |
| 220 # GN version: //components/gcm_driver/crypto | 220 # GN version: //components/gcm_driver/crypto |
| 221 'target_name': 'gcm_driver_crypto', | 221 'target_name': 'gcm_driver_crypto', |
| 222 'type': 'static_library', | 222 'type': 'static_library', |
| 223 'dependencies': [ | 223 'dependencies': [ |
| 224 'gcm_driver_crypto_proto', | 224 'gcm_driver_crypto_proto', |
| 225 '../base/base.gyp:base', | 225 '../base/base.gyp:base', |
| 226 '../components/components.gyp:leveldb_proto', | 226 '../components/components.gyp:leveldb_proto', |
| 227 '../crypto/crypto.gyp:crypto', | 227 '../crypto/crypto.gyp:crypto', |
| 228 '../net/net.gyp:net', | 228 '../net/net.gyp:net', |
| 229 '../third_party/boringssl/boringssl.gyp:boringssl', |
| 229 ], | 230 ], |
| 230 'include_dirs': [ | 231 'include_dirs': [ |
| 231 '..', | 232 '..', |
| 232 ], | 233 ], |
| 233 'sources': [ | 234 'sources': [ |
| 234 # Note: file list duplicated in GN build. | 235 # Note: file list duplicated in GN build. |
| 235 'gcm_driver/crypto/encryption_header_parsers.cc', | 236 'gcm_driver/crypto/encryption_header_parsers.cc', |
| 236 'gcm_driver/crypto/encryption_header_parsers.h', | 237 'gcm_driver/crypto/encryption_header_parsers.h', |
| 237 'gcm_driver/crypto/gcm_encryption_provider.cc', | 238 'gcm_driver/crypto/gcm_encryption_provider.cc', |
| 238 'gcm_driver/crypto/gcm_encryption_provider.h', | 239 'gcm_driver/crypto/gcm_encryption_provider.h', |
| 239 'gcm_driver/crypto/gcm_key_store.cc', | 240 'gcm_driver/crypto/gcm_key_store.cc', |
| 240 'gcm_driver/crypto/gcm_key_store.h', | 241 'gcm_driver/crypto/gcm_key_store.h', |
| 241 'gcm_driver/crypto/gcm_message_cryptographer.cc', | 242 'gcm_driver/crypto/gcm_message_cryptographer.cc', |
| 242 'gcm_driver/crypto/gcm_message_cryptographer.h', | 243 'gcm_driver/crypto/gcm_message_cryptographer.h', |
| 243 'gcm_driver/crypto/gcm_message_cryptographer_nss.cc', | |
| 244 'gcm_driver/crypto/gcm_message_cryptographer_openssl.cc', | 244 'gcm_driver/crypto/gcm_message_cryptographer_openssl.cc', |
| 245 'gcm_driver/crypto/p256_key_util.cc', | 245 'gcm_driver/crypto/p256_key_util.cc', |
| 246 'gcm_driver/crypto/p256_key_util.h', | 246 'gcm_driver/crypto/p256_key_util.h', |
| 247 'gcm_driver/crypto/p256_key_util_nss.cc', | |
| 248 'gcm_driver/crypto/p256_key_util_openssl.cc', | 247 'gcm_driver/crypto/p256_key_util_openssl.cc', |
| 249 ], | 248 ], |
| 250 'conditions': [ | |
| 251 ['use_openssl==1', { | |
| 252 'sources!': [ | |
| 253 'gcm_driver/crypto/gcm_message_cryptographer_nss.cc', | |
| 254 'gcm_driver/crypto/p256_key_util_nss.cc', | |
| 255 ], | |
| 256 'dependencies': [ | |
| 257 '../third_party/boringssl/boringssl.gyp:boringssl', | |
| 258 ], | |
| 259 }, { | |
| 260 'sources!': [ | |
| 261 'gcm_driver/crypto/gcm_message_cryptographer_openssl.cc', | |
| 262 'gcm_driver/crypto/p256_key_util_openssl.cc', | |
| 263 ], | |
| 264 }], | |
| 265 ], | |
| 266 }, | 249 }, |
| 267 { | 250 { |
| 268 # GN version: //components/gcm_driver/crypto/proto | 251 # GN version: //components/gcm_driver/crypto/proto |
| 269 'target_name': 'gcm_driver_crypto_proto', | 252 'target_name': 'gcm_driver_crypto_proto', |
| 270 'type': 'static_library', | 253 'type': 'static_library', |
| 271 'sources': [ | 254 'sources': [ |
| 272 'gcm_driver/crypto/proto/gcm_encryption_data.proto', | 255 'gcm_driver/crypto/proto/gcm_encryption_data.proto', |
| 273 ], | 256 ], |
| 274 'variables': { | 257 'variables': { |
| 275 'proto_in_dir': 'gcm_driver/crypto/proto', | 258 'proto_in_dir': 'gcm_driver/crypto/proto', |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 'variables': { | 332 'variables': { |
| 350 'jni_gen_package': 'components/gcm_driver/instance_id', | 333 'jni_gen_package': 'components/gcm_driver/instance_id', |
| 351 }, | 334 }, |
| 352 'includes': [ '../build/jni_generator.gypi' ], | 335 'includes': [ '../build/jni_generator.gypi' ], |
| 353 }, | 336 }, |
| 354 ], | 337 ], |
| 355 }, | 338 }, |
| 356 ], | 339 ], |
| 357 ], | 340 ], |
| 358 } | 341 } |
| OLD | NEW |