| Index: build/config/android/internal_rules.gni
|
| diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni
|
| index 1103cf315413c0c97535b1acd27f2b37c08d3b09..8e2cb0f825f3348fd80295e04123cd16675b0b37 100644
|
| --- a/build/config/android/internal_rules.gni
|
| +++ b/build/config/android/internal_rules.gni
|
| @@ -3,6 +3,7 @@
|
| # found in the LICENSE file.
|
|
|
| import("//build/config/android/config.gni")
|
| +import("//build/config/zip.gni")
|
| import("//third_party/ijar/ijar.gni")
|
|
|
| assert(is_android)
|
| @@ -212,46 +213,6 @@ template("dex") {
|
| }
|
| }
|
|
|
| -# Creates a zip archive of the inputs.
|
| -# If base_dir is provided, the archive paths will be relative to it.
|
| -template("zip") {
|
| - set_sources_assignment_filter([])
|
| - assert(defined(invoker.inputs))
|
| - assert(defined(invoker.output))
|
| -
|
| - rebase_inputs = rebase_path(invoker.inputs, root_build_dir)
|
| - rebase_output = rebase_path(invoker.output, root_build_dir)
|
| - action(target_name) {
|
| - forward_variables_from(invoker,
|
| - [
|
| - "data_deps",
|
| - "deps",
|
| - "public_deps",
|
| - "inputs",
|
| - "testonly",
|
| - "visibility",
|
| - ])
|
| - script = "//build/android/gn/zip.py"
|
| - depfile = "$target_gen_dir/$target_name.d"
|
| - outputs = [
|
| - depfile,
|
| - invoker.output,
|
| - ]
|
| - args = [
|
| - "--depfile",
|
| - rebase_path(depfile, root_build_dir),
|
| - "--inputs=$rebase_inputs",
|
| - "--output=$rebase_output",
|
| - ]
|
| - if (defined(invoker.base_dir)) {
|
| - args += [
|
| - "--base-dir",
|
| - rebase_path(invoker.base_dir, root_build_dir),
|
| - ]
|
| - }
|
| - }
|
| -}
|
| -
|
| # Write the target's .build_config file. This is a json file that contains a
|
| # dictionary of information about how to build this target (things that
|
| # require knowledge about this target's dependencies and cannot be calculated
|
|
|