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

Side by Side Diff: tools/linux_dist_support/debian/rules

Issue 2995203002: Change debian package build rules to drop GYP (Closed)
Patch Set: Created 3 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/make -f 1 #!/usr/bin/make -f
2 export DH_VERBOSE = 1 2 export DH_VERBOSE = 1
3 3
4 # Use DEB_BUILD_OPTIONS's parallel=n option (see Policy 4.9.1) 4 # Use DEB_BUILD_OPTIONS's parallel=n option (see Policy 4.9.1)
5 ifneq (,$(findstring parallel,$(DEB_BUILD_OPTIONS))) 5 ifneq (,$(findstring parallel,$(DEB_BUILD_OPTIONS)))
6 PARALLEL_JOBS := $(shell echo $(DEB_BUILD_OPTIONS) | \ 6 PARALLEL_JOBS := $(shell echo $(DEB_BUILD_OPTIONS) | \
7 sed -e 's/.*parallel=\([0-9]\+\).*/\1/') 7 sed -e 's/.*parallel=\([0-9]\+\).*/\1/')
8 else 8 else
9 PARALLEL_JOBS := 1 9 PARALLEL_JOBS := 1
10 endif 10 endif
(...skipping 29 matching lines...) Expand all
40 40
41 override_dh_auto_clean: 41 override_dh_auto_clean:
42 echo $(DEB_BUILD_OPTIONS) 42 echo $(DEB_BUILD_OPTIONS)
43 rm -fr dart/out dart/Makefile 43 rm -fr dart/out dart/Makefile
44 find . -name *.tmp -execdir rm -f {} \; 44 find . -name *.tmp -execdir rm -f {} \;
45 find . -name *.pyc -execdir rm -f {} \; 45 find . -name *.pyc -execdir rm -f {} \;
46 find . -name *.mk -execdir rm -f {} \; 46 find . -name *.mk -execdir rm -f {} \;
47 find . -name *.Makefile -execdir rm -f {} \; 47 find . -name *.Makefile -execdir rm -f {} \;
48 48
49 override_dh_auto_configure: 49 override_dh_auto_configure:
50 » GYP_GENERATORS=make python dart/tools/gyp_dart.py all 50 » python dart/tools/generate_buildfiles.py
51 51
52 override_dh_auto_build: 52 override_dh_auto_build:
53 cd dart; \ 53 cd dart; \
54 python tools/build.py -v -m release -a $(ARCH) $(TOOLCHAIN) create_sdk; \ 54 python tools/build.py -v -m release -a $(ARCH) $(TOOLCHAIN) create_sdk; \
55 cd .. 55 cd ..
56 56
57 # Building the Dart SDK will already strip all binaries. 57 # Building the Dart SDK will already strip all binaries.
58 override_dh_strip: 58 override_dh_strip:
59 59
60 # This override allows us to ignore spurious missing library errors when 60 # This override allows us to ignore spurious missing library errors when
61 # cross-compiling. 61 # cross-compiling.
62 override_dh_shlibdeps: 62 override_dh_shlibdeps:
63 dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info 63 dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
64 64
65 override_dh_auto_install: 65 override_dh_auto_install:
66 mkdir -p debian/tmp/out 66 mkdir -p debian/tmp/out
67 cp -R dart/out/$(BUILD_TYPE)/dart-sdk debian/tmp/out 67 cp -R dart/out/$(BUILD_TYPE)/dart-sdk debian/tmp/out
68 mv debian/tmp/out/dart-sdk debian/tmp/out/dart 68 mv debian/tmp/out/dart-sdk debian/tmp/out/dart
69 dh_install 69 dh_install
70 dh_link 70 dh_link
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698