From 96075b7eeeef64063186d743d1fa36e6de494a6e Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Fri, 28 Jul 2017 11:11:08 +0300 Subject: [PATCH 2/5] Don't compile unnecessary stuff --- Makefile | 9 ++------- gypfiles/all.gyp | 33 --------------------------------- 2 files changed, 2 insertions(+), 40 deletions(-) diff --git a/Makefile b/Makefile index eb146ac244..902832af48 100644 --- a/Makefile +++ b/Makefile @@ -268,14 +268,9 @@ ANDROID_ARCHES = android_ia32 android_x64 android_arm android_arm64 \ android_mipsel # List of files that trigger Makefile regeneration: -GYPFILES = third_party/icu/icu.gypi third_party/icu/icu.gyp \ - gypfiles/shim_headers.gypi gypfiles/features.gypi \ - gypfiles/standalone.gypi \ +GYPFILES = gypfiles/features.gypi gypfiles/standalone.gypi \ gypfiles/toolchain.gypi gypfiles/all.gyp gypfiles/mac/asan.gyp \ - test/cctest/cctest.gyp test/fuzzer/fuzzer.gyp \ - test/unittests/unittests.gyp src/v8.gyp \ - tools/parser-shell.gyp testing/gmock.gyp testing/gtest.gyp \ - samples/samples.gyp src/third_party/vtune/v8vtune.gyp src/d8.gyp + src/v8.gyp src/d8.gyp # If vtunejit=on, the v8vtune.gyp will be appended. ifeq ($(vtunejit), on) diff --git a/gypfiles/all.gyp b/gypfiles/all.gyp index bc9d9650eb..96820a0ecc 100644 --- a/gypfiles/all.gyp +++ b/gypfiles/all.gyp @@ -9,8 +9,6 @@ 'type': 'none', 'dependencies': [ '../src/d8.gyp:d8', - '../test/inspector/inspector.gyp:*', - '../test/mkgrokdump/mkgrokdump.gyp:*', ], 'conditions': [ ['component!="shared_library"', { @@ -18,37 +16,6 @@ '../tools/parser-shell.gyp:parser-shell', ], }], - # These items don't compile for Android on Mac. - ['host_os!="mac" or OS!="android"', { - 'dependencies': [ - '../samples/samples.gyp:*', - '../test/cctest/cctest.gyp:*', - '../test/fuzzer/fuzzer.gyp:*', - '../test/unittests/unittests.gyp:*', - ], - }], - ['test_isolation_mode != "noop"', { - 'dependencies': [ - '../test/bot_default.gyp:*', - '../test/benchmarks/benchmarks.gyp:*', - '../test/debugger/debugger.gyp:*', - '../test/default.gyp:*', - '../test/intl/intl.gyp:*', - '../test/message/message.gyp:*', - '../test/mjsunit/mjsunit.gyp:*', - '../test/mozilla/mozilla.gyp:*', - '../test/optimize_for_size.gyp:*', - '../test/perf.gyp:*', - '../test/preparser/preparser.gyp:*', - '../test/test262/test262.gyp:*', - '../test/webkit/webkit.gyp:*', - '../tools/check-static-initializers.gyp:*', - '../tools/gcmole/run_gcmole.gyp:*', - '../tools/jsfunfuzz/jsfunfuzz.gyp:*', - '../tools/run-deopt-fuzzer.gyp:*', - '../tools/run-valgrind.gyp:*', - ], - }], ] } ] -- 2.14.3