| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//android_webview/system_webview_apk_tmpl.gni") | 5 import("//android_webview/system_webview_apk_tmpl.gni") |
| 6 import("//android_webview/webview_repack_locales.gni") | 6 import("//android_webview/webview_repack_locales.gni") |
| 7 import("//build/config/android/config.gni") | 7 import("//build/config/android/config.gni") |
| 8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
| 9 import("//build/config/locales.gni") | 9 import("//build/config/locales.gni") |
| 10 import("//components/spellcheck/spellcheck_build_features.gni") | 10 import("//components/spellcheck/spellcheck_build_features.gni") |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 whitelist = rebase_path("ui/grit_resources_whitelist.txt") | 271 whitelist = rebase_path("ui/grit_resources_whitelist.txt") |
| 272 inputs = [ | 272 inputs = [ |
| 273 whitelist, | 273 whitelist, |
| 274 ] | 274 ] |
| 275 grit_flags = [ | 275 grit_flags = [ |
| 276 "-w", | 276 "-w", |
| 277 whitelist, | 277 whitelist, |
| 278 ] | 278 ] |
| 279 outputs = [ | 279 outputs = [ |
| 280 "grit/webui_resources.h", | 280 "grit/webui_resources.h", |
| 281 "grit/webui_resources_map.cc", |
| 281 "grit/webui_resources_map.h", | 282 "grit/webui_resources_map.h", |
| 282 "grit/webui_resources_map.cc", | |
| 283 "webui_resources.pak", | 283 "webui_resources.pak", |
| 284 ] | 284 ] |
| 285 } | 285 } |
| 286 | 286 |
| 287 grit("generate_components_resources") { | 287 grit("generate_components_resources") { |
| 288 source = "../components/resources/components_resources.grd" | 288 source = "../components/resources/components_resources.grd" |
| 289 | 289 |
| 290 # See :generate_webui_resources for an explanation of the whitelist | 290 # See :generate_webui_resources for an explanation of the whitelist |
| 291 whitelist = rebase_path("ui/grit_resources_whitelist.txt") | 291 whitelist = rebase_path("ui/grit_resources_whitelist.txt") |
| 292 inputs = [ | 292 inputs = [ |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 foreach(_locale, locales_with_fake_bidi) { | 367 foreach(_locale, locales_with_fake_bidi) { |
| 368 outputs += [ "components_strings_${_locale}.pak" ] | 368 outputs += [ "components_strings_${_locale}.pak" ] |
| 369 } | 369 } |
| 370 } | 370 } |
| 371 | 371 |
| 372 source_set("webview_entry_point") { | 372 source_set("webview_entry_point") { |
| 373 deps = [ | 373 deps = [ |
| 374 ":common", | 374 ":common", |
| 375 ] | 375 ] |
| 376 sources = [ | 376 sources = [ |
| 377 "lib/main/webview_entry_point.cc", | 377 "lib/webview_entry_point.cc", |
| 378 ] | 378 ] |
| 379 } | 379 } |
| 380 | 380 |
| 381 shared_library("libwebviewchromium") { | 381 shared_library("libwebviewchromium") { |
| 382 deps = [ | 382 deps = [ |
| 383 ":webview_entry_point", | 383 ":webview_entry_point", |
| 384 ] | 384 ] |
| 385 configs -= [ "//build/config/android:hide_all_but_jni_onload" ] | 385 configs -= [ "//build/config/android:hide_all_but_jni_onload" ] |
| 386 configs += [ "//build/config/android:hide_all_but_jni" ] | 386 configs += [ "//build/config/android:hide_all_but_jni" ] |
| 387 } | 387 } |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 636 "common/crash_reporter/aw_microdump_crash_reporter.h", | 636 "common/crash_reporter/aw_microdump_crash_reporter.h", |
| 637 "common/crash_reporter/crash_keys.cc", | 637 "common/crash_reporter/crash_keys.cc", |
| 638 "common/crash_reporter/crash_keys.h", | 638 "common/crash_reporter/crash_keys.h", |
| 639 "common/devtools_instrumentation.h", | 639 "common/devtools_instrumentation.h", |
| 640 "common/render_view_messages.cc", | 640 "common/render_view_messages.cc", |
| 641 "common/render_view_messages.h", | 641 "common/render_view_messages.h", |
| 642 "common/url_constants.cc", | 642 "common/url_constants.cc", |
| 643 "common/url_constants.h", | 643 "common/url_constants.h", |
| 644 "gpu/aw_content_gpu_client.cc", | 644 "gpu/aw_content_gpu_client.cc", |
| 645 "gpu/aw_content_gpu_client.h", | 645 "gpu/aw_content_gpu_client.h", |
| 646 "lib/main/aw_main_delegate.cc", | 646 "lib/aw_main_delegate.cc", |
| 647 "lib/main/aw_main_delegate.h", | 647 "lib/aw_main_delegate.h", |
| 648 "lib/main/webview_jni_onload.cc", | 648 "lib/webview_jni_onload.cc", |
| 649 "lib/main/webview_jni_onload.h", | 649 "lib/webview_jni_onload.h", |
| 650 "public/browser/draw_gl.h", | 650 "public/browser/draw_gl.h", |
| 651 "public/browser/draw_sw.h", | 651 "public/browser/draw_sw.h", |
| 652 "renderer/aw_content_renderer_client.cc", | 652 "renderer/aw_content_renderer_client.cc", |
| 653 "renderer/aw_content_renderer_client.h", | 653 "renderer/aw_content_renderer_client.h", |
| 654 "renderer/aw_content_settings_client.cc", | 654 "renderer/aw_content_settings_client.cc", |
| 655 "renderer/aw_content_settings_client.h", | 655 "renderer/aw_content_settings_client.h", |
| 656 "renderer/aw_key_systems.cc", | 656 "renderer/aw_key_systems.cc", |
| 657 "renderer/aw_key_systems.h", | 657 "renderer/aw_key_systems.h", |
| 658 "renderer/aw_print_web_view_helper_delegate.cc", | 658 "renderer/aw_print_web_view_helper_delegate.cc", |
| 659 "renderer/aw_print_web_view_helper_delegate.h", | 659 "renderer/aw_print_web_view_helper_delegate.h", |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 951 system_webview_apk_tmpl("system_webview_apk") { | 951 system_webview_apk_tmpl("system_webview_apk") { |
| 952 android_manifest = system_webview_android_manifest | 952 android_manifest = system_webview_android_manifest |
| 953 android_manifest_dep = ":system_webview_manifest" | 953 android_manifest_dep = ":system_webview_manifest" |
| 954 deps = [ | 954 deps = [ |
| 955 ":system_webview_resources", | 955 ":system_webview_resources", |
| 956 "//android_webview/glue", | 956 "//android_webview/glue", |
| 957 ] | 957 ] |
| 958 apk_name = "SystemWebView" | 958 apk_name = "SystemWebView" |
| 959 } | 959 } |
| 960 } | 960 } |
| OLD | NEW |