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

Unified Diff: chrome/chrome_installer_static.gypi

Issue 1904613002: Preparation patch for moving the chrome crashpad integration into chrome_elf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build error on Windows builder Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_exe.gypi ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_installer_static.gypi
diff --git a/chrome/chrome_installer_static.gypi b/chrome/chrome_installer_static.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..27a645c9036d50e711c9e2ef5ec0128f4625e342
--- /dev/null
+++ b/chrome/chrome_installer_static.gypi
@@ -0,0 +1,83 @@
+# Copyright 2016 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.
+
+# The install_static_util target should only depend on functions in kernel32
+# and advapi32. Please don't add dependencies on other system libraries.
+{
+ 'target_defaults': {
+ 'variables': {
+ 'installer_static_target': 0,
+ },
+ 'target_conditions': [
+ # This part is shared between the two versions of the target.
+ ['installer_static_target==1', {
+ 'sources': [
+ 'install_static/install_util.h',
+ 'install_static/install_util.cc',
+ ],
+ 'include_dirs': [
+ '<(DEPTH)',
+ ],
+ }],
+ ],
+ },
+ 'conditions': [
+ ['OS=="win"', {
+ 'targets': [
+ {
+ # GN version: //chrome/install_static
+ 'target_name': 'install_static_util',
+ 'type': 'static_library',
+ 'variables': {
+ 'installer_static_target': 1,
+ },
+ 'dependencies': [
+ 'installer_util_strings',
+ '<(DEPTH)/base/base.gyp:base',
+ ],
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ # Please don't add dependencies on other system libraries.
+ 'AdditionalDependencies': [
+ 'kernel32.lib',
+ 'advapi32.lib',
+ ],
+ },
+ },
+ },
+ ],
+ }],
+ ['OS=="win" and target_arch=="ia32"', {
+ 'targets': [
+ {
+ 'target_name': 'install_static_util_nacl_win64',
+ 'type': 'static_library',
+ 'variables': {
+ 'installer_static_target': 1,
+ },
+ 'dependencies': [
+ 'installer_util_strings',
+ ],
+ 'include_dirs': [
+ '<(SHARED_INTERMEDIATE_DIR)',
+ ],
+ 'configurations': {
+ 'Common_Base': {
+ 'msvs_target_platform': 'x64',
+ },
+ },
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ # Please don't add dependencies on other system libraries.
+ 'AdditionalDependencies': [
+ 'kernel32.lib',
+ 'advapi32.lib',
+ ],
+ },
+ },
+ },
+ ],
+ }],
+ ],
+}
« no previous file with comments | « chrome/chrome_exe.gypi ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698