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

Side by Side Diff: build/filename_rules.gypi

Issue 2101243005: Add a snapshot of flutter/engine/src/build to our sdk (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: add README.dart Created 4 years, 5 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 | « build/extract_from_cab.py ('k') | build/find_isolated_tests.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 # This gypi file defines the patterns used for determining whether a
6 # file is excluded from the build on a given platform. It is
7 # included by common.gypi for chromium_code.
8
9 {
10 'target_conditions': [
11 ['OS!="win" or >(nacl_untrusted_build)==1', {
12 'sources/': [ ['exclude', '_win(_browsertest|_unittest)?\\.(h|cc)$'],
13 ['exclude', '(^|/)win/'],
14 ['exclude', '(^|/)win_[^/]*\\.(h|cc)$'] ],
15 }],
16 ['OS!="mac" or >(nacl_untrusted_build)==1', {
17 'sources/': [ ['exclude', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'],
18 ['exclude', '(^|/)(cocoa|mac)/'] ],
19 }],
20 ['OS!="ios" or >(nacl_untrusted_build)==1', {
21 'sources/': [ ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'],
22 ['exclude', '(^|/)ios/'] ],
23 }],
24 ['(OS!="mac" and OS!="ios") or >(nacl_untrusted_build)==1', {
25 'sources/': [ ['exclude', '\\.mm?$' ] ],
26 }],
27 # Do not exclude the linux files on *BSD since most of them can be
28 # shared at this point.
29 # In case a file is not needed, it is going to be excluded later on.
30 # TODO(evan): the above is not correct; we shouldn't build _linux
31 # files on non-linux.
32 ['OS!="linux" and OS!="openbsd" and OS!="freebsd" or >(nacl_untrusted_build) ==1', {
33 'sources/': [
34 ['exclude', '_linux(_unittest)?\\.(h|cc)$'],
35 ['exclude', '(^|/)linux/'],
36 ],
37 }],
38 ['OS!="android" or _toolset=="host" or >(nacl_untrusted_build)==1', {
39 'sources/': [
40 ['exclude', '_android(_unittest)?\\.(h|cc)$'],
41 ['exclude', '(^|/)android/'],
42 ],
43 }],
44 ['OS=="win" and >(nacl_untrusted_build)==0', {
45 'sources/': [
46 ['exclude', '_posix(_unittest)?\\.(h|cc)$'],
47 ['exclude', '(^|/)posix/'],
48 ],
49 }],
50 ['<(chromeos)!=1 or >(nacl_untrusted_build)==1', {
51 'sources/': [
52 ['exclude', '_chromeos(_unittest)?\\.(h|cc)$'],
53 ['exclude', '(^|/)chromeos/'],
54 ],
55 }],
56 ['>(nacl_untrusted_build)==0', {
57 'sources/': [
58 ['exclude', '_nacl(_unittest)?\\.(h|cc)$'],
59 ],
60 }],
61 ['OS!="linux" and OS!="openbsd" and OS!="freebsd" or >(nacl_untrusted_build) ==1', {
62 'sources/': [
63 ['exclude', '_xdg(_unittest)?\\.(h|cc)$'],
64 ],
65 }],
66 ['<(use_x11)!=1 or >(nacl_untrusted_build)==1', {
67 'sources/': [
68 ['exclude', '_(x|x11)(_interactive_uitest|_unittest)?\\.(h|cc)$'],
69 ['exclude', '(^|/)x11_[^/]*\\.(h|cc)$'],
70 ['exclude', '(^|/)x11/'],
71 ['exclude', '(^|/)x/'],
72 ],
73 }],
74 ['<(toolkit_views)==0 or >(nacl_untrusted_build)==1', {
75 'sources/': [ ['exclude', '_views(_browsertest|_unittest)?\\.(h|cc)$'] ]
76 }],
77 ['<(use_aura)==0 or >(nacl_untrusted_build)==1', {
78 'sources/': [ ['exclude', '_aura(_browsertest|_unittest)?\\.(h|cc)$'],
79 ['exclude', '(^|/)aura/'],
80 ]
81 }],
82 ['<(use_aura)==0 or <(use_x11)==0 or >(nacl_untrusted_build)==1', {
83 'sources/': [ ['exclude', '_aurax11(_browsertest|_unittest)?\\.(h|cc)$'] ]
84 }],
85 ['<(use_aura)==0 or OS!="win" or >(nacl_untrusted_build)==1', {
86 'sources/': [ ['exclude', '_aurawin\\.(h|cc)$'] ]
87 }],
88 ['<(use_aura)==0 or OS!="linux" or >(nacl_untrusted_build)==1', {
89 'sources/': [ ['exclude', '_auralinux\\.(h|cc)$'] ]
90 }],
91 ['<(use_ash)==0 or >(nacl_untrusted_build)==1', {
92 'sources/': [ ['exclude', '_ash(_browsertest|_unittest)?\\.(h|cc)$'],
93 ['exclude', '(^|/)ash/'],
94 ]
95 }],
96 ['<(use_ash)==0 or OS!="win" or >(nacl_untrusted_build)==1', {
97 'sources/': [ ['exclude', '_ashwin\\.(h|cc)$'] ]
98 }],
99 ['<(use_ozone)==0 or >(nacl_untrusted_build)==1', {
100 'sources/': [ ['exclude', '_ozone(_browsertest|_unittest)?\\.(h|cc)$'] ]
101 }],
102 ['<(use_pango)==0', {
103 'sources/': [ ['exclude', '(^|_)pango(_util|_browsertest|_unittest)?\\.(h| cc)$'], ],
104 }],
105 ]
106 }
OLDNEW
« no previous file with comments | « build/extract_from_cab.py ('k') | build/find_isolated_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698