| 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 include_dirs = [ | 10 include_dirs = [ |
| 11 "internal", | 11 "internal", |
| 12 "public", | 12 "public", |
| 13 ] | 13 ] |
| 14 } | 14 } |
| 15 | 15 |
| 16 ios_framework_bundle("web_view") { | 16 ios_framework_bundle("web_view") { |
| 17 output_name = "ChromeWebView" | 17 output_name = "ChromeWebView" |
| 18 info_plist = "Info.plist" | 18 info_plist = "Info.plist" |
| 19 | 19 |
| 20 sources = [ | 20 sources = [ |
| 21 "public/cwv.h", | 21 "public/cwv.h", |
| 22 ] | 22 ] |
| 23 | 23 |
| 24 public_headers = [ | 24 public_headers = [ |
| 25 "public/criwv_translate_manager.h", | 25 "public/criwv_translate_manager.h", |
| 26 "public/cwv.h", | 26 "public/cwv.h", |
| 27 "public/cwv_delegate.h", | 27 "public/cwv_delegate.h", |
| 28 "public/cwv_html_element.h", | 28 "public/cwv_html_element.h", |
| 29 "public/cwv_navigation_action.h", |
| 29 "public/cwv_navigation_delegate.h", | 30 "public/cwv_navigation_delegate.h", |
| 30 "public/cwv_translate_delegate.h", | 31 "public/cwv_translate_delegate.h", |
| 31 "public/cwv_ui_delegate.h", | 32 "public/cwv_ui_delegate.h", |
| 32 "public/cwv_web_view.h", | 33 "public/cwv_web_view.h", |
| 33 "public/cwv_web_view_configuration.h", | 34 "public/cwv_web_view_configuration.h", |
| 34 ] | 35 ] |
| 35 | 36 |
| 36 deps = [ | 37 deps = [ |
| 37 ":packed_resources", | 38 ":packed_resources", |
| 38 "//base", | 39 "//base", |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 public_deps = [ | 85 public_deps = [ |
| 85 ":repack_resources", | 86 ":repack_resources", |
| 86 ] | 87 ] |
| 87 sources = [ | 88 sources = [ |
| 88 "$target_gen_dir/web_view_resources.pak", | 89 "$target_gen_dir/web_view_resources.pak", |
| 89 ] | 90 ] |
| 90 outputs = [ | 91 outputs = [ |
| 91 "{{bundle_resources_dir}}/{{source_file_part}}", | 92 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 92 ] | 93 ] |
| 93 } | 94 } |
| OLD | NEW |