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

Unified Diff: third_party/instrumented_libraries/standard_instrumented_package_target.gypi

Issue 361473002: Instrumented libraries: improve handling of custom patches. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use -i to pass filename to patch Created 6 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
Index: third_party/instrumented_libraries/standard_instrumented_package_target.gypi
diff --git a/third_party/instrumented_libraries/standard_instrumented_package_target.gypi b/third_party/instrumented_libraries/standard_instrumented_package_target.gypi
index 83b1eddae31c6ddfc114413349048c19b6808b74..195adabc9b166021b5c3246f44071e098848702e 100644
--- a/third_party/instrumented_libraries/standard_instrumented_package_target.gypi
+++ b/third_party/instrumented_libraries/standard_instrumented_package_target.gypi
@@ -27,6 +27,7 @@
'--extra-configure-flags=>(_extra_configure_flags)',
'--cflags=>(_package_cflags)',
'--ldflags=>(_package_ldflags)',
+ '--patch=>(_patch)',
'--run-before-build=>(_run_before_build)',
'--cc=<(_cc)',
'--cxx=<(_cxx)',
@@ -40,7 +41,19 @@
'--verbose',
],
}],
- ]
+ ],
+ 'target_conditions': [
+ ['">(_patch)"!=""', {
+ 'inputs+': [
+ '>(_patch)',
+ ],
+ }],
+ ['">(_run_before_build)"!=""', {
+ 'inputs+': [
+ '>(_run_before_build)',
+ ],
+ }],
+ ],
},
],
}
« no previous file with comments | « third_party/instrumented_libraries/scripts/pulseaudio.sh ('k') | third_party/instrumented_libraries/zlib1g.diff » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698