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

Unified Diff: build/config/compiler/BUILD.gn

Issue 2964133002: Exclude Observatory assets from PRODUCT build dart, dart_precompiled_runtime (Closed)
Patch Set: Addressed comments Created 3 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
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | runtime/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index d651e4ff719c5462e9d2a899a8d7d1e1d831fbc9..52256f5dfc047fb9b499b7b21741ddd01a9a1538 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -75,10 +75,13 @@ config("compiler") {
# so we do so here. Normal function visibility is controlled by
# //build/config/gcc:symbol_visibility_hidden.
"-fvisibility-inlines-hidden",
-
- # We need the frame pointer for CPU and heap profiling.
- "-fno-omit-frame-pointer",
]
+ if (!is_product) {
+ common_flags += [
+ # We need the frame pointer for CPU and heap profiling.
+ "-fno-omit-frame-pointer",
+ ]
+ }
cflags_cc += common_flags
cflags_objcc += common_flags
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | runtime/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698