OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
| 5 import("//build/buildflag_header.gni") |
| 6 import("//components/signin/features.gni") |
| 7 |
| 8 buildflag_header("signin_features") { |
| 9 header = "signin_features.h" |
| 10 flags = [ |
| 11 "ENABLE_DICE_SUPPORT=$enable_dice_support", |
| 12 "ENABLE_MIRROR=$enable_mirror", |
| 13 ] |
| 14 } |
| 15 |
5 static_library("common") { | 16 static_library("common") { |
6 sources = [ | 17 sources = [ |
7 "profile_management_switches.cc", | 18 "profile_management_switches.cc", |
8 "profile_management_switches.h", | 19 "profile_management_switches.h", |
9 "signin_pref_names.cc", | 20 "signin_pref_names.cc", |
10 "signin_pref_names.h", | 21 "signin_pref_names.h", |
11 "signin_switches.cc", | 22 "signin_switches.cc", |
12 "signin_switches.h", | 23 "signin_switches.h", |
13 ] | 24 ] |
14 | 25 |
15 deps = [ | 26 deps = [ |
16 "//base", | 27 "//base", |
17 ] | 28 ] |
| 29 |
| 30 public_deps = [ |
| 31 ":signin_features", |
| 32 ] |
18 } | 33 } |
OLD | NEW |