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

Side by Side Diff: chrome/install_static/BUILD.gn

Issue 1841573002: [Chrome ELF] New NT registry API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: PRESUBMIT to allow chrome_elf directory files to use wstring. Created 4 years, 5 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 | « chrome/chrome_installer_static.gypi ('k') | chrome/install_static/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 assert(is_win) 8 assert(is_win)
9 9
10 # This file only contains utility functions which must only depend on kernel32 10 # This file only contains utility functions which must only depend on kernel32.
11 # and advapi32. Please don't add dependencies on other system libraries. 11 # Please don't add dependencies on other system libraries.
12 static_library("install_static_util") { 12 static_library("install_static_util") {
13 public_deps = [
14 "//chrome_elf/nt_registry:nt_registry",
15 ]
16
13 sources = [ 17 sources = [
14 "install_util.cc", 18 "install_util.cc",
15 "install_util.h", 19 "install_util.h",
16 ] 20 ]
17 21
18 deps = [ 22 libs = [ "kernel32.lib" ]
19 "//base",
20 ]
21
22 libs = [
23 "kernel32.lib",
24 "advapi32.lib",
25 ]
26 23
27 configs += [ 24 configs += [
28 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 25 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
29 "//build/config/compiler:no_size_t_to_int_warning", 26 "//build/config/compiler:no_size_t_to_int_warning",
30 ] 27 ]
31 } 28 }
32 29
33 test("install_static_unittests") { 30 test("install_static_unittests") {
34 output_name = "install_static_unittests" 31 output_name = "install_static_unittests"
35 sources = [ 32 sources = [
36 "install_util_unittest.cc", 33 "install_util_unittest.cc",
37 ] 34 ]
38 include_dirs = [ "$target_gen_dir" ] 35 include_dirs = [ "$target_gen_dir" ]
39 deps = [ 36 deps = [
40 "//base", 37 "//base",
41 "//base/test:run_all_unittests", 38 "//base/test:run_all_unittests",
42 "//base/test:test_support", 39 "//base/test:test_support",
43 "//chrome/install_static:install_static_util", 40 "//chrome/install_static:install_static_util",
44 "//testing/gmock", 41 "//testing/gmock",
45 "//testing/gtest", 42 "//testing/gtest",
46 ] 43 ]
47 } 44 }
OLDNEW
« no previous file with comments | « chrome/chrome_installer_static.gypi ('k') | chrome/install_static/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698