Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f7881ad authored by Yoshisato Yanagisawa's avatar Yoshisato Yanagisawa Committed by android-build-merger
Browse files

Merge "Remove Goma resource check code." am: 3ca411b1 am: 7c7d4e96

am: c19d0f79

Change-Id: I9b88b609e1754ac355a57c54769156cda27c8250
parents 7f38ceeb c19d0f79
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -16,17 +16,6 @@

# Notice: this works only with Google's Goma build infrastructure.
ifneq ($(filter-out false,$(USE_GOMA)),)
  # Goma requires a lot of processes and file descriptors.
  # TODO(yyanagisawa): move these code to build/soong/uil/build/goma.go
  ifeq ($(shell echo $$(($$(ulimit -u) < 2500 || $$(ulimit -n) < 16000))),1)
    $(warning Max user processes and/or open files are insufficient)
    ifeq ($(shell uname),Darwin)
      $(error See go/ma/how-to-use-goma/how-to-use-goma-for-android to relax the limit)
    else
      $(error Adjust the limit by ulimit -u and ulimit -n)
    endif
  endif

  ifdef GOMA_DIR
    goma_dir := $(GOMA_DIR)
  else