Skip to content

Commit

Permalink
GN: Add assert that ash/BUILD.gn referenced only on supported platforms
Browse files Browse the repository at this point in the history
This helps to ensure that targets not supported on a platform are not included in the "all" target.

BUG=None

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

Cr-Commit-Position: refs/heads/master@{#367472}
  • Loading branch information
agrieve authored and Commit bot committed Jan 5, 2016
1 parent b971058 commit c9ff7c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ash/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import("//build/config/features.gni")
import("//build/config/ui.gni")
import("//testing/test.gni")

assert(use_ash)

gypi_values = exec_script("//build/gypi_to_gn.py",
[ rebase_path("ash.gyp") ],
"scope",
Expand Down

0 comments on commit c9ff7c9

Please sign in to comment.