| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 import("//build/config/ios/ios_sdk.gni") | 5 import("//build/config/ios/ios_sdk.gni") |
| 6 import("//build/config/ios/rules.gni") | 6 import("//build/config/ios/rules.gni") |
| 7 import("//tools/grit/repack.gni") | 7 import("//tools/grit/repack.gni") |
| 8 | 8 |
| 9 config("config") { | 9 config("config") { |
| 10 defines = [ "CWV_IMPLEMENTATION" ] | 10 defines = [ "CWV_IMPLEMENTATION" ] |
| 11 libs = [ | 11 libs = [ |
| 12 "CoreGraphics.framework", | 12 "CoreGraphics.framework", |
| 13 "Foundation.framework", | 13 "Foundation.framework", |
| 14 "MobileCoreServices.framework", | 14 "MobileCoreServices.framework", |
| 15 "UIKit.framework", | 15 "UIKit.framework", |
| 16 ] | 16 ] |
| 17 } | 17 } |
| 18 | 18 |
| 19 ios_framework_bundle("web_view") { | 19 ios_framework_bundle("web_view") { |
| 20 output_name = "ChromeWebView" | 20 output_name = "ChromeWebView" |
| 21 info_plist = "Info.plist" | 21 info_plist = "Info.plist" |
| 22 | 22 |
| 23 public_headers = [ | 23 public_headers = [ |
| 24 "public/ChromeWebView.h", | 24 "public/ChromeWebView.h", |
| 25 "public/cwv.h", | 25 "public/cwv.h", |
| 26 "public/cwv_delegate.h", | |
| 27 "public/cwv_export.h", | 26 "public/cwv_export.h", |
| 28 "public/cwv_html_element.h", | 27 "public/cwv_html_element.h", |
| 29 "public/cwv_navigation_action.h", | 28 "public/cwv_navigation_action.h", |
| 30 "public/cwv_navigation_delegate.h", | 29 "public/cwv_navigation_delegate.h", |
| 31 "public/cwv_translate_delegate.h", | 30 "public/cwv_translate_delegate.h", |
| 32 "public/cwv_translate_manager.h", | 31 "public/cwv_translate_manager.h", |
| 33 "public/cwv_ui_delegate.h", | 32 "public/cwv_ui_delegate.h", |
| 34 "public/cwv_user_content_controller.h", | 33 "public/cwv_user_content_controller.h", |
| 35 "public/cwv_user_script.h", | 34 "public/cwv_user_script.h", |
| 36 "public/cwv_web_view.h", | 35 "public/cwv_web_view.h", |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 public_deps = [ | 132 public_deps = [ |
| 134 ":repack_resources", | 133 ":repack_resources", |
| 135 ] | 134 ] |
| 136 sources = [ | 135 sources = [ |
| 137 "$target_gen_dir/web_view_resources.pak", | 136 "$target_gen_dir/web_view_resources.pak", |
| 138 ] | 137 ] |
| 139 outputs = [ | 138 outputs = [ |
| 140 "{{bundle_resources_dir}}/{{source_file_part}}", | 139 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 141 ] | 140 ] |
| 142 } | 141 } |
| OLD | NEW |