make/hotspot/lib/CompileGtest.gmk
author ihse
Thu, 17 Oct 2019 11:37:36 +0200
branchihse-cflags-rewrite-branch
changeset 58666 50a4f2770d1f
parent 58665 30a5049a36bb
permissions -rw-r--r--
Make it compile again. (Mostly remove logical-op).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
38255
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
     1
#
55049
4853b1ceb3d6 8222414: bring googlemock v1.8.1
iignatyev
parents: 54913
diff changeset
     2
# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
38255
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
     4
#
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    10
#
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    15
# accompanied this code).
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    16
#
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    20
#
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    23
# questions.
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    24
#
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    25
47314
743814386712 8188814: Simplify IncludeCustomExtension
ihse
parents: 47217
diff changeset
    26
$(eval $(call IncludeCustomExtension, hotspot/lib/CompileGtest.gmk))
39393
93730d02bec3 8159340: Add extension to CompileGtest.gmk
ehelin
parents: 38636
diff changeset
    27
47217
72e3ae9a25eb 8187444: Forest Consolidation: Make build work
erikj
parents: 47216
diff changeset
    28
GTEST_TEST_SRC += $(TOPDIR)/test/hotspot/gtest
72e3ae9a25eb 8187444: Forest Consolidation: Make build work
erikj
parents: 47216
diff changeset
    29
GTEST_LAUNCHER_SRC := $(TOPDIR)/test/hotspot/gtest/gtestLauncher.cpp
72e3ae9a25eb 8187444: Forest Consolidation: Make build work
erikj
parents: 47216
diff changeset
    30
GTEST_FRAMEWORK_SRC := $(TOPDIR)/test/fmw/gtest
38255
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    31
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    32
# On Windows, there are no internal debug symbols so must set copying to true
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    33
# to get any at all.
53683
48ff68e2fe5c 8218431: Improved platform checking in makefiles
ihse
parents: 51839
diff changeset
    34
ifeq ($(call isTargetOs, windows), true)
38255
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    35
  GTEST_COPY_DEBUG_SYMBOLS := true
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    36
else
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    37
  GTEST_COPY_DEBUG_SYMBOLS := false
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    38
endif
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    39
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    40
################################################################################
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    41
53683
48ff68e2fe5c 8218431: Improved platform checking in makefiles
ihse
parents: 51839
diff changeset
    42
ifeq ($(call isTargetOs, windows), true)
38255
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    43
  GTEST_JVM_MAPFILE := $(JVM_MAPFILE)
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    44
else
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    45
  GTEST_JVM_MAPFILE := $(JVM_OUTPUTDIR)/gtest/mapfile
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    46
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    47
  $(JVM_OUTPUTDIR)/gtest/symbols: $(JVM_OUTPUTDIR)/symbols
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    48
	$(call MakeDir, $(@D))
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    49
	( $(CAT) $< ; echo "runUnitTests" ) > $@
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    50
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    51
  $(GTEST_JVM_MAPFILE): $(JVM_OUTPUTDIR)/gtest/symbols
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    52
	$(call create-mapfile)
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    53
endif
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    54
46630
75aa3e39d02c 8182299: Enable disabled clang warnings, build on OSX 10 + Xcode 8
jwilhelm
parents: 42901
diff changeset
    55
# Disabling undef, switch, format-nonliteral and tautological-undefined-compare
75aa3e39d02c 8182299: Enable disabled clang warnings, build on OSX 10 + Xcode 8
jwilhelm
parents: 42901
diff changeset
    56
