| # Copyright (c) 2019 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/config/jumbo.gni") |
| |
| # Change this target's type to jumbo_component if it starts to contain more than |
| # just headers. Header-only targets cannot be compiled to libraries, so it must |
| # remain a source_set for now. |
| source_set("type-safety") { |
| sources = [ |
| "id_type.h", |
| ] |
| } |
| |
| source_set("tests") { |
| testonly = true |
| sources = [ |
| "id_type_unittest.cc", |
| ] |
| |
| deps = [ |
| ":type-safety", |
| "//testing/gtest", |
| ] |
| } |