forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add installer_util_unittests to the GN windows build
This fixes some C++ Warnings on Windows to avoid having to add suppressions to the GN build. Moves the generated strings header to the same place in the gen tree as it is in the source tree. Update includes. CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:android_chromium_gn_compile_dbg,android_chromium_gn_compile_rel;tryserver.chromium.win:win8_chromium_gn_rel,win8_chromium_gn_dbg;tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg Review URL: https://codereview.chromium.org/1062743006 Cr-Commit-Position: refs/heads/master@{#327790}
- Loading branch information
brettw
authored and
Commit bot
committed
Apr 30, 2015
1 parent
5ba4490
commit cb55755
Showing
26 changed files
with
194 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Copyright 2015 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("//testing/test.gni") | ||
|
||
assert(is_win) | ||
|
||
executable("alternate_version_generator") { | ||
testonly = true | ||
sources = [ | ||
"alternate_version_generator_main.cc", | ||
] | ||
|
||
deps = [ | ||
":alternate_version_generator_lib", | ||
"//base", | ||
"//base/test:test_support", | ||
"//chrome/common:constants", | ||
"//chrome/installer/util", | ||
"//testing/gtest", | ||
] | ||
} | ||
|
||
source_set("alternate_version_generator_lib") { | ||
testonly = true | ||
sources = [ | ||
"alternate_version_generator.cc", | ||
"alternate_version_generator.h", | ||
"pe_image_resources.cc", | ||
"pe_image_resources.h", | ||
"resource_loader.cc", | ||
"resource_loader.h", | ||
"resource_updater.cc", | ||
"resource_updater.h", | ||
] | ||
deps = [ | ||
"//base", | ||
"//chrome/installer/util", | ||
"//chrome/common:constants", | ||
] | ||
} | ||
|
||
test("upgrade_test") { | ||
sources = [ | ||
"run_all_tests.cc", | ||
"upgrade_test.cc", | ||
] | ||
deps = [ | ||
":alternate_version_generator_lib", | ||
"//base", | ||
"//base/test:test_support", | ||
"//chrome/common:constants", | ||
"//chrome/installer/util", | ||
"//testing/gtest", | ||
] | ||
data_deps = [ | ||
# 'mini_installer.gyp:mini_installer', TODO(GYP) | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.