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

Unified Diff: build/android/copy_ex.gypi

Issue 2331893004: Remove GYP files in breakpad, build, and tools. (Closed)
Patch Set: Created 4 years, 3 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/apkbuilder_action.gypi ('k') | build/android/create_standalone_apk_action.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/copy_ex.gypi
diff --git a/build/android/copy_ex.gypi b/build/android/copy_ex.gypi
deleted file mode 100644
index 8c49d247c3447bd33893ee8400abcfc4ebf4e3be..0000000000000000000000000000000000000000
--- a/build/android/copy_ex.gypi
+++ /dev/null
@@ -1,79 +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.
-
-# Copy files to a directory with the option to clear directory first.
-#
-# Variables:
-# dest_path - directory to copy files to.
-# src_files - optional, a list of files to copy without changing name.
-# clear - optional, if set, clear directory before copying files.
-# renaming_sources - optional, a list of files to copy and rename.
-# renaming_destinations - optional, a list of new file names corresponding to
-# renaming_sources.
-#
-# Exmaple
-# {
-# 'target_name': 'copy_assets',
-# 'type': 'none',
-# 'variables': {
-# 'dest_path': 'apk/assets/path',
-# 'src_files': ['path1/fr.pak'],
-# 'clear': 1,
-# # path2/old1 and path3/old2 will be copied to apk/assets/path and
-# # renamed to new1, new2 respectly.
-# 'renaming_sources': ['path2/old1', 'path3/old2'],
-# 'renaming_destinations': ['new1', 'new2'],
-# },
-# 'includes': [ '../build/android/copy_ex.gypi' ],
-# },
-#
-{
- 'variables': {
- 'clear%': 0,
- 'src_files%': [],
- 'renaming_sources%': [],
- 'renaming_destinations%': [],
- },
- 'actions': [{
- 'action_name': '<(_target_name)_copy_ex',
- 'variables': {
- 'additional_args':[],
- 'local_inputs': [],
- 'dest_files': [],
- 'conditions': [
- ['clear == 1', {
- 'additional_args': ['--clear'],
- }],
- ['src_files != []', {
- 'additional_args': ['--files', '<(src_files)'],
- 'local_inputs': ['<@(src_files)'],
- # src_files will be used to generate destination files path for
- # outputs.
- 'dest_files': ['<@(src_files)'],
- }],
- ['renaming_sources != []', {
- 'additional_args': [
- '--renaming-sources', '<(renaming_sources)',
- '--renaming-destinations', '<(renaming_destinations)'
- ],
- 'local_inputs': ['<@(renaming_sources)'],
- 'dest_files': ['<@(renaming_destinations)'],
- }],
- ],
- },
- 'inputs': [
- '<(DEPTH)/build/android/gyp/copy_ex.py',
- '<(DEPTH)/build/android/gyp/generate_copy_ex_outputs.py',
- '<@(local_inputs)',
- ],
- 'outputs': [
- '<!@pymod_do_main(generate_copy_ex_outputs --dest-path <(dest_path) --src-files <(dest_files))',
- ],
- 'action': [
- 'python', '<(DEPTH)/build/android/gyp/copy_ex.py',
- '--dest', '<(dest_path)',
- '<@(additional_args)',
- ],
- }],
-}
« no previous file with comments | « build/android/apkbuilder_action.gypi ('k') | build/android/create_standalone_apk_action.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698