diff options
author | torne <torne@chromium.org> | 2015-03-30 13:46:29 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-30 20:47:32 +0000 |
commit | 15040fcb70a124db6a7886677d0c78cb7624da8a (patch) | |
tree | 6559b6efcfcffda91377cac312d9f79cd826e41b /android_webview/build | |
parent | 2a6a4369787ae82f02addadf22e157237838f7c2 (diff) | |
download | chromium_src-15040fcb70a124db6a7886677d0c78cb7624da8a.zip chromium_src-15040fcb70a124db6a7886677d0c78cb7624da8a.tar.gz chromium_src-15040fcb70a124db6a7886677d0c78cb7624da8a.tar.bz2 |
Remove support for jarjar-ing layout.xml files.
Now that android_webview_build is being removed we no longer need
support for jarjar-ing layout.xml files. Delete the tools used to do
this, as well as the jarjar configuration for android_webview_build.
BUG=440794
Review URL: https://codereview.chromium.org/1040653003
Cr-Commit-Position: refs/heads/master@{#322860}
Diffstat (limited to 'android_webview/build')
-rw-r--r-- | android_webview/build/jarjar-rules.txt | 4 | ||||
-rw-r--r-- | android_webview/build/jarjar_resources.gypi | 50 |
2 files changed, 0 insertions, 54 deletions
diff --git a/android_webview/build/jarjar-rules.txt b/android_webview/build/jarjar-rules.txt deleted file mode 100644 index 5f1231f..0000000 --- a/android_webview/build/jarjar-rules.txt +++ /dev/null @@ -1,4 +0,0 @@ -rule org.chromium.** com.android.@0 -rule com.google.** com.android.org.chromium.@0 -rule com.googlecode.** com.android.org.chromium.@0 -rule javax.annotation.** com.android.org.chromium.@0 diff --git a/android_webview/build/jarjar_resources.gypi b/android_webview/build/jarjar_resources.gypi deleted file mode 100644 index 0f6cb06..0000000 --- a/android_webview/build/jarjar_resources.gypi +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 2014 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. -# -# This file is meant to be included into a target to provide a rule -# to run the equivalent of jarjar on Java resources (layout.xml files). -# -# To use this, create a gyp target with the following form: -# { -# 'target_name': 'my-package_java', -# 'type': 'none', -# 'variables': { -# 'java_in_dir': 'path/to/package/root', -# }, -# 'includes': ['path/to/this/gypi/file'], -# } -# -# Required variables: -# res_dir - The top-level resources folder. -# rules_file - Path to the file containing jar-jar rules. - -{ - 'variables': { - 'intermediate_dir': '<(SHARED_INTERMEDIATE_DIR)/<(_target_name)', - 'jarjar_stamp': '<(intermediate_dir)/jarjar_resources.stamp', - 'resource_input_paths': ['<!@(find <(res_dir) -type f | sort)'], - }, - 'actions': [{ - 'action_name': 'jarjar resources', - 'message': 'Copying and jar-jaring resources for <(_target_name)', - 'variables': { - 'out_dir': '<(intermediate_dir)/jarjar_res', - }, - 'inputs': [ - '<(DEPTH)/build/android/gyp/util/build_utils.py', - '<(DEPTH)/build/android/gyp/jarjar_resources.py', - '>@(resource_input_paths)', - ], - 'outputs': [ - '<(jarjar_stamp)', - ], - 'action': [ - 'python', '../build/android/gyp/jarjar_resources.py', - '--input-dir', '<(res_dir)', - '--output-dir', '<(out_dir)', - '--rules-path', '<(rules_file)', - '--stamp', '<(jarjar_stamp)', - ] - }], -} |