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

Unified Diff: build/java_strings_grd.gypi

Issue 1438853002: Remove all .gyp and .gypi files. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/java_prebuilt.gypi ('k') | build/jni_generator.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/java_strings_grd.gypi
diff --git a/build/java_strings_grd.gypi b/build/java_strings_grd.gypi
deleted file mode 100644
index 7534be5beeaf23c1c5177b84a7a48f3ba762698d..0000000000000000000000000000000000000000
--- a/build/java_strings_grd.gypi
+++ /dev/null
@@ -1,62 +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 generate localized strings.xml from a grd file.
-#
-# To use this, create a gyp target with the following form:
-# {
-# 'target_name': 'my-package_strings_grd',
-# 'type': 'none',
-# 'variables': {
-# 'grd_file': 'path/to/grd/file',
-# },
-# 'includes': ['path/to/this/gypi/file'],
-# }
-#
-# Required variables:
-# grd_file - The path to the grd file to use.
-{
- 'variables': {
- 'res_grit_dir': '<(INTERMEDIATE_DIR)/<(_target_name)/res_grit',
- 'grit_grd_file': '<(grd_file)',
- 'resource_zip_path': '<(PRODUCT_DIR)/res.java/<(_target_name).zip',
- 'grit_additional_defines': ['-E', 'ANDROID_JAVA_TAGGED_ONLY=false'],
- 'grit_out_dir': '<(res_grit_dir)',
- # resource_ids is unneeded since we don't generate .h headers.
- 'grit_resource_ids': '',
- 'grit_outputs': [
- '<!@pymod_do_main(grit_info <@(grit_defines) <@(grit_additional_defines) '
- '--outputs \'<(grit_out_dir)\' '
- '<(grit_grd_file) -f "<(grit_resource_ids)")',
- ]
- },
- 'all_dependent_settings': {
- 'variables': {
- 'additional_input_paths': ['<(resource_zip_path)'],
- 'dependencies_res_zip_paths': ['<(resource_zip_path)'],
- },
- },
- 'actions': [
- {
- 'action_name': 'generate_localized_strings_xml',
- 'includes': ['../build/grit_action.gypi'],
- },
- {
- 'action_name': 'create_resources_zip',
- 'inputs': [
- '<(DEPTH)/build/android/gyp/zip.py',
- '<@(grit_outputs)',
- ],
- 'outputs': [
- '<(resource_zip_path)',
- ],
- 'action': [
- 'python', '<(DEPTH)/build/android/gyp/zip.py',
- '--input-dir', '<(res_grit_dir)',
- '--output', '<(resource_zip_path)',
- ],
- }
- ],
-}
« no previous file with comments | « build/java_prebuilt.gypi ('k') | build/jni_generator.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698