Skip to content

Commit

Permalink
Add ReactBuildConfig.ENABLE_PERFETTO
Browse files Browse the repository at this point in the history
Summary:
Add entry for this flag in ReactBuildConfig

Changelog: [Internal]

Differential Revision: D68725330
  • Loading branch information
Thomas Nardone authored and facebook-github-bot committed Jan 27, 2025
1 parent 45cd63c commit e07da61
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ public object ReactBuildConfig {

@JvmField public val IS_INTERNAL_BUILD: Boolean = BuildConfig.IS_INTERNAL_BUILD

/**
* [true] if Perfetto was enabled on this build (`WITH_PERFETTO=1`), indicating it is a profiling
* build.
*/
@JvmField public val ENABLE_PERFETTO: Boolean = BuildConfig.ENABLE_PERFETTO

@JvmField public val EXOPACKAGE_FLAGS: Int = BuildConfig.EXOPACKAGE_FLAGS

/** [Experimental] Enable React Native DevTools in release builds. */
Expand Down

0 comments on commit e07da61

Please sign in to comment.