Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: build/config/android/rules.gni

Issue 1452893002: GN WebView: make system_webview_apk work (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove chromium_code Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « android_webview/system_webview_apk_tmpl.gni ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 import("//base/android/linker/config.gni") 5 import("//base/android/linker/config.gni")
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/android/internal_rules.gni") 7 import("//build/config/android/internal_rules.gni")
8 import("//build/toolchain/toolchain.gni") 8 import("//build/toolchain/toolchain.gni")
9 import("//third_party/android_platform/config.gni") 9 import("//third_party/android_platform/config.gni")
10 import("//tools/grit/grit_rule.gni") 10 import("//tools/grit/grit_rule.gni")
(...skipping 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after
1378 } 1378 }
1379 1379
1380 native_libs = _native_libs 1380 native_libs = _native_libs
1381 } 1381 }
1382 1382
1383 _final_deps = [] 1383 _final_deps = []
1384 1384
1385 _generated_proguard_config = "$base_path.resources.proguard.txt" 1385 _generated_proguard_config = "$base_path.resources.proguard.txt"
1386 process_resources_target = "${_template_name}__process_resources" 1386 process_resources_target = "${_template_name}__process_resources"
1387 process_resources(process_resources_target) { 1387 process_resources(process_resources_target) {
1388 forward_variables_from(invoker, [ "include_all_resources" ]) 1388 forward_variables_from(invoker,
1389 [
1390 "include_all_resources",
1391 "shared_resources",
1392 ])
1389 srcjar_path = "${target_gen_dir}/${target_name}.srcjar" 1393 srcjar_path = "${target_gen_dir}/${target_name}.srcjar"
1390 r_text_path = "${target_gen_dir}/${target_name}_R.txt" 1394 r_text_path = "${target_gen_dir}/${target_name}_R.txt"
1391 android_manifest = _android_manifest 1395 android_manifest = _android_manifest
1392 resource_dirs = [ "//build/android/ant/empty/res" ] 1396 resource_dirs = [ "//build/android/ant/empty/res" ]
1393 zip_path = resources_zip_path 1397 zip_path = resources_zip_path
1394 all_resources_zip_path = _all_resources_zip_path 1398 all_resources_zip_path = _all_resources_zip_path
1395 generate_constant_ids = true 1399 generate_constant_ids = true
1396 proguard_file = _generated_proguard_config 1400 proguard_file = _generated_proguard_config
1397 1401
1398 build_config = _build_config 1402 build_config = _build_config
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
1610 1614
1611 _final_deps += [ ":${_template_name}__create" ] 1615 _final_deps += [ ":${_template_name}__create" ]
1612 create_apk("${_template_name}__create") { 1616 create_apk("${_template_name}__create") {
1613 deps = [] 1617 deps = []
1614 forward_variables_from(invoker, 1618 forward_variables_from(invoker,
1615 [ 1619 [
1616 "asset_location", 1620 "asset_location",
1617 "deps", 1621 "deps",
1618 "extensions_to_not_compress", 1622 "extensions_to_not_compress",
1619 "language_splits", 1623 "language_splits",
1624 "shared_resources",
1620 ]) 1625 ])
1621 apk_path = _final_apk_path 1626 apk_path = _final_apk_path
1622 android_manifest = _android_manifest 1627 android_manifest = _android_manifest
1623 assets_build_config = _build_config 1628 assets_build_config = _build_config
1624 resources_zip = _all_resources_zip_path 1629 resources_zip = _all_resources_zip_path
1625 dex_path = final_dex_path 1630 dex_path = final_dex_path
1626 load_library_from_apk = _load_library_from_apk 1631 load_library_from_apk = _load_library_from_apk
1627 create_density_splits = _create_density_splits 1632 create_density_splits = _create_density_splits
1628 1633
1629 if (!defined(extensions_to_not_compress)) { 1634 if (!defined(extensions_to_not_compress)) {
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
2150 } 2155 }
2151 2156
2152 android_library(target_name) { 2157 android_library(target_name) {
2153 java_files = [] 2158 java_files = []
2154 srcjar_deps = [ ":${_template_name}__protoc_java" ] 2159 srcjar_deps = [ ":${_template_name}__protoc_java" ]
2155 deps = [ 2160 deps = [
2156 "//third_party/android_protobuf:protobuf_nano_javalib", 2161 "//third_party/android_protobuf:protobuf_nano_javalib",
2157 ] 2162 ]
2158 } 2163 }
2159 } 2164 }
OLDNEW
« no previous file with comments | « android_webview/system_webview_apk_tmpl.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698