# warnings for clang because of test source.
38255
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    57
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    58
$(eval $(call SetupNativeCompilation, BUILD_GTEST_LIBJVM, \
49070
d7859531621b 8198751: Refactor SetupNativeCompilation to take NAME and TYPE
ihse
parents: 49024
diff changeset
    59
    NAME := jvm, \
41193
9e274c9c3047 8160630: libjimage.so and others should link statically to libgcc
erikj
parents: 39991
diff changeset
    60
    TOOLCHAIN := TOOLCHAIN_LINK_CXX, \
38255
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    61
    OUTPUT_DIR := $(JVM_OUTPUTDIR)/gtest, \
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    62
    OBJECT_DIR := $(JVM_OUTPUTDIR)/gtest/objs, \
38636
0a04aee4e7a6 8157325: gtest tests are not excluded for minimal builds
ehelin
parents: 38255
diff changeset
    63
    SRC := $(GTEST_TEST_SRC), \
0a04aee4e7a6 8157325: gtest tests are not excluded for minimal builds
ehelin
parents: 38255
diff changeset
    64
    EXCLUDES := $(JVM_EXCLUDES), \
0a04aee4e7a6 8157325: gtest tests are not excluded for minimal builds
ehelin
parents: 38255
diff changeset
    65
    EXCLUDE_FILES := gtestLauncher.cpp, \
0a04aee4e7a6 8157325: gtest tests are not excluded for minimal builds
ehelin
parents: 38255
diff changeset
    66
    EXCLUDE_PATTERNS := $(JVM_EXCLUDE_PATTERNS), \
55049
4853b1ceb3d6 8222414: bring googlemock v1.8.1
iignatyev
parents: 54913
diff changeset
    67
    EXTRA_FILES := \
4853b1ceb3d6 8222414: bring googlemock v1.8.1
iignatyev
parents: 54913
diff changeset
    68
        $(GTEST_FRAMEWORK_SRC)/googletest/src/gtest-all.cc \
4853b1ceb3d6 8222414: bring googlemock v1.8.1
iignatyev
parents: 54913
diff changeset
    69
        $(GTEST_FRAMEWORK_SRC)/googlemock/src/gmock-all.cc, \
38255
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    70
    EXTRA_OBJECT_FILES := $(filter-out %/operator_new$(OBJ_SUFFIX), \
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    71
        $(BUILD_LIBJVM_ALL_OBJS)), \
55049
4853b1ceb3d6 8222414: bring googlemock v1.8.1
iignatyev
parents: 54913
diff changeset
    72
    CFLAGS := $(JVM_CFLAGS) \
4853b1ceb3d6 8222414: bring googlemock v1.8.1
iignatyev
parents: 54913
diff changeset
    73
        -I$(GTEST_FRAMEWORK_SRC)/googletest \
4853b1ceb3d6 8222414: bring googlemock v1.8.1
iignatyev
parents: 54913
diff changeset
    74
        -I$(GTEST_FRAMEWORK_SRC)/googletest/include \
4853b1ceb3d6 8222414: bring googlemock v1.8.1
iignatyev
parents: 54913
diff changeset
    75
        -I$(GTEST_FRAMEWORK_SRC)/googlemock \
4853b1ceb3d6 8222414: bring googlemock v1.8.1
iignatyev
parents: 54913
diff changeset
    76
        -I$(GTEST_FRAMEWORK_SRC)/googlemock/include \
39393
93730d02bec3 8159340: Add extension to CompileGtest.gmk
ehelin
parents: 38636
diff changeset
    77
        $(addprefix -I,$(GTEST_TEST_SRC)), \
41465
2b9154b407e6 8167424: Various trivial fixes in build system
ihse
parents: 41193
diff changeset
    78
    CFLAGS_windows := -EHsc, \
38255
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    79
    CFLAGS_solaris := -DGTEST_HAS_EXCEPTIONS=0 -library=stlport4, \
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
    80
    CFLAGS_macosx := -DGTEST_OS_MAC=1, \
51839
ab54a4d61d7f 8210988: Improved handling of compiler warnings in the build
ihse
parents: 50550
diff changeset
    81
    DISABLED_WARNINGS_gcc := $(DISABLED_WARNINGS_gcc) \
58665
30a5049a36bb Merge from default (huge)
ihse
parents: 56900 55049
diff changeset
    82
        undef \
30a5049a36bb Merge from default (huge)
ihse
parents: 56900 55049
diff changeset
    83
        \
30a5049a36bb Merge from default (huge)
ihse
parents: 56900 55049
diff changeset
    84
        suggest-attribute=format unknown-pragmas comment \
56238
c4bda870c926 First pass at getting gcc warnings right.
ihse
parents: 56237
diff changeset
    85
        delete-non-virtual-dtor ignored-qualifiers parentheses reorder \
c4bda870c926 First pass at getting gcc warnings right.
ihse
parents: 56237
diff changeset
    86
        unused-local-typedefs unused-variable address \
c4bda870c926 First pass at getting gcc warnings right.
ihse
parents: 56237
diff changeset
    87
        missing-field-initializers unused-but-set-variable char-subscripts \
56248
b61bf4510be2 Now I really confirm this compiles without warnings on gcc 7.2.0, 6.3.0, 5.4.1, 4.9.2, 4.8.5.
ihse
parents: 56245
diff changeset
    88
        array-bounds narrowing empty-body unused-but-set-parameter undef \
58666
50a4f2770d1f Make it compile again. (Mostly remove logical-op).
ihse
parents: 58665
diff changeset
    89
        maybe-uninitialized \
56248
b61bf4510be2 Now I really confirm this compiles without warnings on gcc 7.2.0, 6.3.0, 5.4.1, 4.9.2, 4.8.5.
ihse
parents: 56245
diff changeset
    90
        implicit-fallthrough expansion-to-defined, \
51839
ab54a4d61d7f 8210988: Improved handling of compiler warnings in the build
ihse
parents: 50550
diff changeset
    91
    DISABLED_WARNINGS_clang := $(DISABLED_WARNINGS_clang) \
54711
297ddf282627 8223309: test failing due to self-assign-overloaded
erikj
parents: 54490
diff changeset
    92
        undef switch format-nonliteral tautological-undefined-compare \
58665
30a5049a36bb Merge from default (huge)
ihse
parents: 56900 55049
diff changeset
    93
        self-assign-overloaded \
30a5049a36bb Merge from default (huge)
ihse
parents: 56900 55049
diff changeset
    94
        \
30a5049a36bb Merge from default (huge)
ihse
parents: 56900 55049
diff changeset
    95
        undef switch format-nonliteral \
39394
044a0eb96215 8159364: Gtest unit tests does not support PCH
ehelin
parents: 39393
diff changeset
    96
        tautological-undefined-compare $(BUILD_LIBJVM_DISABLED_WARNINGS_clang), \
51839
ab54a4d61d7f 8210988: Improved handling of compiler warnings in the build
ihse
parents: 50550
diff changeset
    97
    DISABLED_WARNINGS_solstudio := $(DISABLED_WARNINGS_solstudio) \
ab54a4d61d7f 8210988: Improved handling of compiler warnings in the build
ihse
parents: 50550
diff changeset
    98
        identexpected, \
49024
953b3fd36b08 8196997: VS2017 The non-Standard std::tr1 namespace and TR1-only machinery are deprecated and will be removed
lfoltan
parents: 47314
diff changeset
    99
    DISABLED_WARNINGS_CXX_microsoft := 4996, \
38255
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   100
    LDFLAGS := $(JVM_LDFLAGS), \
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   101
    LDFLAGS_solaris := -library=stlport4 $(call SET_SHARED_LIBRARY_ORIGIN), \
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   102
    LIBS := $(JVM_LIBS), \
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   103
    OPTIMIZATION := $(JVM_OPTIMIZATION), \
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   104
    MAPFILE := $(GTEST_JVM_MAPFILE), \
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   105
    USE_MAPFILE_FOR_SYMBOLS := true, \
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   106
    COPY_DEBUG_SYMBOLS := $(GTEST_COPY_DEBUG_SYMBOLS), \
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   107
    ZIP_EXTERNAL_DEBUG_SYMBOLS := false, \
42885
d85e387adbb6 8171310: Gtest libjvm.so is always stripped
erikj
parents: 42542
diff changeset
   108
    STRIP_SYMBOLS := false, \
39394
044a0eb96215 8159364: Gtest unit tests does not support PCH
ehelin
parents: 39393
diff changeset
   109
    PRECOMPILED_HEADER := $(JVM_PRECOMPILED_HEADER), \
55049
4853b1ceb3d6 8222414: bring googlemock v1.8.1
iignatyev
parents: 54913
diff changeset
   110
    PRECOMPILED_HEADER_EXCLUDE := gtest-all.cc gmock-all.cc gtestMain.cpp, \
54490
bf07e140c49c 8221851: Use of THIS_FILE in hotspot invalidates precompiled header on Linux/GCC
erikj
parents: 53683
diff changeset
   111
    DEFINE_THIS_FILE := false, \
38255
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   112
))
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   113
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   114
TARGETS += $(BUILD_GTEST_LIBJVM)
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   115
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   116
################################################################################
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   117
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   118
$(eval $(call SetupNativeCompilation, BUILD_GTEST_LAUNCHER, \
41193
9e274c9c3047 8160630: libjimage.so and others should link statically to libgcc
erikj
parents: 39991
diff changeset
   119
    TOOLCHAIN := TOOLCHAIN_LINK_CXX, \
49070
d7859531621b 8198751: Refactor SetupNativeCompilation to take NAME and TYPE
ihse
parents: 49024
diff changeset
   120
    NAME := gtestLauncher, \
d7859531621b 8198751: Refactor SetupNativeCompilation to take NAME and TYPE
ihse
parents: 49024
diff changeset
   121
    TYPE := EXECUTABLE, \
38255
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   122
    OUTPUT_DIR := $(JVM_OUTPUTDIR)/gtest, \
39393
93730d02bec3 8159340: Add extension to CompileGtest.gmk
ehelin
parents: 38636
diff changeset
   123
    EXTRA_FILES := $(GTEST_LAUNCHER_SRC), \
38255
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   124
    OBJECT_DIR := $(JVM_OUTPUTDIR)/gtest/launcher-objs, \
55049
4853b1ceb3d6 8222414: bring googlemock v1.8.1
iignatyev
parents: 54913
diff changeset
   125
    CFLAGS := $(JVM_CFLAGS) \
4853b1ceb3d6 8222414: bring googlemock v1.8.1
iignatyev
parents: 54913
diff changeset
   126
        -I$(GTEST_FRAMEWORK_SRC)/googletest \
4853b1ceb3d6 8222414: bring googlemock v1.8.1
iignatyev
parents: 54913
diff changeset
   127
        -I$(GTEST_FRAMEWORK_SRC)/googletest/include \
4853b1ceb3d6 8222414: bring googlemock v1.8.1
iignatyev
parents: 54913
diff changeset
   128
        -I$(GTEST_FRAMEWORK_SRC)/googlemock \
4853b1ceb3d6 8222414: bring googlemock v1.8.1
iignatyev
parents: 54913
diff changeset
   129
        -I$(GTEST_FRAMEWORK_SRC)/googlemock/include, \
39991
d89a486fa0d2 8161915: Linking gtestLauncher may end up linking with non-gtest libjvm
mgerdin
parents: 39394
diff changeset
   130
    LDFLAGS := $(LDFLAGS_JDKEXE), \
38255
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   131
    LDFLAGS_unix := -L$(JVM_OUTPUTDIR)/gtest $(call SET_SHARED_LIBRARY_ORIGIN), \
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   132
    LDFLAGS_solaris := -library=stlport4, \
42542
e8d67bf2f2de 8169255: Link gtestLauncher statically if libjvm is configured for static linking
erikj
parents: 41465
diff changeset
   133
    LIBS_linux := $(LIBCXX), \
38255
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   134
    LIBS_unix := -ljvm, \
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   135
    LIBS_windows := $(JVM_OUTPUTDIR)/gtest/objs/jvm.lib, \
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   136
    COPY_DEBUG_SYMBOLS := $(GTEST_COPY_DEBUG_SYMBOLS), \
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   137
    ZIP_EXTERNAL_DEBUG_SYMBOLS := false, \
54490
bf07e140c49c 8221851: Use of THIS_FILE in hotspot invalidates precompiled header on Linux/GCC
erikj
parents: 53683
diff changeset
   138
    DEFINE_THIS_FILE := false, \
38255
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   139
))
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   140
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   141
$(BUILD_GTEST_LAUNCHER): $(BUILD_GTEST_LIBJVM)
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   142
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   143
TARGETS += $(BUILD_GTEST_LAUNCHER)
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   144
5784bccf53b0 8148244: Finalize and integrate GTest implementation
iignatyev
parents:
diff changeset
   145
################################################################################