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

Unified Diff: build/android/locale_pak_resources.gypi

Issue 1200583002: Revert "Android: Store language .pak files in res/raw rather than assets" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/gyp/locale_pak_resources.py ('k') | build/config/android/rules.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/locale_pak_resources.gypi
diff --git a/build/android/locale_pak_resources.gypi b/build/android/locale_pak_resources.gypi
deleted file mode 100644
index 6f8e56f8f15c27360d1e077d4693b2ed6aefa3eb..0000000000000000000000000000000000000000
--- a/build/android/locale_pak_resources.gypi
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 2015 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.
-
-# Creates a resources.zip with locale.pak files placed into appropriate
-# resource configs (e.g. en-GB.pak -> res/raw-en/en_gb.pak). Also generates
-# a locale_paks TypedArray so that resource files can be enumerated at runtime.
-#
-# If this target is included in the deps of an android resources/library/apk,
-# the resources will be included with that target.
-#
-# Variables:
-# locale_pak_files - List of .pak files to process.
-# Names must be of the form "en.pak" or "en-US.pak".
-#
-# Example
-# {
-# 'target_name': 'my_locale_resources',
-# 'type': 'none',
-# 'variables': {
-# 'locale_paks_files': ['path1/fr.pak'],
-# },
-# 'includes': [ '../build/android/locale_pak_resources.gypi' ],
-# },
-#
-{
- 'variables': {
- 'resources_zip_path': '<(PRODUCT_DIR)/res.java/<(_target_name).zip',
- },
- 'all_dependent_settings': {
- 'variables': {
- 'additional_input_paths': ['<(resources_zip_path)'],
- 'dependencies_res_zip_paths': ['<(resources_zip_path)'],
- },
- },
- 'actions': [{
- 'action_name': '<(_target_name)_locale_pak_resources',
- 'inputs': [
- '<(DEPTH)/build/android/gyp/util/build_utils.py',
- '<(DEPTH)/build/android/gyp/locale_pak_resources.py',
- '<@(locale_pak_files)',
- ],
- 'outputs': [
- '<(resources_zip_path)',
- ],
- 'action': [
- 'python', '<(DEPTH)/build/android/gyp/locale_pak_resources.py',
- '--locale-paks', '<(locale_pak_files)',
- '--resources-zip', '<(resources_zip_path)',
- ],
- }],
-}
« no previous file with comments | « build/android/gyp/locale_pak_resources.py ('k') | build/config/android/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698