-
Notifications
You must be signed in to change notification settings - Fork 6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit 'bf26f760b1bb3d5fea6bda110f6a17b590364120' into dev Cherry-pick commit '8c20adffe66ff672111aa5ab4dbbd557df097e30' into dev
- Loading branch information
Showing
299 changed files
with
28,749 additions
and
1,126 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
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
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,29 @@ | ||
# Copyright 2018 The Dart project Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
import("//build/config/android/config.gni") | ||
|
||
config("cpu_features_include") { | ||
include_dirs = [ "$android_ndk_root/sources/android/cpufeatures" ] | ||
} | ||
|
||
config("cpu_features_warnings") { | ||
if (is_clang) { | ||
# cpu-features.c has few unused functions on x86 b/26403333 | ||
cflags = [ "-Wno-unused-function" ] | ||
} | ||
} | ||
|
||
source_set("cpu_features") { | ||
sources = [ | ||
"$android_ndk_root/sources/android/cpufeatures/cpu-features.c", | ||
] | ||
public_configs = [ ":cpu_features_include" ] | ||
configs -= [ "//build/config/compiler:chromium_code" ] | ||
configs += [ | ||
"//build/config/compiler:no_chromium_code", | ||
# Must be after no_chromium_code for warning flags to be ordered correctly. | ||
":cpu_features_warnings", | ||
] | ||
} |
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
Oops, something went wrong.