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

Unified Diff: tools/android/md5sum/BUILD.gn

Issue 1363793002: Port the order_profiling GYP flag to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: tools/android/md5sum/BUILD.gn
diff --git a/tools/android/md5sum/BUILD.gn b/tools/android/md5sum/BUILD.gn
index 0e5b2216a2199e2cea02465638ad581897f799a1..8b7f637fc7dcfd6582b6a49f210b6549f9b205ac 100644
--- a/tools/android/md5sum/BUILD.gn
+++ b/tools/android/md5sum/BUILD.gn
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/android/config.gni")
+
# GYP: //tools/android/md5sum/md5sum.gyp:md5sum
group("md5sum") {
data_deps = [
@@ -23,12 +25,9 @@ executable("md5sum_bin") {
"//build/config/sanitizers:deps",
]
- # TODO(GYP)
- #'conditions': [
- #[ 'order_profiling!=0 and OS=="android"', {
- #'dependencies': [ '../../../tools/cygprofile/cygprofile.gyp:cygprofile', ],
- #}],
- #],
+ if (is_android && order_profiling) {
+ deps += [ "//tools/cygprofile" ]
+ }
}
if (current_toolchain == default_toolchain) {

Powered by Google App Engine
This is Rietveld 408576698