| Index: components/cronet/ios/sample/BUILD.gn
|
| diff --git a/components/cronet/ios/sample/BUILD.gn b/components/cronet/ios/sample/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a2b3b030ecc97288cb13b5b1333fa5fc1dca8e7e
|
| --- /dev/null
|
| +++ b/components/cronet/ios/sample/BUILD.gn
|
| @@ -0,0 +1,61 @@
|
| +# Copyright 2016 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +import("//build/config/ios/rules.gni")
|
| +
|
| +ios_app_bundle("cronet_sample_static") {
|
| + info_plist = "cronet-sample-Info.plist"
|
| +
|
| + deps = [
|
| + "//base",
|
| +
|
| + # "//components/cronet/ios:cronet_static",
|
| + "//components/cronet/ios:lib_cronet",
|
| +
|
| + # All shared libraries must have the sanitizer deps to properly link in
|
| + # asan mode (this target will be empty in other cases).
|
| + "//build/config/sanitizers:deps",
|
| + ]
|
| +
|
| + sources = [
|
| + "cronet_sample_app_delegate.h",
|
| + "cronet_sample_app_delegate.mm",
|
| + "cronet_sample_view_controller.h",
|
| + "cronet_sample_view_controller.m",
|
| + "main.mm",
|
| + ]
|
| +
|
| + include_dirs = [ "//components/grpc_support/include" ]
|
| +
|
| + # bundle_deps = [ "//ios/crnet:crnet_framework+bundle" ]
|
| +
|
| + configs += [ "//build/config/compiler:enable_arc" ]
|
| +}
|
| +
|
| +ios_app_bundle("cronet_sample") {
|
| + info_plist = "cronet-sample-Info.plist"
|
| +
|
| + deps = [
|
| + "//base",
|
| + "//components/cronet/ios:cronet_framework+link",
|
| +
|
| + # All shared libraries must have the sanitizer deps to properly link in
|
| + # asan mode (this target will be empty in other cases).
|
| + "//build/config/sanitizers:deps",
|
| + ]
|
| +
|
| + sources = [
|
| + "cronet_sample_app_delegate.h",
|
| + "cronet_sample_app_delegate.mm",
|
| + "cronet_sample_view_controller.h",
|
| + "cronet_sample_view_controller.m",
|
| + "main.mm",
|
| + ]
|
| +
|
| + include_dirs = [ "//components/grpc_support/include" ]
|
| +
|
| + bundle_deps = [ "//components/cronet/ios:cronet_framework+bundle" ]
|
| +
|
| + configs += [ "//build/config/compiler:enable_arc" ]
|
| +}
|
|
|