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

Issue 12395032: [NaCl SDK] Handle sources outside root in example build system (Closed)

Created:
7 years, 9 months ago by Sam Clegg
Modified:
7 years, 9 months ago
Reviewers:
noelallen1, binji
CC:
chromium-reviews, binji
Visibility:
Public.

Description

[NaCl SDK] Handle sources outside root in example build system. For example SOURCES = ../../some/other/place.cpp. The only problem here was creating an OBJ_DIR relative path in which to store the object file. This solution involves replacing .. with __. Also, some make syntax cleanups for consistency: - Use ifndef to check for empty variables - Don't quote operands to 'ifeq' - Always place ':' next to target name. - remove include of .d files for win32 builds (which do not generate them). BUG=None TEST=trybot Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186829

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -68 lines) Patch
M native_client_sdk/src/tools/common.mk View 1 2 3 9 chunks +38 lines, -20 lines 0 comments Download
M native_client_sdk/src/tools/host_gcc.mk View 1 2 3 5 chunks +10 lines, -11 lines 0 comments Download
M native_client_sdk/src/tools/host_vc.mk View 1 2 2 chunks +3 lines, -5 lines 0 comments Download
M native_client_sdk/src/tools/nacl_gcc.mk View 1 2 3 6 chunks +23 lines, -21 lines 1 comment Download
M native_client_sdk/src/tools/nacl_llvm.mk View 1 2 3 6 chunks +9 lines, -11 lines 1 comment Download

Messages

Total messages: 9 (0 generated)
Sam Clegg
7 years, 9 months ago (2013-03-05 00:46:04 UTC) #1
binji
probably should fix this for the other .mk files too. https://codereview.chromium.org/12395032/diff/2001/native_client_sdk/src/tools/nacl_gcc.mk File native_client_sdk/src/tools/nacl_gcc.mk (right): https://codereview.chromium.org/12395032/diff/2001/native_client_sdk/src/tools/nacl_gcc.mk#newcode47 ...
7 years, 9 months ago (2013-03-05 01:04:58 UTC) #2
Sam Clegg
Applied same fix for all toolchains. https://codereview.chromium.org/12395032/diff/2001/native_client_sdk/src/tools/nacl_gcc.mk File native_client_sdk/src/tools/nacl_gcc.mk (right): https://codereview.chromium.org/12395032/diff/2001/native_client_sdk/src/tools/nacl_gcc.mk#newcode47 native_client_sdk/src/tools/nacl_gcc.mk:47: # $2 = ...
7 years, 9 months ago (2013-03-05 20:05:40 UTC) #3
Sam Clegg
PTAL On 2013/03/05 20:05:40, Sam Clegg wrote: > Applied same fix for all toolchains. > ...
7 years, 9 months ago (2013-03-06 18:38:52 UTC) #4
noelallen1
https://codereview.chromium.org/12395032/diff/20001/native_client_sdk/src/tools/nacl_gcc.mk File native_client_sdk/src/tools/nacl_gcc.mk (right): https://codereview.chromium.org/12395032/diff/20001/native_client_sdk/src/tools/nacl_gcc.mk#newcode241 native_client_sdk/src/tools/nacl_gcc.mk:241: endef Keep a blank line. I've seen issues with ...
7 years, 9 months ago (2013-03-07 20:06:25 UTC) #5
noelallen1
On 2013/03/07 20:06:25, noelallen1 wrote: > https://codereview.chromium.org/12395032/diff/20001/native_client_sdk/src/tools/nacl_gcc.mk > File native_client_sdk/src/tools/nacl_gcc.mk (right): > > https://codereview.chromium.org/12395032/diff/20001/native_client_sdk/src/tools/nacl_gcc.mk#newcode241 > ...
7 years, 9 months ago (2013-03-07 20:12:35 UTC) #6
noelallen1
lgtm
7 years, 9 months ago (2013-03-07 20:12:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sbc@chromium.org/12395032/20001
7 years, 9 months ago (2013-03-07 21:32:54 UTC) #8
commit-bot: I haz the power
7 years, 9 months ago (2013-03-08 00:41:32 UTC) #9
Message was sent while issue was closed.
Change committed as 186829

Powered by Google App Engine
This is Rietveld 408576698