Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Side by Side Diff: third_party/kasko/BUILD.gn

Issue 2621363002: Remove Kasko! (Closed)
Patch Set: Rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « testing/scripts/syzyasan_integration_tests.py ('k') | third_party/kasko/OWNERS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//build/buildflag_header.gni")
6 import("//build/config/chrome_build.gni")
7 import("//third_party/kasko/kasko.gni")
8
9 buildflag_header("kasko_features") {
10 header = "kasko_features.h"
11 flags = [ "ENABLE_KASKO=$enable_kasko" ]
12 }
13
14 if (enable_kasko) {
15 assert(is_win, "Kasko only support Windows.")
16 assert(target_cpu == "x86", "Kasko only support 32 bits.")
17
18 # TODO(sebmarchand): Fix this once the Kasko dependency in SyzyAsan has been
19 # removed for the non-official builds.
20 #assert(is_chrome_branded,
21 # "The Kasko client is only initialized in Chrome-branded builds.")
22
23 config("kasko_config") {
24 visibility = [ ":*" ]
25 include_dirs = [ "//third_party/kasko/binaries/include" ]
26 lib_dirs = [ "//third_party/kasko/binaries" ]
27 libs = [ "kasko.dll.lib" ]
28 }
29
30 copy("copy_kasko_dll") {
31 visibility = [ ":*" ]
32 sources = [
33 "//third_party/kasko/binaries/kasko.dll",
34 "//third_party/kasko/binaries/kasko.dll.pdb",
35 ]
36 outputs = [
37 "$root_out_dir/{{source_file_part}}",
38 ]
39 }
40
41 group("kasko") {
42 public_deps = [
43 ":copy_kasko_dll",
44 ":kasko_features",
45 ]
46 public_configs = [ ":kasko_config" ]
47 }
48 } else {
49 group("kasko") {
50 public_deps = [
51 ":kasko_features",
52 ]
53 }
54 }
OLDNEW
« no previous file with comments | « testing/scripts/syzyasan_integration_tests.py ('k') | third_party/kasko/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698