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

Side by Side Diff: tools/gn/secondary/third_party/android_tools/BUILD.gn

Issue 291343002: Enable more targets in the Android GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« BUILD.gn ('K') | « crypto/BUILD.gn ('k') | 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 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 config("cpu_features_include") { 5 config("cpu_features_include") {
6 include_dirs = [ "ndk/sources/android/cpufeatures" ] 6 include_dirs = [ "ndk/sources/android/cpufeatures" ]
7 } 7 }
8 8
9 # This is the GN version of
10 # //build/android/cpufeatures.gypi:cpufeatures
9 source_set("cpu_features") { 11 source_set("cpu_features") {
10 sources = [ "ndk/sources/android/cpufeatures/cpu-features.c" ] 12 sources = [ "ndk/sources/android/cpufeatures/cpu-features.c" ]
11 direct_dependent_configs = [ ":cpu_features_include" ] 13 direct_dependent_configs = [ ":cpu_features_include" ]
12 14
13 configs -= [ "//build/config/compiler:chromium_code" ] 15 configs -= [ "//build/config/compiler:chromium_code" ]
14 configs += [ "//build/config/compiler:no_chromium_code" ] 16 configs += [ "//build/config/compiler:no_chromium_code" ]
15 } 17 }
OLDNEW
« BUILD.gn ('K') | « crypto/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698