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

Unified Diff: build/android/gyp/copy_ex.py

Issue 1647353002: Use gn_helpers to [se]serialize GN lists. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@python_impl
Patch Set: more Created 4 years, 4 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/configure_multidex.py ('k') | build/android/gyp/create_device_library_links.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/copy_ex.py
diff --git a/build/android/gyp/copy_ex.py b/build/android/gyp/copy_ex.py
index 3d7434df6e69a32501c6ec251526434fdefa1401..8103a93b1ba023b595b1f664c30146fbabe7c617 100755
--- a/build/android/gyp/copy_ex.py
+++ b/build/android/gyp/copy_ex.py
@@ -35,7 +35,7 @@ def CopyFile(f, dest, deps):
def DoCopy(options, deps):
"""Copy files or directories given in options.files and update deps."""
- files = list(itertools.chain.from_iterable(build_utils.ParseGypList(f)
+ files = list(itertools.chain.from_iterable(build_utils.ParseGnList(f)
for f in options.files))
for f in files:
@@ -48,11 +48,11 @@ def DoCopy(options, deps):
def DoRenaming(options, deps):
"""Copy and rename files given in options.renaming_sources and update deps."""
src_files = list(itertools.chain.from_iterable(
- build_utils.ParseGypList(f)
+ build_utils.ParseGnList(f)
for f in options.renaming_sources))
dest_files = list(itertools.chain.from_iterable(
- build_utils.ParseGypList(f)
+ build_utils.ParseGnList(f)
for f in options.renaming_destinations))
if (len(src_files) != len(dest_files)):
« no previous file with comments | « build/android/gyp/configure_multidex.py ('k') | build/android/gyp/create_device_library_links.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698