| 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 { | 214 { |
| 215 # GN version: //components/gcm_driver/crypto | 215 # GN version: //components/gcm_driver/crypto |
| 216 'target_name': 'gcm_driver_crypto', | 216 'target_name': 'gcm_driver_crypto', |
| 217 'type': 'static_library', | 217 'type': 'static_library', |
| 218 'dependencies': [ | 218 'dependencies': [ |
| 219 'gcm_driver_crypto_proto', | 219 'gcm_driver_crypto_proto', |
| 220 '../base/base.gyp:base', | 220 '../base/base.gyp:base', |
| 221 '../components/components.gyp:leveldb_proto', | 221 '../components/components.gyp:leveldb_proto', |
| 222 '../crypto/crypto.gyp:crypto', | 222 '../crypto/crypto.gyp:crypto', |
| 223 '../net/net.gyp:net', | 223 '../net/net.gyp:net', |
| 224 '../third_party/boringssl/boringssl.gyp:boringssl', |
| 224 ], | 225 ], |
| 225 'include_dirs': [ | 226 'include_dirs': [ |
| 226 '..', | 227 '..', |
| 227 ], | 228 ], |
| 228 'sources': [ | 229 'sources': [ |
| 229 # Note: file list duplicated in GN build. | 230 # Note: file list duplicated in GN build. |
| 230 'gcm_driver/crypto/encryption_header_parsers.cc', | 231 'gcm_driver/crypto/encryption_header_parsers.cc', |
| 231 'gcm_driver/crypto/encryption_header_parsers.h', | 232 'gcm_driver/crypto/encryption_header_parsers.h', |
| 232 'gcm_driver/crypto/gcm_encryption_provider.cc', | 233 'gcm_driver/crypto/gcm_encryption_provider.cc', |
| 233 'gcm_driver/crypto/gcm_encryption_provider.h', | 234 'gcm_driver/crypto/gcm_encryption_provider.h', |
| 234 'gcm_driver/crypto/gcm_key_store.cc', | 235 'gcm_driver/crypto/gcm_key_store.cc', |
| 235 'gcm_driver/crypto/gcm_key_store.h', | 236 'gcm_driver/crypto/gcm_key_store.h', |
| 236 'gcm_driver/crypto/gcm_message_cryptographer.cc', | 237 'gcm_driver/crypto/gcm_message_cryptographer.cc', |
| 237 'gcm_driver/crypto/gcm_message_cryptographer.h', | 238 'gcm_driver/crypto/gcm_message_cryptographer.h', |
| 238 'gcm_driver/crypto/gcm_message_cryptographer_nss.cc', | |
| 239 'gcm_driver/crypto/gcm_message_cryptographer_openssl.cc', | 239 'gcm_driver/crypto/gcm_message_cryptographer_openssl.cc', |
| 240 'gcm_driver/crypto/p256_key_util.cc', | 240 'gcm_driver/crypto/p256_key_util.cc', |
| 241 'gcm_driver/crypto/p256_key_util.h', | 241 'gcm_driver/crypto/p256_key_util.h', |
| 242 'gcm_driver/crypto/p256_key_util_nss.cc', | |
| 243 'gcm_driver/crypto/p256_key_util_openssl.cc', | 242 'gcm_driver/crypto/p256_key_util_openssl.cc', |
| 244 ], | 243 ], |
| 245 'conditions': [ | |
| 246 ['use_openssl==1', { | |
| 247 'sources!': [ | |
| 248 'gcm_driver/crypto/gcm_message_cryptographer_nss.cc', | |
| 249 'gcm_driver/crypto/p256_key_util_nss.cc', | |
| 250 ], | |
| 251 'dependencies': [ | |
| 252 '../third_party/boringssl/boringssl.gyp:boringssl', | |
| 253 ], | |
| 254 }, { | |
| 255 'sources!': [ | |
| 256 'gcm_driver/crypto/gcm_message_cryptographer_openssl.cc', | |
| 257 'gcm_driver/crypto/p256_key_util_openssl.cc', | |
| 258 ], | |
| 259 }], | |
| 260 ], | |
| 261 }, | 244 }, |
| 262 { | 245 { |
| 263 # GN version: //components/gcm_driver/crypto/proto | 246 # GN version: //components/gcm_driver/crypto/proto |
| 264 'target_name': 'gcm_driver_crypto_proto', | 247 'target_name': 'gcm_driver_crypto_proto', |
| 265 'type': 'static_library', | 248 'type': 'static_library', |
| 266 'sources': [ | 249 'sources': [ |
| 267 'gcm_driver/crypto/proto/gcm_encryption_data.proto', | 250 'gcm_driver/crypto/proto/gcm_encryption_data.proto', |
| 268 ], | 251 ], |
| 269 'variables': { | 252 'variables': { |
| 270 'proto_in_dir': 'gcm_driver/crypto/proto', | 253 'proto_in_dir': 'gcm_driver/crypto/proto', |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 'variables': { | 303 'variables': { |
| 321 'jni_gen_package': 'components/gcm_driver', | 304 'jni_gen_package': 'components/gcm_driver', |
| 322 }, | 305 }, |
| 323 'includes': [ '../build/jni_generator.gypi' ], | 306 'includes': [ '../build/jni_generator.gypi' ], |
| 324 }, | 307 }, |
| 325 ], | 308 ], |
| 326 }, | 309 }, |
| 327 ], | 310 ], |
| 328 ], | 311 ], |
| 329 } | 312 } |
| OLD | NEW |