Skip to content

Commit

Permalink
Mark the root GN build target as test only.
Browse files Browse the repository at this point in the history
This will allow us to mark other things as tests as well.

Review URL: https://codereview.chromium.org/536203002

Cr-Commit-Position: refs/heads/master@{#293309}
  • Loading branch information
brettw authored and Commit bot committed Sep 4, 2014
1 parent c104731 commit b80a148
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ import("//build/config/ui.gni")

# In GN, a "group" is a dummy target that just lists other targets.
group("root") {
# This should not be linked into production and depends on test targets.
testonly = true

# Note that some dependencies are commented out. These are things that are
# currently written but not hooked up to the build yet. They may need to be
# completed or possibly just tested and then re-enabled.
Expand Down

0 comments on commit b80a148

Please sign in to comment.