[csw-devel] SF.net SVN: gar:[7405] csw/mgar/pkg/chromium/trunk/Makefile

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Tue Nov 24 16:27:07 CET 2009


Revision: 7405
          http://gar.svn.sourceforge.net/gar/?rev=7405&view=rev
Author:   wahwah
Date:     2009-11-24 15:27:07 +0000 (Tue, 24 Nov 2009)

Log Message:
-----------
chromium: got past the gclient runhooks stage. Stuck at ffmpeg.

Modified Paths:
--------------
    csw/mgar/pkg/chromium/trunk/Makefile

Modified: csw/mgar/pkg/chromium/trunk/Makefile
===================================================================
--- csw/mgar/pkg/chromium/trunk/Makefile	2009-11-24 12:32:55 UTC (rev 7404)
+++ csw/mgar/pkg/chromium/trunk/Makefile	2009-11-24 15:27:07 UTC (rev 7405)
@@ -176,12 +176,49 @@
 ## The compiler to use. Defaults to SOS11, can be also: SOS12, GCC3, GCC4.
 ## GARCOMPILER = SOS11
 ##
+
+GYP_GENERATORS = make
+export GYP_GENERATORS
+
+WORKSRC = $(WORKDIR)/home/chrome-svn/tarball/chromium
+CHROMIUM_ROOT = $(WORKSRC)
+
+EXTRA_PKG_CONFIG_DIRS = $(prefix)/X11/lib
+
+GARCOMPILER = GNU
+
 include gar/category.mk
 
-configure-chromium: depot-tools
-	false
+$(WORKSRC)/.gclient:
+	(cd $(WORKSRC) && \
+		PATH=$$PATH:$(abspath $(WORKDIR)/depot_tools) \
+		GYP_GENERATORS=make \
+	gclient config http://src.chromium.org/svn/trunk/src)
+
+# Skipping gclient sync for now; running only gclient runhooks.  The build
+# instructions say that we'll miss on some platform-specific depends, but
+# I don't think there's anything platform-specific for Solaris in the source
+# code repository.
+
+configure-chromium: depot-tools gclient-runhooks
 	@$(MAKECOOKIE)
 
+gclient-sync: $(WORKSRC)/.gclient
+	(cd $(WORKSRC) \
+		&& \
+		PATH=$$PATH:$(abspath $(WORKDIR)/depot_tools):/opt/csw/gcc4/bin \
+		GYP_GENERATORS=make \
+	gclient sync)
+	@$(MAKECOOKIE)
+
+gclient-runhooks: $(WORKSRC)/.gclient
+	(cd $(WORKSRC) \
+		&& \
+		PATH=$$PATH:$(abspath $(WORKDIR)/depot_tools):/opt/csw/gcc4/bin \
+		GYP_GENERATORS=make \
+	gclient runhooks --force)
+	@$(MAKECOOKIE)
+
 depot-tools:
 	(cd $(WORKDIR) \
 		&& \
@@ -192,3 +229,9 @@
 	 fi \
 	)
 	@$(MAKECOOKIE)
+
+build-chromium:
+	(cd $(CHROMIUM_ROOT)/src \
+		&& \
+	PATH=$$PATH:$(abspath $(WORKDIR)/depot_tools):/opt/csw/gcc4/bin \
+	gmake chrome)


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list