-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix pch handling for tagged sources.
Still generate the one precompiled header for the default configuration, but don't use it for sources that have additional tags (.arm or .neon, shouldn't affect non-ARM32). Patch contributed by @DoDoENT. Bug: #14 Change-Id: I1fff1599b3f30e69134aed4972117745bc9c053a
- Loading branch information
Showing
5 changed files
with
37 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
LOCAL_PATH := $(call my-dir) | ||
|
||
include $(CLEAR_VARS) | ||
LOCAL_MODULE := pch | ||
LOCAL_PCH := stdafx.h | ||
LOCAL_SRC_FILES := foo.cpp bar.cpp | ||
LOCAL_CFLAGS := -Werror | ||
include $(BUILD_SHARED_LIBRARY) | ||
|
||
include $(CLEAR_VARS) | ||
LOCAL_MODULE := pch-arm | ||
LOCAL_PCH := stdafx.h | ||
LOCAL_SRC_FILES := foo.cpp bar.cpp.arm | ||
LOCAL_CFLAGS := -Werror | ||
include $(BUILD_SHARED_LIBRARY) | ||
|
||
include $(CLEAR_VARS) | ||
LOCAL_MODULE := pch-neon | ||
LOCAL_PCH := stdafx.h | ||
LOCAL_SRC_FILES := foo.cpp bar.cpp.neon | ||
LOCAL_CFLAGS := -Werror | ||
include $(BUILD_SHARED_LIBRARY) |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|